Templates / Estimate meal calories from Telegram text and photos with Google Gemini

Estimate meal calories from Telegram text and photos with Google Gemini

Ready for 3.0

by EximiaAI ✓ · 127 views · created 2026-07-24 · Personal Productivity, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Gemini Chat Model and Google Gemini.

How it runs

Trigger: On Telegram events (message).

  1. Set User ID Field (Edit Fields (Set)): sets 1 field: id
  2. If: checks a condition and branches into true / false
  3. Route by Message Type (Switch): routes items into 4 branches
  4. Respond Unauthorized User (Telegram): uses Telegram
  5. Download Meal Image from Telegram (Telegram): work with file
  6. Aggregate: combines items into one
  7. Notify Unsupported Message (Telegram): uses Telegram
  8. Analyze Image for Calories (Google Gemini): analyze (image)
  9. Calorie Estimation Agent (AI Agent): runs an AI agent, with model: Gemini Chat Model for Queries; 1 tool (Calculate Nutritional Values); memory: Track Conversation History
  10. Respond to User on Telegram (Telegram): uses Telegram

Services it uses

TelegramGoogle Gemini Chat ModelGoogle Gemini

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Quick overview This Telegram bot workflow lets an authorized user send meal details as text or a photo, uses Google Gemini to describe images, then uses an n8n AI Agent to estimate calories and replies in Telegram. How it works 1. Triggers when your Telegram…

Excerpt from EximiaAI's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.