Skip to main content

📱 Telegram Connection

Connect Telegram bots to automate messaging, channel posting, and group management.

Required Credentials​

  • Bot Token (obtained from @BotFather)

Setup Steps​

  1. Open Telegram and search for @BotFather
  2. Start a chat with @BotFather
  3. Send the command /newbot
  4. Follow the prompts to create your bot:
    • Choose a name for your bot
    • Choose a username (must end with 'bot')
  5. Copy the bot token provided by BotFather
  6. Add the token to your Workflow Builder connections

Bot Permissions​

After creating the bot, you can set additional permissions:

  • Send /setcommands to add command list
  • Send /setdescription to add description
  • Send /setuserpic to add profile picture

Features​

  • Send automated messages to users
  • Post to channels (bot must be admin)
  • Manage group interactions
  • Respond to commands and messages
  • Send media files (images, documents, etc.)
  • Create inline keyboards for user interaction
  • Schedule message broadcasts

YouTube Tutorial​

YouTube Tutorial on How to add a telegram bot connection to our workflow builder

Best Practices​

  • Keep bot token secure (never share it)
  • Add your bot to channels/groups as admin for full functionality
  • Use webhooks for real-time updates instead of polling
  • Implement proper error handling for API failures
  • Respect Telegram's rate limits (30 messages per second globally)
  • Test bot commands thoroughly before deployment

Common Use Cases​

  • Automated customer support
  • News and alert broadcasting
  • Social media monitoring and posting
  • Trading signal notifications
  • Community management automation

Troubleshooting​

  • Invalid Token: Regenerate token from @BotFather
  • Bot Not Responding: Check if bot is blocked or removed from groups
  • Permission Errors: Ensure bot has admin rights in channels/groups
  • Rate Limits: Implement delays between messages