Detect multi-source transaction fraud and reconcile finances with OpenAI, Nvidia NIM, Gmail, Slack and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs on a schedule (every 15 minutes) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Postgres, Slack and Gmail.
How it runs
Trigger: On a schedule (every 15 minutes) (plus 1 other trigger).
- Workflow Configuration (Edit Fields (Set)): sets 7 fields: bankApiUrl, paymentGatewayApiUrl, erpApiUrl…
- Merge: merges the data from its input branches
- Fetch Bank API Transactions (HTTP Request): calls an HTTP API
- Fetch Payment Gateway Transactions (HTTP Request): calls an HTTP API
- Normalize Transaction Data (Edit Fields (Set)): sets 8 fields: transactionId, amount, currency…
- Filter: keeps only the items that match a condition
- Check Idempotency (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Route by Risk Level (Switch): routes items into 3 branches
- Flag for Manual Review (Edit Fields (Set)): sets 3 fields: requiresManualReview, reviewReason, flaggedAt
…plus 8 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.
Nodes used (15)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Switch
n8n-nodes-base.switch - Postgres
n8n-nodes-base.postgres - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Aggregate
n8n-nodes-base.aggregate
From the author
How It Works This workflow automates financial transaction surveillance by monitoring multiple payment systems, analyzing transaction patterns with AI, and triggering instant fraud alerts. Designed for finance teams, compliance officers, and fintech…