Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. Message arrives
  2. Your settings
  3. Read the FAQ
  4. Combine the FAQ
  5. Answer from the FAQ
  6. Gemini 2.5 Flash
  7. Chat memory
  8. Reply to the customer
  9. Needs a person?
  10. Gemini 2.5 Flash (routing)
  11. Log the answer
  12. Alert the owner
  13. Log the handoff

Similar automations