# Automation Flow - Sending meeting data via Webhook

## With SprintHub, you can automate the sending of scheduled meeting data from 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 the 360º Customer Service and CRM Automations.</mark>*
{% endhint %}

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

1. **Create the Automation Flow:**

* Go to Automation Flows through “Find Services”. Or just type the name, and the function 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 a descriptive name for your flow.
* **Enter a description:** detail of what will happen in the flow.
* **Configure a Segment:** Choose one of your preference.
* **Category:** Choose one of your preference. This is optional
* **Allow leads to restart the flow?:** It depends on your strategy.\
  \&#xNAN;*If set to “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 to send the data.*

* **Trigger:** “Did the lead schedule 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="/files/e1453297efe58dc45496ea540461deea141f4322" 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 definitively, 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 correctly receiving the data.

{% 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 security and firewall settings to ensure requests are received without issues.

{% hint style="info" %}
*<mark style="color:blue;">If your external service is offline, it is necessary to create an internet-connected interface 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 data is sent automatically whenever the configured event occurs.

6. **Save the Automation Flow:**

After making the necessary creations and changes. Save your Flow and publish.

* **Published:** By 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 now be sent!*&#x20;


---

# Agent Instructions: 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:

```
GET https://docs.sprinthub.com/en/topics/relate/automation-flows/actions/automation-flow-sending-meeting-data-via-webhook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
