AppsPricingBlogTry it
Telegram logo
Segment logo

Connect Telegram to Segment

Build an AI agent that works across Telegram and Segment, on a schedule or when you click Run.

24 source actions
7 target actions
Reverse direction supported

Why Connect Telegram & Segment?

Read what you need from Telegram

Your agent uses Telegram's documented actions to pull the records it needs, each time it runs.

Run a Segment action

Then it uses one of 7 documented actions, such as Associate an identified user with a group, Associate one identity with another, Identify a user, tie them to their actions and record traits about them.

Test it, then put it on a schedule

Run it once on your own data and check the result. Then set it to run daily, on weekdays or weekly.

Available Triggers & Actions

Telegram logo

Telegram

Triggers (4)

New Bot Command Received (Instant)

Emit new event each time a Telegram Bot command is received.

webhook
New Channel Updates (Instant)

Emit new event each time a channel post is created or updated.

webhook
New Message Updates (Instant)

Emit new event each time a Telegram message is created or updated.

webhook
New Updates (Instant)

Emit new event for each new Telegram event.

webhook

Actions (24)

Create Chat Invite Link

Create an additional invite link for a chat, See the docs for more information

Delete a Message

Deletes a message. See the docs for more information

Edit a Media Message

Edits photo or video messages. See the docs for more information

Edit a Text Message

Edits text or game messages. See the docs for more information

Export Chat Invite Link

Generate a new primary invite link for a chat, See the docs for more information

Forward a Message

Forwards messages of any kind. See the docs for more information

Get the Number of Members in a Chat

Use this module to get the number of members in a chat. See the docs for more information

Kick a Chat Member

Use this method to kick a user from a group, a supergroup or channel. See the docs for more information

List Administrators In Chat

Use this module to get a list of administrators in a chat. See the docs for more information

List Chats

List available Telegram chats. See the docs for more information

List Commands Options

Retrieves available options for the Commands field.

List Updates

Retrieves a list of updates from the Telegram server. See the docs for more information

Pin a Message

Pins a message. See the docs for more information

Promote a Chat Member

Use this method to promote or demote a user in a supergroup or a channel. See the docs for more information

Restrict a Chat Member

Use this method to restrict a user in a supergroup. See the docs for more information

Send a Document/Image

Sends a document or an image to your Telegram Desktop application. See the docs for more information

Send a Photo

Sends a photo to your Telegram Desktop application. See the docs for more information

Send a Sticker

Sends a .webp sticker to you Telegram Desktop application. See the docs for more information

Send a Text Message or Reply

Sends a text message or a reply to your Telegram Desktop application. See the docs for more information

Send a Video

Sends a video file to your Telegram Desktop application. See the docs for more information

Send a Video Note

As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long. Use this method to send video messages. See the docs for more information

Send a Voice Message

Sends a voice message. See the docs for more information

Send an Album (Media Group)

Sends a group of photos or videos as an album. See the docs for more information

Send an Audio File

Sends an audio file to your Telegram Desktop application. See the docs for more information

Segment logo

Segment

Triggers (1)

Webhook Destination (Instant)

Send events to a webhook. Requires a Team or Business account.

webhook

Actions (7)

Associate an identified user with a group

Group lets you associate an identified user with a group (note requires userId or anonymousId). See the docs here

Associate one identity with another

Alias is how you associate one identity with another. See the docs here

Identify a user, tie them to their actions and record traits about them

Identify lets you tie a user to their actions and record traits about them. It includes a unique User ID and any optional traits you know about them (note requires userId or anonymousId). See the docs here

List Workspace Options

Retrieves available options for the Workspace field.

Record page views on your website

The page method lets you record page views on your website, along with optional extra information about the page being viewed (note requires userId or anonymousId). See the docs here

Record whenever a user sees a screen

The screen method let you record whenever a user sees a screen of your mobile app (note requires userId or anonymousId). See the docs here

Track actions your users perform

Track lets you record the actions your users perform (note requires userId or anonymousId). See the docs here

Integration Features

24 documented Telegram actions
7 documented Segment actions
Plain-English agent instructions
Daily, weekday or weekly schedule, or run on demand
Execution monitoring
A supported Segment to Telegram direction

Capability Examples

Telegram trigger → Segment action

Catalog example
TelegramTelegram

New Bot Command Received (Instant)

SegmentSegment

Associate an identified user with a group

Segment trigger → Telegram action

Reverse direction
SegmentSegment

Webhook Destination (Instant)

TelegramTelegram

Create Chat Invite Link

How It Works

1

Connect Apps

Authenticate your Telegram and Segment accounts

2

Describe the Job

Say what to read from Telegram and what to do in Segment

3

Choose an Action

Select the documented Segment operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Scheduled or On-demand Runs

Runs daily, on weekdays or weekly at a set time, or when you click Run. It does not fire on live Telegram events yet.

Automated Actions

Use 7 documented Segment actions each time the agent runs.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Describe the job in plain English. The agent picks theTelegram and Segment actions it needs.

Your Own Accounts

You connect your own Telegram and Segment accounts. App connections need a paid plan.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Segment logoTelegram logo

Reverse Integration Available

Also connect Segment to Telegram for bidirectional automation

View Integration
Telegram logo

All Telegram Integrations

Explore all available Telegram connections

View All Integrations
Segment logo

All Segment Integrations

Explore all available Segment connections

View All Integrations

Ready to Connect Telegram & Segment?

Build this agent in Mazaal AI and test it on your ownTelegram and Segment data.

Start building

Rather not build it yourself? We set up one Telegram to Segment agent on your accounts for A$490: a 30-minute call, a test on your real data, and 14 days of fixes. Plan billed separately. Email Enod