# Create your first webhook

### Steps to create a webhook:

1. [Log in](https://dispatch.esprezzo.io/login) to the Dispatch app
2. From the [Dashboard](https://dispatch-staging.esprezzo.io/dashboard), select a Trigger from the Trigger dropdown (event you want Dispatch to listen for, i.e. when a wallet balance changes or goes above or below a threshold, a smart contract emits certain events, etc.)
3. Select **Webhook** as the Action:<br>

   <figure><img src="https://2361914853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvqfEygZQWRoaDpS8wmp3%2Fuploads%2FuAuoSOCXUeg68if0wpVK%2Fesprezzo-dispatch-dashboard-select-webhook-action.gif?alt=media&#x26;token=22604da5-3207-4f9e-8e60-897492ad2216" alt="Selecting webhook as the automated action from Esprezzo Dispatch dashboard"><figcaption></figcaption></figure>
4. Click the **Complete Patch** button, which takes you to the Patch Creator
5. Configure Trigger settings
6. Create a new webhook in step 4, Action details: from the Webhook dropdown menu, select "Click here to add a new webhook" <br>

   <figure><img src="https://2361914853-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvqfEygZQWRoaDpS8wmp3%2Fuploads%2FXTLoAfSNZmQpMNGb3tXG%2Fdispatch-patch-creator-webhook-configuration.jpg?alt=media&#x26;token=4ffc80e7-0de8-4897-acd2-d82cdd69b6fb" alt=""><figcaption></figcaption></figure>
7. In the "Create webhook" modal, add a descriptive name for your webhook — this is recommended especially if you plan to use multiple webhooks. Provide the webhook endpoint URL — the callback URL your app will use to accept the incoming webhook&#x20;
8. Test to make sure Dispatch is able to send to your URL
9. Click the **Turn Patch On** button :tada:

{% hint style="info" %}
**Tip**: for quick testing, get a unique webhook URL via [webhook.site](https://webhook.site/), paste the URL into Dispatch, and see webhook notifications as they come in.
{% endhint %}

Once you've created a webhook, you can select it as the output for any other Patches you create by selecting the webhook by name in the Patch Creator and repeating the other steps above.

You can see and manage all your webhooks by visiting [Connected Apps](https://dispatch-staging.esprezzo.io/account/connected-apps) under your account settings.
