Snap & Track Nutrition: Telegram Food Photos β Gemini Vision AI β Google Sheets
πΈπ½οΈ Telegram Food Photo β π€ Gemini Vision AI β π Nutrition Data β π Google Sheets + ποΈ Drive
What this workflow does
πΈ Snap and send a photo of your meal via Telegram π§ Gemini Vision AI analyzes the image and estimates calories, protein, carbs, and fats π€ AI Agent structures the data with meal name, description, and timestamp π Auto-logs nutrition data to Google Sheets for tracking ποΈ Saves original meal photos to Google Drive with timestamped filenames π¬ Sends instant Telegram reply with full nutrition breakdown
Why it's useful
β‘ Track nutrition in secondsβno manual entry or food databases π Build a complete meal history with photos and macros in one place π― AI estimates portion sizes and hidden ingredients (oils, sauces) ποΈ Perfect for fitness tracking, meal prep, or health monitoring π± Works entirely through Telegramβno extra apps needed
How it works
π² Telegram Trigger β receives meal photo ποΈ Google Drive β saves image with timestamp π Gemini Vision β analyzes food, estimates portions and macros π€ AI Agent β structures output (meal name, calories, protein, carbs, fats) π Google Sheets β appends row with all nutrition data π¬ Telegram Reply β confirms with full breakdown
What you'll need
π€ Telegram Bot token π§ Google Gemini API key (includes Vision capabilities) π Google OAuth for Sheets + Drive π Google Sheet with columns: Meal_Name, Date, Meal_description, Calories, Proteins, Carbs, Fats
Setup steps
π Connect credentials: Telegram, Google Gemini, Google Sheets, Google Drive π Create Google Sheet with nutrition columns (see format above) ποΈ Create Google Drive folder for meal photos π§ Update sheet ID and Drive folder ID in workflow π§ͺ Test: send a meal photo via Telegram and check Sheet + Drive
Customization ideas
π Daily summary: add scheduled workflow to calculate daily totals π― Goal tracking: set IF conditions to alert when over/under calorie targets π Charts: connect to Data Studio/Looker for visual progress tracking π Fitness integration: sync with MyFitnessPal or fitness apps
Who it's for
ποΈ Fitness enthusiasts tracking macros without manual logging π₯ Meal preppers analyzing portion sizes and nutrition πͺ Athletes monitoring calorie and protein intake π©Ί Health-conscious individuals building meal history π¨βπ³ Nutritionists collecting client food data
Quick Setup Guide - Before You Start - What You Need:
π Telegram Bot (create via @BotFather) π§ Google Gemini API key with Vision enabled (get it here) π Google account for Sheets and Drive access π Basic spreadsheet to track your meals
Want help customizing? π§ anirpoke@gmail.com π LinkedIn
Related Templates
Convert JSON Objects to Base64 Strings with File Processing
Encode JSON to Base64 String in n8n This example workflow demonstrates how to convert a JSON object into a base64-encod...
Automate Daily YouTrack Task Summaries to Discord by Assignee
Daily YouTrack In-Progress Tasks Summary to Discord by Assignee Keep your team in sync with a daily summary of tasks cu...
Automate Free IP Analysis: NixGuard AI Summaries & Wazuh Integration
Supercharge Your Security Operations for Free Stop wasting time manually investigating suspicious IP addresses. This wo...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments