Extract and approve invoices with Mindee and email-based human review
Ready for 3.0What this workflow does
This workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api-v2.mindee.net over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Check Invoice File Validity (Code): runs custom JavaScript code
- Post to Mindee Enqueue API (HTTP Request): calls api-v2.mindee.net (POST)
- Prepare Mindee Polling Params (Code): runs custom JavaScript code
- Stop Due to HTTP Request Error (Stop and Error): stops the run with an error
- Wait: waits 3 seconds
- Update Mindee Poll Attempt (Code): runs custom JavaScript code
- Fetch Mindee Job Status (HTTP Request): calls an HTTP API
- Process Mindee Job Status (Code): runs custom JavaScript code
- Route by Mindee Job Status (Switch): routes items into 3 branches
- Fetch Mindee Extraction Result (HTTP Request): calls an HTTP API
…plus 10 more steps. See the full node list below.
HTTP calls to: api-v2.mindee.net
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Switch
n8n-nodes-base.switch - Send Email
n8n-nodes-base.emailSend - Stop and Error
n8n-nodes-base.stopAndError
From the author
Quick overview This workflow receives invoice files via a webhook, extracts key fields using Mindee V2 asynchronous extraction, and emails a reviewer for approve/reject human approval, then sends an outcome notification by email. How it works 1. Receives an…