---
title: Actions
description: Step for configuring notification delivery channels
documentId: creating-platform-actions
locale: en-US
---

The **ACTIONS** step covers the notification delivery channels:

- [E-mail](#e-mail)
- [Slack](#slack)
- [Microsoft Teams](#microsoft-teams)
- [Webhook](#webhook)
- [WhatsApp](#whatsapp)

![Actions](https://creative-ball-51b3fc85c0.media.strapiapp.com/actions_b46cb6334c.png)

To add and configure an action, click on ![Add Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_add_e1c26587cf.png).

<Callout type="note" title="NOTE">
You must configure at least one action to save/create the alert.
</Callout>

## E-mail

When this action is configured, a notification email is sent whenever the alert is triggered.

![Actions Email](https://creative-ball-51b3fc85c0.media.strapiapp.com/actions_without_email_695c5664f9.png)

To add receivers, enter the email address in the **E-mails** field within the **RECEIVERS** section.

You can add as many addresses as you want, typing them individually or entering multiple emails at once, separated by commas.

> Once a receiver is added to the field above, they will receive an email like the one below to authorize notification delivery.
> To confirm, click the **YES, I WANT TO SEE EVERYTHING!** button.
> The confirmation link in the email is valid for 24 hours after sending.
>
>![Receivers Email](https://creative-ball-51b3fc85c0.media.strapiapp.com/receivers_email_7e0df20e55.png)
>
>If a receiver has not confirmed their subscription, their email address will be highlighted in yellow on the [alert editing screen](/docs/flexible-actions/platform-events#editing-alerts).
>
>You can send a new confirmation email by clicking the icon next to the email list (![New Email Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_new_email_a9c6137c02.png)), as shown below:
>
>![Actions Email](https://creative-ball-51b3fc85c0.media.strapiapp.com/actions_email_ede84a93f0.png)

In the **ADD CUSTOM MESSAGE** section, you can add a personalized message to be sent with the notification.
To do this, enable the button and enter the message in the editing field that opens, as shown below:

![Custom Message Email](https://creative-ball-51b3fc85c0.media.strapiapp.com/platform_events_email_filled_9c24382b9f.png)

<Callout type="note" title="NOTE">
You can write the message in plain text or HTML format.
</Callout>

After clicking **SAVE**, you will return to the actions board, and now the E-mail action will display icons for:

- Viewing details ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png)
- Editing ![Edit Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_edit_d2605ca855.png)
- Deleting ![Delete Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_delete_8fb673c7f2.png)

Clicking ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png) will show the configured information:

![Email Details](https://creative-ball-51b3fc85c0.media.strapiapp.com/platform_events_email_more_93a8aa88ee.png)

Now you can configure another action or save the alert, proceeding to the **REVIEW** step.

## Slack

When this action is configured, a notification is sent to a Slack channel whenever the alert is triggered.

![Actions Slack](https://creative-ball-51b3fc85c0.media.strapiapp.com/actions_slack_34c36575ef.png)

First, select the Slack workspace to use.
If you have not added a workspace on the [Integrations](/docs/flexible-actions/integrations) screen, you can do so by clicking the **+ ADD WORKSPACE** button. The process is the same.

After choosing the workspace, the **Channel** field will open for channel selection, as shown below:

![Slack Channel](https://creative-ball-51b3fc85c0.media.strapiapp.com/platform_events_slack_filled_d3f23659a6.png)

By default, only **public channels** are displayed, but you can also add a **private channel**. Read about this configuration [here](/docs/flexible-actions/slack#sending-notifications-for-private-channels).

<Callout type="note" title="NOTE">
You can select only one channel per alert.
</Callout>

In the **ADD CUSTOM MESSAGE** section, you can add a personalized message to be sent with the notification.
To do this, enable the button and enter the message in the editing field that opens, as shown in the image above.

<Callout type="note" title="NOTE">
You can write the message in plain text or using Slack's supported formatting.

Read more in the [Slack documentation](https://slack.com/intl/en/help/articles/202288908-Formatar-mensagens).
</Callout>

After clicking **SAVE**, you will return to the actions board, and now the Slack action will display icons for:

- Viewing details ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png)
- Editing ![Edit Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_edit_d2605ca855.png)
- Deleting ![Delete Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_delete_8fb673c7f2.png)

Clicking ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png) will show the configured information:

![Slack Details](https://creative-ball-51b3fc85c0.media.strapiapp.com/platform_events_slack_more_417b1467c4.png)

If you wish, you can send a test message to the configured channel by clicking **SEND TEST MESSAGE**.

Now you can configure another action or save the alert, proceeding to the **REVIEW** step.

## Microsoft Teams

You can also receive **Flexible Actions** notifications via **Microsoft Teams**.

This integration uses incoming Webhooks.
For more information on creating an incoming Webhook and adding it to a Teams channel, see the [Microsoft Teams documentation](https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook).

![Create Incoming Webhook](https://creative-ball-51b3fc85c0.media.strapiapp.com/create_incoming_webhook_5ba7b5345b.png)
<p align="center">
 <strong>Microsoft Teams documentation on creating an incoming Webhook</strong>
</p>

When creating or editing alerts and events in the **ACTIONS** step, there is an action where you can configure your **Microsoft Teams** credentials. It contains the following fields:

- In the **Incoming Webhook URL** field, use the URL received from **Microsoft Teams** when creating your incoming Webhook.
- By enabling the **ADD CUSTOM MESSAGE** button, you can add a personalized message for the **Teams** channel. Otherwise, you will receive an automatic message from **Flexible Actions**.

![Incoming Webhook URL](https://creative-ball-51b3fc85c0.media.strapiapp.com/incoming_webhook_url_platform_937fecf5a3.png)

After clicking **SAVE**, you will return to the actions board, and now the Teams action will display icons for:

- Viewing details ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png)
- Editing ![Edit Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_edit_d2605ca855.png)
- Deleting ![Delete Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_delete_8fb673c7f2.png)

Clicking ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png) will show the configured information:

![Teams Details](https://creative-ball-51b3fc85c0.media.strapiapp.com/ms_teams_more_8aeda2556b.png)

Now you can configure another action or save the alert, proceeding to the **REVIEW** step.

## Webhook

If a client does not use any of the notification channels above, it is also possible to receive metric alerts directly at an internal endpoint for custom processing.

When you configure a **Webhook** action, **Flexible Actions** sends an HTTP POST request to the endpoint you specify whenever the alert is triggered.
This allows you to trigger a specific API from **Flexible Actions** monitoring.
The request payload will include the monitored alert parameters and the additional message, if you include one.

![Actions Webhook](https://creative-ball-51b3fc85c0.media.strapiapp.com/actions_webhook_5d8a4f3193.png)

- **ENDPOINT**: enter the endpoint in the **Url** field.
- **AUTHENTICATION**: optional section to set credentials that **Flexible Actions** should include in the request. Each credential consists of a **client ID**, optionally a **client secret**, and specifies where they will be sent in the request (header or query param). All registered credentials are listed on the [Integrations](/docs/flexible-actions/integrations) screen, and you can select an existing credential in the **Credential** field. If you have not registered the credential you want to use on the **Integrations** screen, you can do so by clicking the **+ NEW CREDENTIAL** button.
The steps are the same.

In the **ADD CUSTOM MESSAGE** section, you can add a personalized message to be included in the request.
To do this, enable the button and enter the message in the editing field that opens, as shown below:

![Webhook Custom Message](https://creative-ball-51b3fc85c0.media.strapiapp.com/platform_events_webhook_filled_c0ee17b55b.png)

<Callout type="note" title="NOTE">
The message will be included in the request payload, identified by "customMessage".
</Callout>

After clicking **SAVE**, you will return to the actions board, and now the Webhook action will display icons for:

- Viewing details ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png)
- Editing ![Edit Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_edit_d2605ca855.png)
- Deleting ![Delete Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_delete_8fb673c7f2.png)

Clicking ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png) will show the configured information:

![Webhook Details](https://creative-ball-51b3fc85c0.media.strapiapp.com/platform_events_webhook_more_a87a3fb35d.png)

You can view the JSON schema and a sample payload to be sent by clicking the **VIEW SAMPLE** button.

Now you can configure another action or save the alert, proceeding to the **REVIEW** step.

## WhatsApp

You can also receive **Flexible Actions** notifications via **WhatsApp**.
To activate a phone number, it must be previously registered in the system.
For more information on adding contacts, visit the [Phone Catalog](/docs/flexible-actions/phone-catalog#how-to-add-a-new-phone-number)

![Actions WhatsApp](https://creative-ball-51b3fc85c0.media.strapiapp.com/actions_whatsapp_5b3bb8bd00.png)

To add new contacts to receive alerts, enter the contact name in the **Contact Name** field within the **RECEIVERS** section.
You can add as many contacts as you want.
Enter them individually or add them from the contact list that appears as you type.

<Callout type="note" title="NOTE">
It is possible to link an **inactive** number to the alert.
However, the number will not receive test messages or alerts via **WhatsApp** until it is **active**.
</Callout>

![WhatsApp Custom Message](https://creative-ball-51b3fc85c0.media.strapiapp.com/platform_events_whatsapp_filled_7eb812543d.png)

You can remove a number from the list by clicking the **x** button next to the contact name.
To add a new number, use the **Contact Name** field.

After adding or editing your contacts, the next step is to send a test message. This confirms if the contact is able to receive notifications.
To do this, click the **SEND TEST MESSAGE** button to send the test message.

![Send Test Message WhatsApp](https://creative-ball-51b3fc85c0.media.strapiapp.com/send_message_whatsapp_2cfd554549.png)

After clicking **SAVE**, you will return to the actions board, and now the **WhatsApp** action will display icons for:

- Viewing details ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png)
- Editing ![Edit Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_edit_d2605ca855.png)
- Deleting ![Delete Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_delete_8fb673c7f2.png)

Clicking ![More Icon](https://creative-ball-51b3fc85c0.media.strapiapp.com/icon_more_cdadc59947.png) will show the configured information:

![WhatsApp Details](https://creative-ball-51b3fc85c0.media.strapiapp.com/platform_events_whatsapp_more_99b2cbc95c.png)

Now you can configure another action or save the alert, proceeding to the **REVIEW** step.
