What This Workflow Does
This automation solves the tedious process of manually logging nutritional information from meals. Traditional food tracking requires estimating portions, searching databases, and manually entering data - a process that often leads to abandoned tracking efforts.
The workflow leverages AI-powered image recognition to automatically identify foods, estimate portion sizes, and calculate nutritional values from simple smartphone photos. By connecting Telegram, Gemini Vision AI, and Google Sheets, it creates a seamless pipeline from meal photo to nutrition log with minimal user effort.
How It Works
1. Photo Capture via Telegram
Users simply snap a photo of their meal and send it to a designated Telegram bot. The bot acts as the entry point, capturing the image and triggering the automation workflow.
2. AI-Powered Food Analysis
The image is processed by Gemini Vision AI, which identifies food items, estimates quantities, and extracts nutritional data including calories, macros, and micronutrients.
3. Data Logging to Google Sheets
The analyzed nutritional information is automatically recorded in a Google Sheet with timestamp, food items, and detailed nutrition breakdown. The original image is saved to Google Drive for reference.
Pro tip: For best results, take photos in good lighting with minimal background clutter to improve AI recognition accuracy.
Who This Is For
This workflow is ideal for health-conscious individuals, nutritionists, fitness coaches, and meal prep services who need to track dietary intake without cumbersome manual logging. It's particularly valuable for:
- People tracking macros for fitness goals
- Individuals managing medical conditions through diet
- Nutrition professionals monitoring client food journals
- Meal delivery services analyzing customer eating patterns
What You'll Need
- A Telegram account and bot token
- Google Gemini Vision API access
- Google Sheets with pre-formatted nutrition columns
- Google Drive for image storage
- n8n instance to host the workflow
Quick Setup Guide
- Download the template JSON file
- Import into your n8n instance
- Configure Telegram bot credentials
- Set up Gemini Vision API connection
- Connect to your Google Sheets and Drive
- Test with sample food photos
Key Benefits
90% faster logging: Eliminates manual data entry, reducing meal tracking from minutes to seconds.
Improved accuracy: AI analysis provides more consistent portion estimation than human guessing.
Seamless integration: Combines mobile convenience with spreadsheet organization.
Historical tracking: Builds a searchable database of meals and nutrition over time.
Customizable outputs: Easily adapt the Google Sheet format for specific dietary needs.