> For the complete documentation index, see [llms.txt](https://docs.esprezzo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.esprezzo.io/webhooks/create-your-first-webhook.md).

# 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="/files/iE1V99SpygTIyfvkJzBT" 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="/files/rliAe5tDoP6oHkxXk0e7" 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.esprezzo.io/webhooks/create-your-first-webhook.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
