---
language: en
title: How to send a webhook from a workflow
category: Flows
summary: Add a Send webhook action to a workflow trigger so booking data is sent in real time to platforms like Zapier or Pabbly Connect.
---

# How to send a webhook from a workflow

**With the new workflow feature, you can continue to use webhooks** to send real-time data about confirmed, rescheduled or cancelled bookings from TuCalendi through the URL that platforms like [Zapier](https://zapier.com/) or [Pabbly Connect](https://www.pabbly.com/connect/) provide, so you can connect TuCalendi with thousands of applications.

Let's see **how to send a webhook from a workflow**. As an example, in this tutorial we will send a webhook when a booking has been made.

[We will edit an existing](https://www.tucalendi.com/en/s/flows/editing-an-existing-workflow) workflow and add a new action that sends a webhook when a booking has been confirmed.

[Log in with your username and password](https://account.tucalendi.com/) to TuCalendi. Go to the **"Flows"** menu:

![Flows menu](https://www.tucalendi.com/images/content/flows/en/flow-menu-four-types.png)

Under the **"Workflows (after booking)"** option, click **"Select"** and the workflows you have created will be displayed.

![Workflow](https://www.tucalendi.com/images/content/flows/en/workflow-with-events-assigned.png)

Click **"Edit"** on the workflow you want to modify by adding a new action to send a confirmation webhook.

![Edit a workflow](https://www.tucalendi.com/images/content/flows/en/editing-workflow.png)

The workflow will be displayed in its current state and you can add the new action suggested for this workflow.

![Workflow with three triggers](https://www.tucalendi.com/images/content/flows/en/workflow-with-three-trigger-and-actions.png)

In the trigger **"A booking has successfully made"**, we will add a new action that sends a confirmation webhook.

Click **"Add new action"** in this trigger:

![Add new action](https://www.tucalendi.com/images/content/flows/en/add-new-action-to-a-trigger.png)

This lets you choose what should happen:

![Add action](https://www.tucalendi.com/images/content/flows/en/add-action.png)

From the drop-down menu, **select the action**:

![Available actions](https://www.tucalendi.com/images/content/flows/en/available-actions.png)

Since you want a webhook to be sent when the customer has made a booking, select the action **"Send webhook"**:

![Add send confirmation webhook](https://www.tucalendi.com/images/content/flows/en/add-send-confirmation-webhook.png)

**Enter the webhook URL** that you get from automation platforms such as Zapier or Pabbly Connect.

You must also **add the webhook action**:

![Webhook confirmation action](https://www.tucalendi.com/images/content/flows/en/webhook-confirmation-action.png)

Choose the corresponding webhook action, in this case **"booking.created"**, and click **"Add"**:

![Workflow with webhook added](https://www.tucalendi.com/images/content/flows/en/workflow-with-webhook-added.png)

This way, you have added a second action to the trigger called **"A booking has successfully made"**, and when a customer makes a booking with you, two actions will occur:

- The **confirmation email** will be sent to the customer's email address.
- The **webhook "booking.created"** will be sent to the specified URL.

> [!WARNING]
> The final action of the webhook will be whatever you have **automated in the external platform** when you receive a new booking.

When you have finished modifying the workflow, or after each step, click **"Save"** to make the changes in the workflow operational.