Templates / Auto expense tracker from LINE messages with GPT-4 and Google Sheets

Auto expense tracker from LINE messages with GPT-4 and Google Sheets

Ready for 3.0

by Catalina Kuo · 926 views · created 2025-07-22 · Personal Productivity, AI Summarization

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and Google Sheets. It also calls api.line.me over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Switch: routes items into 2 branches
  2. message (Edit Fields (Set)): sets 1 field: body.events[0].message.text
  3. image (HTTP Request): calls an HTTP API
  4. AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  5. deduplication (Edit Fields (Set)): sets 1 field: for_duplication
  6. Get row(s) in sheet (Google Sheets): uses Google Sheets
  7. Merge: merges the data from its input branches
  8. for_deduplications (Edit Fields (Set)): sets 1 field: for_duplication
  9. Response Switch (Switch): routes items into 5 branches
  10. Aggregate: combines items into one

…plus 4 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelGoogle Sheets

HTTP calls to: api.line.me

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 (10)

From the author

Overview Do you often forget to record expenses? 你是不是會常常忘記紀錄花費? Let Spending Tracker Bot help you! 讓 Spending Tracker Bot 來幫你! This AI image/text Spending Tracker LINE Bot Workflow allows you to quickly create a customized spending tracker robot without…

Excerpt from Catalina Kuo'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.