Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Answer Telegram customer FAQs with Gemini and log chats to Google Sheets
Runs on each Telegram message, answers from a Google Sheets FAQ with Gemini, alerts the owner on Telegram when a person is needed, and logs every exchange to a sheet.
What it does
## Answer customer questions on Telegram from your FAQ sheet A Gemini assistant answers your customers on Telegram from a FAQ you keep in Google Sheets. When a message needs a person (a booking, a complaint, a quote, or something the FAQ does not cover), a second Gemini call spots it and alerts you on Telegram. Every message is logged to a sheet. ### How it works 1. A customer writes to your Telegram bot. 2. Read the FAQ loads your questions and answers, and Your settings adds your hours, services and address. 3. Answer from the FAQ replies in the customer's language and remembers the last 10 messages. It does not make up answers. 4. Needs a person? reads the question and the reply and decides if you should step in. 5. Every exchange goes to your Log tab. When you are needed, you also get a Telegram alert. ### How to set up - [ ] Create a bot with @BotFather and connect it to the three Telegram nodes. - [ ] Add a free Gemini API key from Google AI Studio to both Gemini nodes. - [ ] Make a FAQ tab (columns Question, Answer) and a Log tab (Time, Customer, Message, Reply, Needs a person). - [ ] Fill in Your settings, including your own Telegram chat ID and the sheet IDs. - [ ] Activate the workflow and send your bot a question. ### How to customize Edit the categories in Needs a person? to choose what reaches you. New FAQ rows are used from the next message, no workflow edits needed.
The steps
- Message arrives
- Your settings
- Read the FAQ
- Combine the FAQ
- Answer from the FAQ
- Gemini 2.5 Flash
- Chat memory
- Reply to the customer
- Needs a person?
- Gemini 2.5 Flash (routing)
- Log the answer
- Alert the owner
- Log the handoff
Similar automations
Chatbots & Messaging BotsHandle WhatsApp customer chats with an OpenAI agent and Data Tables34 stepsChatbots & Messaging BotsAnswer customer chats and escalate complaints with Llama 3.2, Google Sheets, and Slack30 stepsChatbots & Messaging BotsUniversity Calendar and FAQ Bot on Telegram with Gemini53 stepsCustomer Support & HelpdeskAnswer WhatsApp FAQs with keyword matching and an OpenAI fallback13 steps