workflows.fit
Back to n8n workflows
n8n templateFreeBy Ehsan

Analyze food ingredients from Telegram photos using Gemini and Airtable

Analyze food ingredients from Telegram photos using Gemini and Airtable ![telegramdemo.png](fileId:3437) ๐Ÿ›ก๏ธ Personal Ingredient Bodyguard Turn your Telegram bot into an intelligent food safety scanner. This workflow ...

Data & StorageCommunicationHITLDevelopmentCore NodesAILangchainCode
Loading interactive preview...

Template notes

Analyze food ingredients from Telegram photos using Gemini and Airtable ![telegramdemo.png](fileId:3437) ๐Ÿ›ก๏ธ Personal Ingredient Bodyguard

Turn your Telegram bot into an intelligent food safety scanner. This workflow analyzes photos of ingredient labels sent via Telegram, extracts the text using AI, and cross-references it against your personal database of "Good" and "Bad" ingredients in Airtable.

It solves the problem of manually reading tiny, complex labels for allergies or dietary restrictions. Whether you are Vegan, Halal, allergic to nuts, or just avoiding specific additives, this workflow acts as a strict, personalized bodyguard for your diet. It even features a customizable "Persona" (like a Sarcastic Bodyguard) to make safety checks fun.

๐ŸŽฏ Who is it for?

People with specific dietary restrictions (Vegan, Gluten-free, Keto). Individuals with food allergies (Nuts, Dairy, Shellfish). Special dietary observers (Halal, Kosher). Health-conscious shoppers avoiding specific additives (e.g., E120, Aspartame).

๐Ÿš€ How it works

1. Trigger: You send a photo of a product label to your Telegram Bot. 2. Fetch Rules: The workflow retrieves your active "Watchlist" (Ingredients to avoid/prefer) and "Persona" settings from Airtable. 3. Vision & Logic: It uses an AI Vision model to extract text from the image (OCR) and Google Gemini to analyze the text against your strict veto rules (e.g., "Safe" only if ZERO bad items are found). 4. Response: The bot replies instantly on Telegram with a Safe/Unsafe verdict, highlighting detected ingredients using HTML formatting. 5. Log: The result is saved back to Airtable for your records. ![Screenshot 20251123 142943.png](fileId:3434)

โš™๏ธ How to set up