Telegram lets a bot read updates, look up chat details and send messages, for alerts and simple commands.
What you can ask for#
Notify our Telegram channel when a support request is created.
Show the bot's latest commands in an admin page.
Reply to a user's message with their order status.
Connect Telegram#
Step 1: Find the connector
Open Tools, then Connectors, and search for Telegram. You can also go to Settings, then Connectors, in your dashboard.
Step 2: Select Connect
Select Connect to open the secure form.
Step 3: Enter the details
Fill in Bot token. Hidden fields show as dots; use the eye icon to check what you typed.
Step 4: Save
Select Save connection. Swarmz encrypts the credentials and only decrypts them to call Telegram for you. Everyone in your workspace can then use the connection.
Where to find your credentials#
Open BotFather in Telegram, create a bot and copy its token. It looks like 123456789:ABC.... Add the bot to every chat or channel it must use.
What the AI can and can't do#
- Read a page of recent updates and chat details.
- Send, edit and delete messages, after your approval.
- It can look at a webhook setup but does not create or change Telegram webhooks.
- The bot can only see chats it has been added to.
- Apps you publish can call this connector too, not just the builder.
- Changes ask for your approval by default. You can adjust this under Agent permissions on the connection. See What an integration can access.
Troubleshooting#
The token is rejected.
It must look like numbers, a colon, then letters and numbers. Copy it again from BotFather.
The bot cannot post.
Add the bot to the chat and give it permission to post.
No updates appear.
Check the bot is in the chat and that the messages were sent after it joined. Updates come back a page at a time.
General steps for any connector are in Connect an integration. Keys and secrets are covered in Secrets and API keys. To remove it, see Disconnect an integration.
What Swarmz can do with it
Bot messaging
Send, edit, and delete bot messages after approval.
Webhook connector
Inspect webhook state and poll bounded pending updates.
Chat details
Read metadata for chats the bot can access.
More in Messaging & email
Still stuck?
A person from Swarmz Support can take a look.