Track receipt expenses via LINE with OpenAI GPT-4o-mini 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, Google Sheets and Google Drive. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Filter: Is Image Message? (If): checks a condition and branches into true / false
- Download LINE Image File (HTTP Request): calls an HTTP API
- AI Agent: runs an AI agent, with model: OpenAI Model: OCR; output parser: Output Parser: Structured Data
- Google Sheets: uses Google Sheets
- Filter: Duplicate Found? (If): checks a condition and branches into true / false
- LINE: Notify Duplicate (HTTP Request): calls api.line.me (POST)
- Prepare Image Data (Edit Fields (Set)): sets 1 field: data
- Google Drive: uses Google Drive
- Google Sheets: append
- Google Sheets: uses Google Sheets
…plus 3 more steps. See the full node list below.
Services it uses
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)
- If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - Code
n8n-nodes-base.code - Webhook
n8n-nodes-base.webhook
From the author
Manage expenses with AI insights through LINE 👥 Who’s it for This workflow is designed for small business owners, freelancers, and finance teams who want to eliminate manual data entry for expense tracking. It is ideal for users who want not just a record of…