Skip to content
Agentic Workflowdocs
v0.8.2Install free

use the app / connections

Connect Telegram

Create a bot with @BotFather and paste its token to send messages, photos and documents.

≈ 2 min Extension Web app Bearer Token
  • The Telegram app (phone or desktop).
  1. Create the bot. In Telegram, open a chat with @BotFather and send /newbot. Choose a name and a username ending in bot.

  2. Copy the token BotFather replies with, like 123456789:ABCdefGhIJKlmNoPQRstuVWxyz.

  3. Save it in AWFlow. Open Credentials and click Add Credential (or + Add Credential in a node’s Credential field), then fill the New Credential form. In the browser side panel the form comes in two steps: tap Telegram in the list, then fill the rest.

    The New Credential dialog with Telegram picked under Integration App / Service: Name and Description fields, a Bearer Token field (no Auth Type menu: the app sets it), a note that the secret is saved locally and encrypted in this browser, and the Cancel and Create Credential buttons. The New Credential dialog with Telegram picked under Integration App / Service: Name and Description fields, a Bearer Token field (no Auth Type menu: the app sets it), a note that the secret is saved locally and encrypted in this browser, and the Cancel and Create Credential buttons.

    Numbered areas in the screenshot: 1. Integration App / Service: Telegram; 2. Name; 3. Bearer Token; 4. Where the secret is stored (here, locally in this browser); 5. Create Credential.

  4. Start the bot. Open a chat with your bot and press Start, or add it to the group or channel it should post in. A bot can’t message someone who never started it.

  • “Unauthorized”. The token is wrong or was revoked. Get the current one from @BotFather (/token) and update the credential.
  • “Bad Request: chat not found”. The Chat ID is wrong, or the bot was never started in that chat or added to the group.
  • “Forbidden: bot was blocked by the user”. The person blocked the bot. They need to unblock it and press Start.
  • The token leaked. Send /revoke to @BotFather and update the credential with the new token.
Ask Aria