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

1
Downloads
4248
Views
9.28
Quality Score
intermediate
Complexity
Author:John Alejandro SIlva(View Original โ†’)
Created:9/10/2025
Updated:11/28/2025

๐Ÿ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments