Generate recipes from fridge photos using GPT-4 Vision & Telegram
Ready for 3.0Ready 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 12 nodes and runs on Telegram events (message). Along the way it connects OpenRouter Chat Model and Telegram.
How it runs
Trigger: On Telegram events (message).
- Check Input Type (If): checks a condition and branches into true / false
- AI Vision Agent (AI Agent): runs an AI agent, with model: OpenAI Vision Model; output parser: Ingredient Parser
- Get Text Ingredients (Edit Fields (Set)): sets 1 field: ingredients_text
- Format Ingredients (Edit Fields (Set)): sets 1 field: ingredients_text
- Recipe Generator (AI Agent): runs an AI agent, with model: OpenAI Recipe Model; output parser: Recipe Parser
- Format Response (Edit Fields (Set)): sets 1 field: message
- Send a text message (Telegram): uses Telegram
Services it uses
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 (7)
- If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Edit Fields (Set)
n8n-nodes-base.set - Telegram Trigger
n8n-nodes-base.telegramTrigger - Telegram
n8n-nodes-base.telegram
From the author
This n8n template demonstrates a multi-modal AI recipe assistant that suggests delicious recipes based on user input, delivered via Telegram. The workflow can uniquely handle two types of input: a photo of your ingredients or a simple text list. Use cases are…