Upload an invoice PDF and check its processing status with bimetrics
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set upload inputs (Edit Fields (Set)): sets 3 fields: filePath, fileName, sourceDocumentId
- Validate upload inputs (Code): runs custom JavaScript code
- Read invoice PDF (Read/Write Files from Disk): reads a file from disk
- Check single file (Code): runs custom JavaScript code
- Upload invoice PDF (HTTP Request): calls an HTTP API (POST)
- Read upload response (Code): runs custom JavaScript code
- Read processing status (HTTP Request): calls an HTTP API (GET)
- Interpret processing status (Code): runs custom JavaScript code
- Poll again? (If): checks a condition and branches into true / false
- Wait: pauses before continuing
…plus 1 more step. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait
From the author
Quick overview Upload one existing invoice PDF from self-hosted n8n to bimetrics, then check its processing status. The workflow returns the document ID, outcome and next step so your team can review the invoice in bimetrics. How it works 1. Starts when you…