Templates / Analyze product ingredient photos with Telegram & Gemini 2.5 Flash

Analyze product ingredient photos with Telegram & Gemini 2.5 Flash

Ready for 3.0

by Parth Pansuriya ✓ · 446 views · created 2025-09-30 · Support Chatbot, 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 16 nodes and runs on Telegram events (message). Along the way it connects Google Gemini Chat Model, Telegram and Google Gemini.

How it runs

Trigger: On Telegram events (message).

  1. Checks if message contains photo (If): checks a condition and branches into true / false
  2. Retrieves photo file from Telegram (Telegram): work with file
  3. Handles text messages and greetings (AI Agent): runs an AI agent, with model: Google Gemini Chat Model
  4. Analyzes product images using Google Gemini (Google Gemini): analyze (image)
  5. Sends conversational responses (Telegram): uses Telegram
  6. Routes based on caption presence (Switch): routes items into 2 branches
  7. Analyzes ingredients with user caption (Use/Do Not Use decision) (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  8. Analyzes ingredients without caption (detailed analysis) (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  9. Sends Use/Do Not Use recommendation (Telegram): uses Telegram
  10. Sends detailed ingredient analysis (Telegram): uses Telegram

Services it uses

Google Gemini Chat ModelTelegramGoogle 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 (8)

From the author

Analyze Ingredient Photos using Telegram & Gemini AI Who’s it for - Skincare enthusiasts who want to know if a product is safe. - Food or supplement buyers checking ingredient safety. - Parents reviewing kids’ products. - Anyone wanting quick ingredient…

Excerpt from Parth Pansuriya'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.