Analyze Product Ingredient Photos With Telegram & Gemini 2.5 Flash 9112 – n8n Workflows – Free Template

⬇️ Download workflow.json
Archivo detectado: wf-9112.json

What This Workflow Does

This is a Telegram bot powered by Google Gemini AI that analyzes product ingredients from photos and text messages. The bot extracts ingredient information and provides personalized health and safety recommendations based on user context, such as allergies, dietary restrictions, or health conditions.

How It Works

  • User sends a photo or text message to the Telegram bot
  • The workflow receives the message through the Telegram trigger node
  • A conditional check determines if the message contains a photo
  • If a photo is present, Google Gemini AI extracts and analyzes the ingredients
  • The structured output parser formats the ingredient data
  • The agent node processes user context and generates personalized recommendations
  • A switch node routes the response based on analysis results
  • The bot sends health and safety insights back to the user via Telegram

Use Cases

  • Consumers checking food product ingredients for allergens before purchase
  • People managing dietary restrictions or health conditions analyzing nutrition labels
  • Parents screening products for harmful chemicals or additives
  • Individuals with specific allergies quickly identifying unsafe ingredients
  • Health-conscious users getting instant nutritional analysis of cosmetic or supplement products

Nodes Used

  • Telegram Trigger – Receives incoming messages and photos from users
  • Google Gemini – Analyzes and extracts ingredient information from images
  • LM Chat Google Gemini – Processes conversational context for personalized responses
  • Output Parser Structured – Formats extracted ingredient data into organized structure
  • Agent – Generates health recommendations based on user context
  • Switch – Routes workflow based on analysis results
  • If – Conditional logic for photo detection
  • Sticky Note – Documentation and workflow notes
  • Telegram – Sends responses back to users

Prerequisites

  • Active n8n instance or cloud account
  • Telegram bot created via BotFather with API token
  • Google Gemini API key with vision capabilities enabled
  • Telegram account with messaging access
  • Basic understanding of workflow logic and conditional routing

Difficulty Level

Intermediate – This workflow combines multiple AI services, conditional logic, and external API integrations. Users should be familiar with n8n basics and have experience setting up API credentials.

This workflow template is shared under the n8n fair-code license. Free to use and modify.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *