Templates / Track expenses via chat with Claude Haiku and Google Sheets

Track expenses via chat with Claude Haiku and Google Sheets

Ready for 3.0

by Nirav Gajera ✓ · 108 views · created 2026-03-18 · Personal Productivity, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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.

  1. Detect Intent (Code): runs custom JavaScript code
  2. Intent Switch (Switch): routes items into 3 branches
  3. Read All Expenses (Google Sheets): uses Google Sheets
  4. Read for Summary (Google Sheets): uses Google Sheets
  5. Send Help (Code): runs custom JavaScript code
  6. Prepare Data (Code): runs custom JavaScript code
  7. Build Summary (Code): runs custom JavaScript code
  8. AI Parse Expense (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Haiku
  9. Parse & Total (Code): runs custom JavaScript code
  10. 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

Google SheetsAnthropic Chat Model

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)

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…

Excerpt from Nirav Gajera's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.