FM
FlowMarket
AI Agents Intermediate ⚡ 10 n8n Nodes

Simple expense tracker with n8n chat AI agent and Google Sheets

Use Case It is very convenient to add expenses via simple chat message. This workflow attempts to do exactly this using AI-powered n8n magic! !20250129 at 17...

🔌 Nodes & Integrations Used (8)

Agent Chat Trigger Execute Workflow Trigger Lm Chat Open Ai Memory Buffer Window Information Extractor Google Sheets Tool Workflow

📖 Implementation & Setup Guide

Use Case It is very convenient to add expenses via simple chat message. This workflow attempts to do exactly this using AI-powered n8n magic!

![20250129 at 17.37.png](fileId:921) Send message to a chat, something like **"car wash; 59.3 usd; 25 jan 2024"**

And get a response: **Your expense saved, here is the output of save sub-workflow:{"cost":59.3,"descr":"car wash","date":"2024-01-25","msg":"car wash; 59.3 usd; 25 jan 2024"}**

LLM will smartly parse your message to structured JSON and save the expense as a new row into Google Sheet!

Installation ### 1. Set up Google Sheets: Clone this Sheet: https://docs.google.com/spreadsheets/d/1D0r3tun7LF7Ypb21CmbTKEtn76WE-kaHvBCM5NdgiPU/edit?gid=0#gid=0

(File -> Make a copy)

Choose this sheet into "Save expense into Google Sheets" node.

2. Fix sub-workflow dropdown: open "Parse msg and save to Sheets" node (which is an n8n sub-workflow executor tool) and make sure the SAME workflow is chosen in the dropdown. it will allow n8n to locate and call "Workflow Input Trigger" properly when needed.

3. Activate the workflow to make chat work properly. Sent message to chat, something like "car wash; 59.3 usd; 25 jan 2024"

you should get a response: Your expense saved, here is the output of save sub-workflow:{"cost":59.3,"descr":"car wash","date":"2024-01-25","msg":"car wash; 59.3 usd; 25 jan 2024"}

and new row in Google sheets should be inserted!

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Simple_expense_tracker_with_n8n_chat_AI_agent_and_Google_Sheets.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →