Auto-categorize YNAB transactions with GPT-5-Mini and Discord notifications
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model and Discord.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Variables (Edit Fields (Set)): sets 4 fields: budget_id, account_id, api_key…
- Get Categories (HTTP Request): calls an HTTP API
- Get Transactions (HTTP Request): calls an HTTP API
- Get Category Groups (Split Out): splits a list into separate items
- Break out Transactions (Split Out): splits a list into separate items
- Remove Invalid Category Groups (Filter): keeps only the items that match a condition
- Filter: keeps only the items that match a condition
- Flatten Category Groups to Categories (Split Out): splits a list into separate items
- Group Transactions (Aggregate): combines items into one
- Hide Internal Categories (Filter): keeps only the items that match a condition
…plus 11 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 (13)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Discord
n8n-nodes-base.discord - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
YNAB Super Budget Ever wish that Y.N.A.B was just a little smarter when auto-categorizing your transactions? Now you can supercharge your YNAB budget with ChatGPT! No more manual categorization. Setup 1. Get a YNAB Api Key 2. Get YNAB Budget ID & Account ID…