Nutrition tracker & meal logger with Telegram, Gemini AI and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 39 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects Telegram, Google Gemini, Google Gemini Chat Model and Google Sheets.
How it runs
Trigger: On Telegram events (message) (plus 1 other trigger).
- Registered? (Google Sheets): uses Google Sheets
- Typing… (Telegram): send chat action
- Get Meals Info (Google Sheets): uses Google Sheets
- Get User Info (Google Sheets): uses Google Sheets
- If: checks a condition and branches into true / false
- Get Data (Edit Fields (Set)): sets 4 fields: Calories, Proteins, Carbs…
- Merge: merges the data from its input branches
- Input Message Router (Switch): routes items into 3 branches
- get_message (register) (Edit Fields (Set)): sets 2 fields: message, chat_id
- Unify data (Code): runs custom JavaScript code
…plus 18 more steps. See the full node list below.
Services it uses
Other Google Gemini + Google Sheets templates (819) · Other Telegram + Google Sheets templates (674) · Other Telegram + Google Gemini templates (354)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (15)
- Telegram
n8n-nodes-base.telegram - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Code
n8n-nodes-base.code - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - AI Agent
@n8n/n8n-nodes-langchain.agent - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Telegram Trigger
n8n-nodes-base.telegramTrigger - Merge
n8n-nodes-base.merge
From the author
🤖🥗 Telegram Nutrition AI Assistant (Alternative to Cal AI App) > AI-powered nutrition assistant for Telegram — log meals, set goals, and get personalized daily reports with Google Sheets integration. 📋 Description This n8n template creates a…