Manage recipes with AI-powered Telegram bot and Google Sheets database
Needs changesWhat this workflow does
This AI workflow has 21 nodes and runs on Telegram events. Along the way it connects Telegram, Google Sheets, Google Gemini Chat Model and OpenAI Chat Model.
How it runs
Trigger: On Telegram events.
- Command Router (Switch): routes items into branches
- Telegram: uses Telegram
- Read Recipe Names (Google Sheets): uses Google Sheets
- Extract Select Param (Function): runs custom JavaScript (legacy Function node)
- Prepare Recipe Modification (Function): runs custom JavaScript (legacy Function node)
- Prepare Recipe Creation (Function): runs custom JavaScript (legacy Function node)
- Extract Search Term (Function): runs custom JavaScript (legacy Function node)
- Format List Message (Function): runs custom JavaScript (legacy Function node)
- Lookup Recipe Row (Google Sheets): uses Google Sheets
- Recipe AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 3 tools (Think, Read Recipes Sheet, Update Recipes Sheet); memory: Conversation Memory
…plus 5 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Gemini + Google Sheets templates (819) · Other Telegram + OpenAI templates (807)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Format List Message, Extract Select Param, Format Full Recipe…: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Format List Message, Extract Select Param, Format Full Recipe, Extract Search Term, Prepare Recipe Creation, Prepare Recipe Modification | Code node, mode 'Run Once for All Items' |
Nodes used (11)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Google Sheets
n8n-nodes-base.googleSheets - Function
n8n-nodes-base.function - Telegram
n8n-nodes-base.telegram - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Transform Your Telegram into a Smart Recipe Assistant! Tired of scrolling through messy notes and bookmarks to find your favorite recipes? Wish you had a personal chef's assistant to help you in the kitchen? Introducing the Culinary Companion for Telegram, an…