@bilig/n8n-nodes-workpaper
v0.2.0
Published
n8n community node for verified Bilig WorkPaper formula readback.
Maintainers
Readme
@bilig/n8n-nodes-workpaper
This is a Bilig WorkPaper community node for n8n.
It gives an n8n workflow two spreadsheet-shaped operations:
- run the hosted forecast proof for a no-setup smoke test;
- send your own WorkPaper JSON document, apply cell edits, and read formula outputs back;
- return before/after values plus proof that formula output changed and the exported WorkPaper JSON restores to the same result.
Use it when an n8n automation needs formula readback without driving Excel, LibreOffice, Google Sheets, or a browser spreadsheet UI.
Installation
Install the scoped community node package from n8n:
- Open Settings -> Community nodes.
- Choose Install a community node.
- Enter:
@bilig/n8n-nodes-workpaperSelf-hosted n8n instances can also install it from npm:
npm install @bilig/n8n-nodes-workpaperDo not install an unscoped n8n-nodes-workpaper package for Bilig. The scoped
package is the canonical package name.
Operations
Forecast: Verify Formula Readback
Posts to:
POST https://bilig.proompteng.ai/api/workpaper/n8n/forecastDefault parameters:
{
"sheetName": "Inputs",
"address": "B3",
"value": 0.4
}WorkPaper JSON: Evaluate Document
Posts to:
POST https://bilig.proompteng.ai/api/workpaper/n8n/evaluateDefault request shape:
{
"document": {
"format": "bilig.headless.work-paper.document.v1",
"sheets": [
{
"name": "Inputs",
"content": [
["Metric", "Value"],
["Win rate", 0.25]
]
},
{
"name": "Summary",
"content": [
["Metric", "Value"],
["Expected customers", "=Inputs!B2*20"]
]
}
],
"namedExpressions": []
},
"edits": [
{
"cell": "Inputs!B2",
"value": 0.4
}
],
"readCells": "Summary!B2",
"includeUpdatedDocument": true
}The response includes before, after, and restored readback records plus an
updated WorkPaper document when includeUpdatedDocument is enabled.
The response includes:
{
"verified": true,
"editedCell": "Inputs!B3",
"before": {
"expectedArr": 60000
},
"after": {
"expectedArr": 96000,
"targetGap": 5600
},
"checks": {
"formulasPersisted": true,
"restoredMatchesAfter": true,
"computedOutputChanged": true
}
}Credentials
No credentials are required for the public hosted demo endpoint.
Compatibility
Built with the official @n8n/node-cli scaffold. The node is a thin HTTP
integration with no runtime dependencies, matching n8n verification guidance for
community nodes.
Usage
- Add the Bilig WorkPaper node to a workflow.
- Choose
Forecastfor the hosted smoke test orWorkPaper JSONfor a custom document. - Choose
Verify Formula ReadbackorEvaluate Document. - Keep the default hosted base URL or point
Bilig Base URLat your own Bilig app. - For the forecast smoke test, pick an editable input cell:
B2: qualified opportunitiesB3: win rateB4: average ARRB5: expansion multiplier
- For custom documents, set
Document JSON,Edits JSON, andRead Cells. - Use the returned
verifiedandchecksfields as a gate before the workflow continues.
For a no-install workflow, see:
examples/n8n-workpaper-formula-readback/bilig-workpaper-formula-readback.n8n.jsonResources
- Bilig GitHub repository
- Bilig n8n workflow example
- Bilig n8n formula readback docs
- n8n community nodes documentation
Version history
0.2.0: add a generic WorkPaper JSON evaluation operation for user-owned documents.0.1.2: align the node codex category with n8n's supportedDevelopmentcategory.0.1.1: publish through the shared trusted-publishing workflow.0.1.0: initial forecast formula-readback action.
