Back to all workflows
    n8n25 nodes

    Nutritionist AI Agent — Powered by Claude

    TelegramClaude AIGPT-4o VisionGoogle SheetsCloudinaryVoice Transcribe

    The Problem

    Tracking calories and macros manually is the #1 reason people quit fitness goals — opening apps, searching food databases, weighing portions, logging every meal. Most users give up within 2 weeks because the friction is higher than the motivation.

    The Solution

    A 25-node n8n Telegram bot powered by Claude AI that accepts text, voice, OR food photos. Snap a meal pic → GPT-4o Vision estimates calories + macros → Claude coaches you based on your goal → everything logged to Google Sheets automatically. Ask 'pwede ba akong uminom ng beer?' and Claude answers based on your last 7 days of meal history.

    How It Works

    1. 1💬 Telegram Trigger — listens for every message (text, voice, or photo)
    2. 2🔀 Switch — routes input by type: Text / Voice Message / Image (3 branches)
    3. 3🎤 Get a file1 + Transcribe Audio (OpenAI Whisper) — converts voice → text (voice path)
    4. 4✏️ Edit Fields — normalizes text/voice into a single query field
    5. 5📊 Meal History (Google Sheets) — reads user's past meals for context
    6. 6📋 Aggregate — combines meal history into a single context payload
    7. 7🎯 Goal1 (Google Sheets) — fetches user's calorie goal + targets
    8. 8🔗 Merge3 — combines meal history + goal data for the AI agent
    9. 9🧠 Nutrient AI Agent (Claude Haiku 4.5 + Simple Memory) — answers 'can I eat/drink X?' based on remaining calorie budget
    10. 10✉️ Send a text message1 — replies to user on Telegram with the answer
    11. 11📸 Get a file (Image branch) — downloads the Telegram photo as binary
    12. 12☁️ Upload Image1 (Google Drive) — archives the photo + Image Url2 captures the share link
    13. 13🌐 Get Image URL (Cloudinary API) — uploads to Cloudinary for AI-accessible URL
    14. 14👁️ Get Food Data with AI (GPT-4o Vision) — analyzes the photo, estimates calories + macros per item with structured JSON output
    15. 15🔧 Calories2 — parses the AI's JSON response into a clean object
    16. 16🔗 Merge2 — combines image URL + parsed nutrition data
    17. 17📊 Save Food Data (Google Sheets) — logs the meal: date, time, food, calories, P/C/F, photo link
    18. 18🎯 Goal (Google Sheets) — fetches user goal for personalized coaching
    19. 19💪 Motivation Coach AI Agent (Claude Haiku 4.5) — sends formatted nutrition summary + 2-sentence coach feedback based on goal alignment
    20. 20✉️ Send a text message — replies on Telegram with the coach response

    Results

    • Zero-friction calorie tracking — just snap, send, done (no app switching)
    • Voice, text, OR photo input — works however the user prefers
    • Claude AI gives goal-aware feedback (cutting / bulking / maintaining)
    • GPT-4o Vision estimates macros per visible item — no manual lookups
    • Full meal history persisted in Google Sheets — query 'can I eat X?' anytime
    • Conversational memory per user — Claude remembers context across messages

    Want something like this for your business?

    I build custom AI-powered automations tailored to your workflows. Book a free 30-min call to discuss your use case.

    Book a Free Call