Match bank transactions to ledger entries with OpenAI embeddings, Slack, and Postgres
Ready for 3.0What this workflow does
This workflow has 41 nodes and runs when an HTTP POST request hits its webhook URL (plus 4 other triggers). Along the way it connects Postgres.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 4 other triggers).
- Postgres: run a query
- Postgres: run a query
- Postgres: run a query
- Postgres: run a query
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- Respond - Review Page (Respond to Webhook): sends the response back to the webhook caller
- If: checks a condition and branches into true / false
- HTTP - Fetch Left Records (HTTP Request): calls an HTTP API
…plus 25 more steps. See the full node list below.
Services it uses
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 (10)
- Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Postgres
n8n-nodes-base.postgres - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow matches records from two HTTP APIs (for example, bank transactions and ledger entries) using fuzzy scoring and optional OpenAI-compatible embeddings, stores results in PostgreSQL, and sends ambiguous matches to Slack for…