AppsPricingBlogTry it
Telegram logo
Mailgun logo

Connect Telegram to Mailgun

Use 4 documented Telegram triggers to run 11 documented Mailgun actions.

4 source triggers
11 target actions
Reverse direction supported

Why Connect Telegram & Mailgun?

Start with a Telegram event

Choose from 4 documented triggers, including New Bot Command Received (Instant), New Channel Updates (Instant), New Message Updates (Instant).

Run a Mailgun action

Send the event into one of 11 documented actions, such as Create Mailing List Member, Create Route, Delete Mailing List Member.

Map and review the workflow

Choose the fields and conditions for the workflow, then test the result before activation.

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

Mailgun logo

Mailgun

Triggers (11)

New Bounce (Instant)

Emit new event when the email recipient could not be reached.

webhook
New Click (Instant)

Emit new event when the email recipient clicked on a link in the email. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section

webhook
New Complaint (Instant)

Emit new event when the email recipient clicked on the spam complaint button within their email client. Feedback loops enable the notification to be received by Mailgun.

webhook
New Delivery (Instant)

Emit new event when an email is sent and accepted by the recipient email server.

webhook
New Delivery Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server.

webhook
New Log Data

Emit new event when new data is logged in Mailgun's Control Panel. Occurs for most actions within the associated Mailgun account.

polling
New Mailing List

Emit new event when a new mailing list is added to the associated Mailgun account.

polling
New Open (Instant)

Emit new event when the email recipient opened the email and enabled image viewing. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section

webhook
New Permanent Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server due to a permanent mailbox error such as non-existent mailbox.

webhook
New Temporary Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server due to a temporary mailbox error such as an ESP block. ESP is the Email Service Provider managing the recipient email server.

webhook
New Unsubscribe (Instant)

Emit new event when the email recipient clicked on the unsubscribe link. Unsubscribe tracking must be enabled in the Mailgun control panel. See more at the Mailgun User's Manual Tracking Messages section

webhook

Actions (11)

Create Mailing List Member

Add to an existing mailing list. See the docs here

Create Route

Create a new route. See the docs here

Delete Mailing List Member

Delete a mailing list member by address. See the docs here

Get Mailing List Member

Retrieve a mailing list member by address. See the docs here

Get Mailing List Members

List all mailing list members. See the docs here

List Domain Name Options

Retrieves available options for the Domain Name field.

List Domains

List domains in Mailgun. See the docs here

List Mailing List Options

Retrieves available options for the Mailing List field.

Send Email

Send email with Mailgun. See the docs here

Suppress Email

Add email to the Mailgun suppression list. See the docs here

Verify Email

Verify email address deliverability with Mailgun. See the docs here

Integration Features

4 documented Telegram triggers
11 documented Mailgun actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported Mailgun to Telegram direction

Capability Examples

Telegram trigger → Mailgun action

Catalog example
TelegramTelegram

New Bot Command Received (Instant)

MailgunMailgun

Create Mailing List Member

Mailgun trigger → Telegram action

Reverse direction
MailgunMailgun

New Bounce (Instant)

TelegramTelegram

Create Chat Invite Link

How It Works

1

Connect Apps

Authenticate your Telegram and Mailgun accounts

2

Choose a Trigger

Select a documented Telegram event

3

Choose an Action

Select the documented Mailgun operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Trigger-driven Workflows

Start the supported direction from one of 4 documented Telegram triggers.

Automated Actions

Run one of 11 documented Mailgun actions after the selected trigger fires.

Provider Authentication

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

Guided Configuration

Select a documented trigger, choose a target action, and map the fields required by the workflow.

Field Mapping

Map the fields exposed by the selected trigger and action, then review the required provider inputs.

Execution Review

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

Mailgun logoTelegram logo

Reverse Integration Available

Also connect Mailgun to Telegram for bidirectional automation

View Integration
Telegram logo

All Telegram Integrations

Explore all available Telegram connections

View All Integrations
Mailgun logo

All Mailgun Integrations

Explore all available Mailgun connections

View All Integrations

Ready to Connect Telegram & Mailgun?

Build this supported workflow in Mazaal AI and test it with your own provider accounts.

Get Started Free