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 1. Create two Google Sheets tables: * **Profile**: `User_ID, Name, Calories_target, Protein_target` * **Meals**: `User_ID, Date, Meal_description, Calories, Proteins, Carbs, Fats` 2. Configure the Telegram Trigger with your bot token. 3. Connect your AI provider credentials (Gemini recommended). 4. Connect Google Sheets with your credentials. 5. Deploy the workflow in n8n. 6. 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](mailto:johnsilva11031@gmail.com) LinkedIn: [John Alejandro Silva Rodríguez](https://www.linkedin.com/in/john-alejandro-silva-rodriguez-48093526b/)
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
YouTube Creator Pipeline
8 hand-picked workflows for $39.00.
That is $4.88 each, vs $24.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Health & Fitness workflows
- Automated Telegram Command Filtering and Workflow Management$15.04
- Automate Food Calorie Tracking via Telegram with GPT-4 Vision and Google Sheets$4.99
- Automate Personalized Diet Plan Creation from Health Reports via Email$4.99
- Reinforced Learning Chatbot for Enhanced User Support$24.99
- AI-Powered Triathlon Coaching with Strava Data Analysis$9.99
- Automate Nutritional Analysis of Food Photos via iMessage$14.99
More from John Alejandro SIlva
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.