Stress-test personal finances for life events with Plaid-style data and Claude
Needs changesWhat this workflow does
This AI workflow has 12 nodes and runs when someone submits an n8n form. Along the way it connects Anthropic Chat Model. It also calls production.plaid.com over HTTP.
How it runs
Trigger: When someone submits an n8n form.
- Fetch Linked Account Balances & Transactions (HTTP Request): calls production.plaid.com (POST)
- Fetch Historical Market Return Statistics (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- JS - Build Financial Baseline & Simulation Inputs (Code): runs custom JavaScript code
- JS - Run Monte Carlo Simulation (Code): runs custom JavaScript code
- Wait: pauses before continuing
- AI - Generate Risk Narrative & Recommendations (AI Agent): runs an AI agent, with model: Anthropic - Narrative Model
- JS - Parse AI Output & Format Digital Twin Report (Code): runs custom JavaScript code
- Wait: pauses before continuing
- Send Digital Twin Report Email (Send Email): sends an email over SMTP
Services it uses
HTTP calls to: production.plaid.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI - Generate Risk Narrative & Recommendations (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI - Generate Risk Narrative & Recommendations (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Send Email
n8n-nodes-base.emailSend - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow collects a user-selected financial life event through an n8n Form, retrieves account and market data, runs a Monte Carlo stress test, and uses Anthropic Claude to generate and email a personalized financial report. How it works 1.…