Track meal nutrition from meal photos with LINE, Google Gemini and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Gemini Chat Model, Google Drive and Google Sheets. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Config (Edit Fields (Set)): sets 4 fields: LINE_CHANNEL_ACCESS_TOKEN, GOOGLE_SHEETS_ID, GOOGLE_DRIVE_FOLDER_ID…
- Check If Image (Switch): routes items into 1 branches
- Download Image from LINE (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Analyze Meal with AI (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
- Upload to Google Drive (Google Drive): uses Google Drive
- Check Analysis Result (If): checks a condition and branches into true / false
- Save to Google Sheets (Google Sheets): append
- Parse Nutrition Data (Code): runs custom JavaScript code
- Notify Not Food Image (HTTP Request): calls api.line.me (POST)
…plus 1 more step. See the full node list below.
Services it uses
Other Google Gemini + Google Sheets templates (819) · Other Google Drive + Google Sheets templates (720) · Other Google Gemini + Google Drive templates (272)
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 (11)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - Google Drive
n8n-nodes-base.googleDrive - Google Sheets
n8n-nodes-base.googleSheets
From the author
AI Meal Nutrition Tracker with LINE and Google Sheets Who's it for This workflow is designed for health-conscious individuals, fitness enthusiasts, and anyone who wants to track their daily food intake without manual calorie counting. It is best suited for…