Flows - Telegram integration

How to connect your Telegram channel to Flows.

 

Step 1: Create a Telegram Bot and Get the API Key

  1. Open Telegram and search for @BotFather.
  2. Start a chat with BotFather and send the command:

/newbot

  1. Follow the prompts:
    • Enter a name for your bot (e.g., "Flows Bot").
    • Enter a username for your bot (must end in bot, e.g., "FlowsMessengerBot").
  2. Once created, BotFather will provide a bot token (API key) in this format:

123456789:ABCdefGhIjKlMnOpQrStUvWxYz123456789

  1. Install the Telegram app in your Flows instance and add this token as your connection Api Key. Save this token securely for any future use.

 


 

Step 2: Create a Telegram Channel

  1. Open Telegram and tap the menu (three lines in the top left corner).
  2. Select New Channel and enter:
    • channel name (e.g., "Flows Updates").
    • description (optional).
  3. Choose whether the channel is Public or Private:
    • Public: Anyone can find and join.
    • Private: Only invited users can join.
  4. Complete the setup and copy the channel link for reference.

 


 

Step 3: Add the Bot as an Admin to the Channel

  1. Open your bot in Telegram and tap on the bot logo at the top right.
  2. Select Add to Group or Channel.
  3. Search for your channel and select what the app can do.
  4. Click on "Add Bot as Admin".

 


 

Step 4: Find the Telegram Channel ID

  1. Using Telegram Web:

https://web.telegram.org/k/#-1234567890

  • Add -100 in front of the number (e.g., -1001234567890).
  1. Using a Bot:
    • Search for @username_to_id_bot in Telegram.
    • Forward a message from your channel to this bot.
    • It will reply with the channel ID.

 


Once set up, you can use the Telegram app within Flows to automate Telegram message posting. πŸš€


Was this article helpful?