Auto expense tracker from LINE messages with GPT-4 and Google Sheets
Ready for 3.0What 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.
- Switch: routes items into 2 branches
- message (Edit Fields (Set)): sets 1 field: body.events[0].message.text
- image (HTTP Request): calls an HTTP API
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- deduplication (Edit Fields (Set)): sets 1 field: for_duplication
- Get row(s) in sheet (Google Sheets): uses Google Sheets
- Merge: merges the data from its input branches
- for_deduplications (Edit Fields (Set)): sets 1 field: for_duplication
- Response Switch (Switch): routes items into 5 branches
- Aggregate: combines items into one
…plus 4 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other LINE + Google Sheets templates (33) · Other LINE + OpenAI templates (14)
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)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Merge
n8n-nodes-base.merge - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Aggregate
n8n-nodes-base.aggregate - Switch
n8n-nodes-base.switch
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…