Set up workflow notifications
Get an email or a Telegram message about the runs of your workflows and tasks. Configure the notification channels first, then add notifications to each workflow or task.
Prerequisites
- Access to the Airflow UI of your Orchestration service. To find its URL and how to sign in, see View Orchestration details.
- For Email, the host, port, username, and password of an SMTP server.
- For Telegram, a Telegram account to create a bot with.
Open the notification channels
- Sign in to the Airflow UI of your Orchestration service.
- In the Airflow UI, select Workflow Engine → Notifications in the left menu.

| Column | Description |
|---|---|
| Type | The type of channel: email or telegram. |
| Name | The name of the configuration. |
| Description | The description of the configuration. |
| Kích hoạt | Whether the configuration is on or off. The column header is shown in Vietnamese, even in the English UI. |
| Actions | The edit icon (pencil). |
Configure email notifications
- Open the notification channels. See Open the notification channels.
- In the row whose Type is email, select the edit icon (pencil) in Actions.
- In the Email Notification Configuration dialog, fill in the fields, as described in the table below.
- Make sure that Enable configuration is turned on.
- Select Save, or select Cancel to discard your changes.

Only Name is required. Fill in the four SMTP fields too, because they are needed to send email notifications.
| Field | Description |
|---|---|
| Name | Required. The name of the email configuration. |
| Description | Optional. A description of the configuration. |
| SMTP Server Host | The hostname or the IP address of the SMTP server of your email provider. |
| SMTP Server Port | The port of the SMTP server, typically 25, 465 (SSL), or 587 (TLS). |
| SMTP Username | The email address or the username for SMTP authentication. |
| SMTP Password | The password for SMTP authentication, or the app password of the email account. Select the eye icon to show or hide it. |
| Enable configuration | Turns the configuration on or off. Default: on. |
For Gmail, create an app password and use it instead of your regular password. For Office 365, configure SMTP authentication.
Configure Telegram notifications
To send notifications to Telegram, create a bot, add its token to the telegram channel, then get the chat ID of the Telegram group or channel that receives the notifications. The channel takes only the bot token. You enter the chat ID later, as the Channel of each notification.
Create a bot
- In Telegram, find
@BotFather. - Send the command
/newbotto create a new bot. - Set the name and the username of the bot.
- Copy the bot token that BotFather returns. The token is a number, a colon, then a string of letters and numbers.
Add the bot token
- Open the notification channels. See Open the notification channels.
- In the row whose Type is telegram, select the edit icon (pencil) in Actions.
- In the Telegram Notification Configuration dialog, enter a Name.
- Optional: enter a Description.
- Paste the bot token into Telegram Bot Token.
- Make sure that Enable configuration is turned on.
- Select Save, or select Cancel to discard your changes.

| Field | Description |
|---|---|
| Name | Required. The name of the Telegram configuration. |
| Description | Optional. A description of the configuration. |
| Telegram Bot Token | The token that the bot uses for authentication. It is needed to send Telegram notifications. Select the eye icon to show or hide it. |
| Enable configuration | Turns the configuration on or off. Default: on. |
Get the chat ID
- Add the bot to the group or the channel that receives the notifications.
- Send any message in the group or the channel.
- Open
https://api.telegram.org/bot<BOT-TOKEN>/getUpdates, with your bot token in place of<BOT-TOKEN>. - In the JSON response, find
chat.id.
Use this chat ID as the Channel when you add Telegram notifications to a workflow or a task.
- The bot must be in the group or the channel before it can send notifications.
- In a channel, the bot needs the Post Messages permission.
- A negative chat ID is a group or a channel. A positive chat ID is a personal chat.
Add notifications to a workflow
Workflow notifications are sent on the events of the whole workflow. Before you start, set up and enable at least one channel. Type lists only the channels that are set up and enabled, and shows "No options available" otherwise.
- Open the workflow. See Open a workflow.
- In Notifications, select the edit icon (pencil).
- In the Notifications dialog, select Add.
- In Type, select the channel: email or Telegram.
- In Channel, enter the email address or the Telegram chat ID, then press Enter.
- In Event, select one or more statuses that send a notification.
- Repeat steps 3 to 6 for each notification that you need.
- Select Save, or select Cancel to discard your changes.

To remove a notification, select the delete icon (trash) at the end of its row.
| Field | Description |
|---|---|
| Type | The channel: email or Telegram. It lists only the channels that are set up and enabled. |
| Channel | The email address or the Telegram chat ID that receives the notifications. An email address has 5 to 254 characters, in a valid email format. |
| Event | The statuses that send a notification. You can select more than one. |
Add notifications to a task
A task can have its own notifications, in addition to those of its workflow.
- Open the workflow. See Open a workflow.
- In the graph, select the task. Its form opens under the graph.
- Scroll down to the Notifications section of the form.
- Select Add.
- Fill in Type, Channel, and Event, as for a workflow. See Add notifications to a workflow.
- Repeat steps 4 and 5 for each notification that you need.
- Select Save Task.
Task notifications are independent of workflow notifications. If both the workflow and the task have notifications for an event, both are sent.