{"product_id":"telegram-bot-meal-calorie-estimator-with-gemini-n8n-ai-agent","title":"Telegram Bot Meal Calorie Estimator with Gemini \u0026 n8n AI Agent","description":"\u003ch3\u003eEstimate meal calories in Telegram—using Google Gemini image understanding + an n8n AI Agent\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow turns your Telegram bot into a meal calorie estimator. Authorized users can send meal details as text or photos, and the bot responds with an AI-calculated calorie estimate right inside Telegram—powered by Google Gemini and an n8n AI Agent.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram trigger:\u003c\/strong\u003e The workflow starts when your Telegram bot receives a message.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAccess control:\u003c\/strong\u003e It checks the sender’s Telegram chat ID against an allowed chat ID. If it doesn’t match, the bot replies with an unauthorized message.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMessage routing:\u003c\/strong\u003e It routes content by type—handling \u003cstrong\u003etext\u003c\/strong\u003e and \u003cstrong\u003ephotos\u003c\/strong\u003e, while rejecting unsupported types (for example, \u003cstrong\u003evoice messages\u003c\/strong\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePhoto analysis with Gemini:\u003c\/strong\u003e For photos, the workflow downloads the image from Telegram and uses \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e to generate a detailed meal description from the image.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI calorie estimation with an n8n AI Agent:\u003c\/strong\u003e It combines the user’s text (if provided) with the Gemini image description, then sends both to an \u003cstrong\u003en8n AI Agent\u003c\/strong\u003e that can use a calculator tool and conversation memory.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTelegram response:\u003c\/strong\u003e The workflow sends the AI Agent’s calorie estimate back to the user in Telegram.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSaaS operators\u003c\/strong\u003e building a lightweight nutrition assistant inside Telegram for their users.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomation engineers\u003c\/strong\u003e prototyping “image-to-nutrition” experiences using n8n and Gemini.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePersonal diet tracking\u003c\/strong\u003e via a bot that accepts meal photos and returns calorie estimates.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAuthorized internal tools\u003c\/strong\u003e where only specific Telegram chat IDs can access the estimator.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e Telegram (trigger + send\/download actions) and Google Gemini (image analysis + Gemini chat model for the AI Agent).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow logic:\u003c\/strong\u003e \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003eset\u003c\/em\u003e, \u003cem\u003eswitch\u003c\/em\u003e, \u003cem\u003eaggregate\u003c\/em\u003e, and routing with \u003cem\u003esticky note\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup steps:\u003c\/strong\u003e Configure Telegram API credentials in n8n, add Google Gemini credentials, and set the authorized chat ID in the “Edit Fields” step. Optional: add an audio transcription step if you want voice support; otherwise keep the unsupported-message reply.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45726239555763,"sku":"N8N-17464","price":8.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/XSU4EKTG56uFDPtGEYl4Q_gqrRz8h7.png?v=1785057039","url":"https:\/\/buyflowscripts.com\/products\/telegram-bot-meal-calorie-estimator-with-gemini-n8n-ai-agent","provider":"N8N Commerce","version":"1.0","type":"link"}