Telegram Credential - Bot Configuration
What is a Telegram Credential
Section titled “What is a Telegram Credential”A Telegram credential allows your workflows to send messages, notifications, and files through a Telegram bot. You need to create a bot and obtain its token to connect it with Floogos.
Configuration Fields
Section titled “Configuration Fields”| Field | Description | Example |
|---|---|---|
| Bot Token | Unique bot token generated by @BotFather | 123456789:ABCdefGhIJKlmNOpQRSTuvWXyz |
| Chat ID | ID of the chat, group, or channel to send messages to | 987654321 |
Step 1: Create a Bot with @BotFather
Section titled “Step 1: Create a Bot with @BotFather”- Open Telegram and search for @BotFather
- Send the command
/newbot - Enter a name for your bot (e.g., “Floogos Notifications”)
- Enter a username for the bot (must end in
bot, e.g.,floogos_alerts_bot) - BotFather will give you a token in the format:
123456789:ABCdefGhIJKlmNOpQRSTuvWXyz - Copy this token into the Bot Token field in Floogos
Step 2: Get the Chat ID
Section titled “Step 2: Get the Chat ID”For personal messages
Section titled “For personal messages”- Search for @userinfobot on Telegram
- Send any message
- It will reply with your Chat ID (a number)
For groups
Section titled “For groups”- Add your bot to the group
- Send a message in the group
- Visit:
https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates - Look for the
"chat":{"id": -123456789}field — that’s the group Chat ID (groups have negative IDs)
For channels
Section titled “For channels”- Add your bot as a channel administrator
- The channel Chat ID is
@channel_nameor you can get the numeric ID using the getUpdates method
Usage Example
Section titled “Usage Example”Once the credential is configured, you can use the Telegram node in your workflows to:
- Send alerts when a workflow fails
- Notify when a new order is received
- Send periodic reports
- Share files generated by the workflow
Troubleshooting
Section titled “Troubleshooting”Bot doesn’t send messages
Section titled “Bot doesn’t send messages”- Verify the token is correct
- Make sure the bot was added to the chat/group
- In groups, the bot needs permission to send messages
Incorrect Chat ID
Section titled “Incorrect Chat ID”- Group IDs are negative (e.g.,
-123456789) - User IDs are positive
- Use @userinfobot to verify your personal ID