Extract and review invoice data with Temlavo in a sub-workflow
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 27 nodes and runs when another workflow calls it. It uses only n8n's built-in nodes.
How it runs
Trigger: When another workflow calls it.
- Validate invoice input (Code): runs custom JavaScript code
- Create Document (HTTP Request): calls an HTTP API (POST)
- Normalize Create Response (Code): runs custom JavaScript code
- Route Create (Switch): routes items into branches
- Snapshot signed PUT context (Code): runs custom JavaScript code
- Snapshot confirmation context (Code): runs custom JavaScript code
- Wait: pauses before continuing
- Prepare Terminal Branch (Code): runs custom JavaScript code
- Wait: pauses before continuing
- Temlavo Safe Stop (Code): runs custom JavaScript code
…plus 16 more steps. 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 (5)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Wait
n8n-nodes-base.wait
From the author
Quick overview This sub-workflow receives a single invoice file from another n8n workflow, uploads it to Temlavo for extraction, then polls Temlavo until the document reaches a terminal state and returns a structured result (completed, needsreview, failed) or…