Track expenses via chat with Claude Haiku and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when a chat message arrives. Along the way it connects Google Sheets and Anthropic Chat Model.
How it runs
Trigger: When a chat message arrives.
- Detect Intent (Code): runs custom JavaScript code
- Intent Switch (Switch): routes items into 3 branches
- Read All Expenses (Google Sheets): uses Google Sheets
- Read for Summary (Google Sheets): uses Google Sheets
- Send Help (Code): runs custom JavaScript code
- Prepare Data (Code): runs custom JavaScript code
- Build Summary (Code): runs custom JavaScript code
- AI Parse Expense (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Haiku
- Parse & Total (Code): runs custom JavaScript code
- Is Valid Expense? (If): checks a condition and branches into true / false
…plus 3 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 (7)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Google Sheets
n8n-nodes-base.googleSheets - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - If
n8n-nodes-base.if
From the author
💰 AI Expense Tracker — Chat to Track Spending Instantly Track your expenses by chatting naturally. No forms, no apps — just type and it's saved. --- 📖 Description This workflow turns a simple chat interface into a powerful personal expense tracker. Just…