# Handle Telegram booking and support chats with Gemini, Calendar and Sheets

> 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 appointment is booked or human support is needed. How it works 1. Triggers when a new Telegram message is received. 2. Extracts the Telegram chat ID, message text, and sender name and passes them to a Google Gemini-powered AI agent with short-term conversation memory. 3. Depending on intent, the AI agent queries Google Calendar for availability and creates a Google Calendar event when the user confirms a time, or searches a Google Sheets FAQ/pricing document to draft a concise answer. 4. Sends the AI-generated reply back to the customer on Telegram, removing internal tags from the visible message. 5. If the reply indicates an appointment was created, sends a Telegram notification to the business owner with the customer details. 6. If the 

- **Domain**: `n8n-workflow-20492.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20492
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20492.n8n.io
- Documentation: https://n8n.io/workflows/20492
