Telegram Setup Wizard

Step-by-step guide to connecting your AI workforce to a Telegram group workspace.

Phase 0: Workspace Name

The wizard starts by asking for a workspace name. This is used to identify your Telegram setup within Agent5ive.

Sales Team Workspace

Defaults to your workforce name. You can customize it.

Phase 1: Bot Creation

For each workforce member, you'll create a Telegram bot and enter its token. The wizard shows one member at a time.

1

Open Telegram and search for @BotFather

BotFather is Telegram's official bot for creating and managing bots.

2

Send /newbot to create a new bot

BotFather will ask for a name and username for your bot.

3

Enter a name matching your workforce member

For example: 'Sales Manager Bot' or 'SDR Agent 1'. This is the display name users see.

4

Enter a unique username ending in 'bot'

For example: 'sales_manager_acme_bot'. Usernames must be unique across all of Telegram.

5

Copy the API token provided by BotFather

It looks like: 123456789:ABCDefGhIJKlmNoPQRsTUVwxyZ

6

Paste the token into the Agent5ive wizard

We'll validate it via the Telegram API to confirm it's correct.

Bot Token Entry
SM
Sales Manager
Enter bot token for this member
Sales Manager Bot
@sales_manager_acme_bot (auto-suggested)
123456789:ABCDefGhIJKlmNoPQRsT...

Phase 2 Intro

Before the group setup phase, the wizard explains what's about to happen:

What happens next:

  • You'll create a new Telegram group
  • Add all your workforce bots to the group
  • Promote each bot to admin (so they can read messages)
  • We'll activate webhooks to connect everything

Phase 2: Group Setup

1

Create a new Telegram group

Open Telegram → Menu → New Group → Select yourself as member → Create

2

Add all workforce bots to the group

Tap the group name → Add Members → Search for each bot by username → Add them all

3

Promote each bot to admin

Tap each bot → Promote to Admin → Save. This allows bots to read all messages.

4

Get the group ID

Send any message in the group, then check the wizard - we'll auto-detect the group ID

5

Verify the connection

The wizard validates all bots can access the group and activates webhooks

Group Verification
-1001234567890

Or paste the group ID if you know it

Bot Status
@sales_manager_bot Admin
@sdr_agent_1_bot Admin
@researcher_bot Not admin

Complete

Workspace Connected!

Your workforce is now connected to Telegram. You'll be redirected to your dashboard with ?telegram=connected to confirm the setup.

Troubleshooting

Bot Token Invalid
  • Double-check you copied the entire token from BotFather
  • Make sure there are no extra spaces before or after the token
  • If the token was revoked, use /revoke in BotFather and create a new one
Group Add Failed
  • Make sure you're searching for the correct bot username
  • Verify the bot wasn't already added to another group (remove it first)
  • Check that your Telegram account has permission to add bots
Webhook Not Firing
  • Ensure all bots are promoted to admin in the group
  • Try clicking "Reconnect" in the workspace settings
  • Send a test message and wait 10-15 seconds for processing
  • Check the Agent5ive dashboard for connection status indicators
Bot Not Responding in Group
  • Make sure you're using @mention with the exact bot username
  • Verify the bot has admin permissions in the group
  • Check that the workforce is deployed (not in draft state)
  • Try removing and re-adding the bot to the group