Telegram
Paste an API keyMessage any chat or group when a flow finishes.
What you can do
- Send a Telegram message — text plus the run's document links, via your own bot
What can you do with Telegram and ASHDOCS?
Telegram works for teams that already coordinate in a group chat. The Send a Telegram message step posts through your own bot to a chat or group by its ID, adds the run's document links under your text, and turns link previews off so the message stays compact.
Example flow
- 1Trigger: Daily at a time (the schedule trigger), set to 07:30.
- 2Save a web page as PDF, pointed at a public page your team checks every day, such as a supplier's price list.
- 3Shrink a PDF, so the file stays small.
- 4Send a Telegram message to your team group's chat ID, with the Message “Today's price list”.
- 5Result: Every morning the group gets a fresh PDF copy of that page as a link in the chat.
Get your Telegram credentials
- 1In Telegram message @BotFather, send /newbot and follow the prompts.
- 2Copy the bot token (123456:ABC…).
- 3Add the bot to the target chat/group. Get your chat ID from @userinfobot (groups use a -100… ID).
Add the connection in ASHDOCS
- 1Open the Connections page in the flows console.
- 2Click “Connect with a key” and pick Telegram.
- 3Paste: Bot token. ASHDOCS validates the credentials against Telegram before saving — a bad key is rejected with a plain-English reason, never stored.
Use it in a flow
In the flow builder, add the Telegram step, pick your connection, and fill the fields — values from earlier steps drop in as {{s1.field}} placeholders. Then hit Test this step in the step's panel to run it on its own before switching the flow on.
Troubleshooting
FAQ
Telegram has no read-message API — the step demands Telegram's own stored message_id and reports verified:"response" (strict, no blind green).
Point a bot webhook at your flow's webhook URL — the message payload lands in {{trigger.body.message.*}}.
No. The step turns web page previews off, so document links appear as plain links.
Up to 4,000 characters, document links included; anything longer is cut off.