Workflow templateAnswer Telegram support messages and log them
Answers Telegram support messages with an AI-written reply from your business notes and logs each one in a spreadsheet. After publishing, you pick a secret token in Whenever and pass it with the webhook address to Telegram's setWebhook; one bot serves one workflow.
Workflow illustration
01Trigger
TriggerA support message a customer sends to my Telegram bot.
02Go
Google SheetsStop if the message has no text, or if this chat id and message id are already a row on the first tab of the Google Sheets spreadsheet id you choose in setup (Chat Id, Message Id, Question, Reply, Time in UTC).
03Gr
GroqCloudWrite a reply with a GroqCloud model, using only the business notes you choose in setup.
04Te
TelegramSend the reply to the customer in Telegram.
05
Custom stepAppend a row with all five to that tab.
06
OutputFinish
How it runs
This is the brief Whenever builds from. Change any of it in plain words before you publish.
When
A support message a customer sends to my Telegram bot.
Then
- Stop if the message has no text, or if this chat id and message id are already a row on the first tab of the Google Sheets spreadsheet id you choose in setup (Chat Id, Message Id, Question, Reply, Time in UTC).
- Write a reply with a GroqCloud model, using only the business notes you choose in setup.
- Send the reply to the customer in Telegram.
- Append a row with all five to that tab.