> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/relate/automation-flows/actions/automation-flow-sending-meeting-data-via-webhook.md).

# Automation Flow - Sending meeting data via Webhook

## With SprintHub, you can automate the sending of data from scheduled meetings in Public Calendars via Webhooks.

{% hint style="info" %}
*<mark style="color:blue;">This</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**action**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">is also found in the Chatbot, and in SAC 360º and CRM Automations.</mark>*
{% endhint %}

### To create and run your flow, follow these steps:&#x20;

1. **Create the Automation Flow:**

* Go to Automation Flows via “Find Services”. Or just type the name, and the feature appears.
* To create, click “+ New”.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdIyGPYvcm02kDpp6YRR5j_z_ZqfQqREubzncQK-LMR5jq8afF5Q3VDrltxV069hC1AmMr1mIBWURPPXj7F43fU3JLp6xoJiUpkFUXFO7t4uVOK8WgzmutoVjODjycttLROI_20uNsz-I1MvHc5txIeFE69?key=2tjUD2ZfBPa-b8YgUp-6Hw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcqXLMmmNjMZq3ntbX3MXJ1Om4Cs_BfiucrGv6kKlmo4T9nZmxDYY_qmK0g06pnAfaKkExO3mO_zpWj0izI1kqYK-_aNBEbscGbDcDRVn2If-7X0dyBoarjSQv9YTH5L3pKzqIUYaghHvMzbeAGR0C4rJff?key=2tjUD2ZfBPa-b8YgUp-6Hw" alt=""><figcaption></figcaption></figure>

2. **Configure and Create:**

* **Enter a Name:** Give your flow a descriptive name.
* **Enter a description:** detail of what will happen in the flow.
* **Set up a Segment:** Choose one you prefer.
* **Category:** Choose one you prefer. This is optional
* **Allow leads to restart the flow?:** It depends on your strategy.\
  *If left as “YES”, it will go through the flow more than once.*
* **Click “Open Builder”**, to create the flow with your actions and conditions.\ <br>

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeVEXTFYE8lCZSeIki7DSnbcUAaGxG0NXFLYDUxfB6sAImOixF5gKduoOHvbUUV7B5-OjhOehcndDOxWNAPjdGsS4aJpvSHTsZ1NYPojnK0fmP3tBLPRBCm8NGsOM2qhr2a9FWg3m9maaPzpZRr2WDHqiP6?key=2tjUD2ZfBPa-b8YgUp-6Hw" alt=""><figcaption></figcaption></figure>

3. **Building the Flow:**

*It will be possible to use a trigger or condition for sending the data.*

* **Trigger:** “The lead schedules a meeting?”
* **Condition:** “Does the lead have a scheduled meeting?”
* **Action:** Send Webhook

Configure the action;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeM_KN9vbx4-63LeXtDf_9n55n1cd_Ru4u_EM7J5Ezl89rynm_YgeveB7Slgy0aLPLq8hYkon3EjlZdfPTGj6AFIXQ7-w8sH2Qt-KY653EBvdVL_XPrnOHIRC0Dj0iIvlHXYji9RyKXatwafRQqeygDMnnj?key=2tjUD2ZfBPa-b8YgUp-6Hw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc700HABGUo3SeeviwApOZhj9qNZ83b8EQyNm6tQQHKoh36jbg4meTD1AeBjsszKMDAf-wKw733Er-43uPesI97kZ3rZcC3hqAFgP6MzHHhnqJz-Y9GALDuJRyJ6wRBJu4p3aqv-Yk6vE0D2464HVHMbub6?key=2tjUD2ZfBPa-b8YgUp-6Hw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf8M1Wl3e1OyResT9rOz5Cp1TYtA4LZmkoDXopFuZ3tVKjXrb63MTIc0QlWJFrMHzc7m0m9AN4-YaOias2HccdunXtmLfTXcDG4S7QuknA7fJd63N9ST4v9A_KscT3TsfvJMAFFx2fSLxSTqFH4eVvYwG2R?key=2tjUD2ZfBPa-b8YgUp-6Hw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fl18mfqxvt3o8QX1W2Q8P%2Fimage.png?alt=media&amp;token=c7f6419e-bfdd-42b3-be04-8bfc264349e4" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:blue;">Enter all the data you want to send via Webhook to your external system.</mark>*
{% endhint %}

4. **Testing the Webhook:**

Before activating it permanently, test the webhook using tools like Postman or `curl.` \
Send a POST request to the public URL generated by ngrok to verify that your server is receiving the data correctly.

{% embed url="<https://www.postman.com/>" %}

* Additional Settings:

Make sure your server is configured to handle POST requests on the specific route configured in SprintHub (`/webhook`, for example).

Check the security and firewall settings to ensure that requests are received without issues.

{% hint style="info" %}
*<mark style="color:blue;">If your external service is offline, you need to create an interface connected to the internet to run as a host; for this, we suggest ngrok.</mark>*
{% endhint %}

{% embed url="<https://ngrok.com/>" %}

5. **Activating the Webhook:**

After successful tests, activate the webhook in SprintHub. This will ensure that the data is sent automatically whenever the configured event occurs.

6. **Saving the Automation Flow:**

After creating and making the necessary changes, save your Flow and publish it.

* **Published:** When selecting "YES", the flow will start working immediately.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfUGfkbmLJza1ZjRONNrmm9P26k2YeleXlnRGWt2T7dLngQX-cozGu3r_3hC1FhhgDI1mt0nXvm5Wj20pNKD3vdaXPDYwdpAPeLeQz_PfYtyRgl7RZ3MlRJ-Jj1EbwlLbx3PrdwEQoGeRqaHeZ-k3EsZcb2?key=2tjUD2ZfBPa-b8YgUp-6Hw" alt=""><figcaption></figcaption></figure>

*And that's it, your data will already be sent!*&#x20;
