Nutrition Tracker & Meal Logger with Telegram, Gemini AI and Google Sheets
๐ค๐ฅ 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 Telegram-based Nutrition AI Assistant ๐ฅ๐ฅ designed as an open-source alternative to the Cal AI mobile app. It allows users to interact with an AI agent via text, voice, or images to track meals, calculate macros, and monitor nutrition goals directly from Telegram.
The system integrates Google Sheets as the database, handling both user profiles and meal logs, while leveraging Gemini AI for natural conversation, food recognition, and daily progress reports.
โจ Key Features
๐ฌ Multi-input support: Text, voice messages (transcribed), and food images (AI analysis). ๐ Macro calculation: Automatic estimation of calories, proteins, carbs, and fats. ๐ User-friendly registration: Simple onboarding without storing personal health data (no weight/height required). ๐ฏ Goal tracking: Users can set and update calorie and protein targets. ๐ Daily reports: Personalized progress messages with visual progress bars. ๐ Google Sheets integration:
Profile table for user targets. Meals table for food logs. ๐ Advanced n8n nodes: Includes use of Merge, Subworkflow, and Code nodes for data processing and report generation.
๐ก Acknowledgment
Inspired by the Cal AI concept ๐ก โ this template demonstrates how to reproduce its main functionality with n8n, Telegram, and AI agents as a flexible, open-source automation workflow.
๐ท Tags
telegram ai-assistant nutrition meal-tracking google-sheets food-logging voice-transcription image-analysis daily-reports n8n-template merge-node subworkflow-node code-node telegram-trigger google-gemini
๐ผ Use Case
Use this template if you want to:
๐ฅ Log meals using text, images, or voice messages. ๐ Track nutrition goals (calories, proteins) with daily progress updates. ๐ค Provide a chat-based nutrition assistant without building a full app. ๐ Store structured nutrition data in Google Sheets for easy access and analysis.
๐ฌ Example User Interactions
๐ธ User sends a photo of a meal โ AI analyzes the food and logs calories/macros. ๐ค User sends a voice message โ AI transcribes and logs the meal. โจ๏ธ User types โreportโ โ AI returns a daily nutrition summary with progress bars. ๐ฅ User says โupdate my protein goalโ โ AI updates profile in Google Sheets.
๐ Required Credentials
Telegram Bot API (Bot Token) Google Sheets API credentials AI Provider API (Google Gemini or compatible LLM)
โ๏ธ Setup Instructions
๐ Create two Google Sheets tables:
Profile: User_ID, Name, Calories_target, Protein_target Meals: User_ID, Date, Meal_description, Calories, Proteins, Carbs, Fats ๐ Configure the Telegram Trigger with your bot token. ๐ค Connect your AI provider credentials (Gemini recommended). ๐ Connect Google Sheets with your credentials. โถ๏ธ Deploy the workflow in n8n. ๐ฏ Start interacting with your nutrition assistant via Telegram.
๐ Extra Notes
๐ฉ Green section: Handles Telegram trigger and user check. ๐ฅ Red section: Registers new users and sets goals. ๐ฆ Blue section: Processes text, voice, and images. ๐จ Yellow section: Generates nutrition reports. ๐ช Purple section: Main AI agent controlling tools and logic.
๐ก Need Assistance?
If youโd like help customizing or extending this workflow, feel free to reach out:
๐ง Email: johnsilva11031@gmail.com
๐ LinkedIn: John Alejandro Silva Rodrรญguez
Related Templates
Instagram Full Profile Scraper with Apify and Google Sheets
๐ธ Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
Compare Lists and Identify Common Items & Differences Using Custom Keys
This workflow compares two lists of objects (List A and List B) using a user-specified key (e.g. email, id, domain) and ...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments