> 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/topicos/relacionar/fluxos-de-automacao/acoes/fluxo-de-automacao-enviando-dados-da-reuniao-via-webhook.md).

# Fluxo de Automação - Enviando dados da reunião via Webhook

## Com a SprintHub, você pode automatizar o envio de dados de reuniões agendadas em Calendários Públicos por meio de Webhooks.

{% hint style="info" %}
*<mark style="color:blue;">Essa</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**ação**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">também se encontra no Chabot, e nas Automações de SAC 360º e CRM.</mark>*
{% endhint %}

### Para a criação e execução de seu fluxo, siga esses passos:&#x20;

1. **Criar o Fluxo de Automação:**

* Vá até o Fluxos de Automação pelo “Encontrar Serviços”. Ou basta digitar o nome, que a função aparece.
* Para criar clique em “+ Novo”.

<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. **Configurar e Criar:**

* **Insira um Nome:** Dê um nome descritivo para o seu fluxo.
* **Insira uma descrição:** detalhe do que vai acontecer no fluxo.
* **Configure um Segmento:** Escolha um de sua preferência.
* **Categoria:** Escolha um de sua preferência. Isso é opcional
* **Permitir que leads reiniciem o fluxo?:** Vai de acordo com sua estratégia.\
  \&#xNAN;*Se deixar como “SIM”, ele irá passar pelo fluxo mais de uma vez.*
* **Clique em “Abrir Construtor”**, para criar o fluxo com as suas ações e condições.\ <br>

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

3. **Construindo o Fluxo:**

*Será possível utilizar gatilho ou condição, para o envio dos dados.*

* **Gatilho:** “O lead agendar uma reunião?”
* **Condição:** “O lead possui uma reunião agendada”?
* **Ação:** Enviar Webhook

Configure a ação;

<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/YGmBtT5RbwAykbOdkKIX" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:blue;">Insira todos os dados que deseja enviar via Webhook ao seu sistema externo.</mark>*
{% endhint %}

4. **Testando o Webhook:**

Antes de ativar definitivamente, teste o webhook usando ferramentas como Postman ou `curl.` \
Envie uma requisição POST para o URL público gerado pelo ngrok para verificar se o seu servidor está recebendo corretamente os dados.

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

* Configurações Adicionais:

Certifique-se de que seu servidor está configurado para lidar com requisições POST na rota específica configurada no SprintHub (`/webhook`, por exemplo).

Verifique as configurações de segurança e firewall para garantir que as requisições sejam recebidas sem problemas.

{% hint style="info" %}
*<mark style="color:blue;">Se seu serviço externo for Off-line, é necessário criar uma interface conectado com a internet para rodar como host, para isso sugerimos o ngrok.</mark>*
{% endhint %}

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

5. **Ativando o Webhook:**

Após os testes bem-sucedidos, ative o webhook no SprintHub. Isso garantirá que os dados sejam enviados automaticamente sempre que o evento configurado ocorrer.

6. **Salvar o Fluxo de Automação:**

Feita as criações e alterações necessárias. Salve seu Fluxo e publique.

* **Publicado:** Ao selecionar "SIM", o fluxo começará a funcionar imediatamente.

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

*E pronto, seus dados já serão enviados!*&#x20;


---

# 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.sprinthub.com/topicos/relacionar/fluxos-de-automacao/acoes/fluxo-de-automacao-enviando-dados-da-reuniao-via-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.
