# Webhook triggers

A webhook trigger is a way for you to notify MessageBird about events that occur in an external system.

During the setup of a webhook trigger, we'll generate a URL that accepts POST calls with JSON-formatted payloads.

You can copy this URL and add it to your app.

The app that's connected to your MessageBird webhook will send data to it whenever something new is added.

MessageBird will receive the data from your app, and you will be able to use it to perform actions in a flow.

## Set up a webhook trigger

To set up a webhook trigger, select the **Webhook** trigger type.

<figure><img src="https://3861485111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU9kiDiTGVD8kkbnKKyEn%2Fuploads%2Fe9tUlgBZKxCGrRWodYyd%2FScreenshot%202025-12-04%20at%202.17.53%E2%80%AFPM.png?alt=media&#x26;token=2a634f55-7746-4834-8e31-bb27d131a22d" alt=""><figcaption></figcaption></figure>

### Test the webhook trigger

{% hint style="info" %}
When testing the webhook trigger, use a JSON file in the format that you want to use when executing the flow.
{% endhint %}

In the "Try it" section, edit the test payload, then click **Update test data** > **Send**.&#x20;

If the test was successful, you will be able to see the payload in the "Test output" section below.

Click **Save** to finish setting up your webhook trigger.

<figure><img src="https://3861485111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU9kiDiTGVD8kkbnKKyEn%2Fuploads%2FbfyEfFrk7kRX8KP6IEcV%2FScreenshot%202025-12-04%20at%202.19.54%E2%80%AFPM.png?alt=media&#x26;token=738d67fd-e589-4c23-8185-909d561b88a4" alt=""><figcaption></figcaption></figure>
