Automated invoice payment tracking with OCR, Claude AI, Slack & Notion DB
Ready for 3.0What this workflow does
This AI workflow has 85 nodes and runs on Slack events (plus 1 other trigger). Along the way it connects Anthropic Chat Model, Slack and Notion. It also calls api.ocr.space and api.notion.com over HTTP.
How it runs
Trigger: On Slack events (plus 1 other trigger).
- Format Check (Code): runs custom JavaScript code
- Create a database page (Notion): work with database page
- Check Format (Switch): routes items into 2 branches
- Take Binary Files (HTTP Request): calls an HTTP API
- Take Binary Files for Document (HTTP Request): calls an HTTP API
- OCR Space Parse (HTTP Request): calls api.ocr.space (POST)
- OCR Space Parse (HTTP Request): calls api.ocr.space (POST)
- Check parsing Error (If): checks a condition and branches into true / false
- Check parsing Error (If): checks a condition and branches into true / false
- Stop and Error: stops the run with an error
…plus 72 more steps. See the full node list below.
Services it uses
HTTP calls to: api.ocr.space, api.notion.com
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.
- Still check Slack Trigger requires a signing secret on the Slack API credential (Slack Trigger).
Nodes used (13)
- Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Slack Trigger
n8n-nodes-base.slackTrigger - Notion
n8n-nodes-base.notion - Wait
n8n-nodes-base.wait - Slack
n8n-nodes-base.slack - Stop and Error
n8n-nodes-base.stopAndError - Aggregate
n8n-nodes-base.aggregate - Error Trigger
n8n-nodes-base.errorTrigger
From the author
How it Works This workflow automates Invoice & Payment Tracking (with Approvals) across Notion and Slack. - Ingest — You drop invoices/receipts (PDF/IMG/JSON) into the flow. - Extract — OCR + parsing pulls out key fields (invoice no, vendor, currency, totals,…