Handle Telegram booking and support chats with Gemini, Calendar and Sheets
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 13 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Gemini Chat Model, Google Calendar and Google Sheets.
How it runs
Trigger: On Telegram events (message).
- Prepare Message Data (Edit Fields (Set)): sets 3 fields: chat_id, user_message, user_name
- Message Handling Agent (AI Agent): runs an AI agent, with model: Gemini Conversation Model; 3 tools (Lookup FAQs and Pricing, Check Calendar Availability, Create Calendar Appointment); memory: Conversation Memory Buffer
- Send Response to Customer (Telegram): uses Telegram
- If: checks a condition and branches into true / false
- If: checks a condition and branches into true / false
- Notify Business of Appointment (Telegram): uses Telegram
- Send Support Alert to Admin (Telegram): uses Telegram
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Message Handling Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Message Handling Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Calendar Tool
n8n-nodes-base.googleCalendarTool - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram
From the author
Quick overview This workflow uses a Telegram bot, Google Gemini, Google Calendar, and Google Sheets to automatically reply to customers, answer FAQ/price questions, and create appointments in Google Calendar, while notifying the business owner when an…