> 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-exclusao-de-leads-via-segmento.md). Agents can also search and read this documentation through its [MCP server](https://docs.sprinthub.com/~gitbook/mcp).

# Fluxo de Automação - Exclusão de Leads via Segmento

## Na SprintHub, temos a opção de fazer a exclusão de Leads em massa, caso ele possua uma ou mais tags.&#x20;

{% hint style="danger" %}
Atenção: ao excluir o(s) Lead(s), essa ação não poderá ser desfeita.
{% endhint %}

{% hint style="warning" %}
Leads que possuírem oportunidades nos funis não poderão ser excluídos. É necessário excluir as oportunidades antes de realizar a exclusão do Lead.

Para excluir as oportunidades, veja esse artigo: [CRM - Excluindo Oportunidades](https://docs.sprinthub.com/topicos/geral/crm/crm-duvidas-comuns/crm-excluindo-oportunidades.md)
{% endhint %}

<figure><img src="https://3534414179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FvpednhwRBcBnaEKWBSrd%2Fundraw_Throw_away_re_x60k.png?alt=media&amp;token=47d497d0-270c-4c13-adc5-09ad55e6e60f" alt=""><figcaption></figcaption></figure>

## Para criar o fluxo siga os seguintes passos:

1. Entre no serviço “Fluxos de Automação”;

Ou basta digitar em “Encontrar serviço” e o mesmo já vai aparecer.

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXc4GAHmdo3yxPNRBQUCNKP7rEoU_n4NacAA4_qVhDOwsOYdPBTdXS30xA9HBIKrc5RNWBKlRjRWWy1OPzJiT7cdBZm2UckqfvG0Ex8nGxqzJLPW1CDZPCqzPmT4cJVd2FmzRiesABsr_5bIMHI65KKWjQAb?key=e0ZeGKkErcUwKkUi3w1oKg" alt=""><figcaption></figcaption></figure>

2. Já em Fluxos de Automação, clique no botão “Novo”;<br>

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfczxOXrIqfNIm3VSpux_ues72xFGPu2Xe1SNqaicIjkDfqQK3uCY5UQcYQ7_drBAZW_RKmocLWNKDwW169__us7moGw_U15GPen4ocr9v1BFD9YbLh2ieiHxSU282G5aY7fP7G0kaBHFvgaFUBT_Ni-XA?key=e0ZeGKkErcUwKkUi3w1oKg" alt=""><figcaption></figcaption></figure>

3. Insira as informações e dados do seu fluxo;

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXcEKMxHuLHJb8etbqB2QIMiI89D6PR0k14pEcNNwUtVkLzVZxVbwEIvtVSt-8A5LZ8BEjyXEBld2wxJuTmezbb9f_et5AGAL11KLJV-GaPDNkol1pm4u-dVdKabR19fl9IERby6LaSPoHGpNNran2m2wT82?key=e0ZeGKkErcUwKkUi3w1oKg" alt=""><figcaption></figcaption></figure>

Opcional a colocação de categoria.

4. Clique em “Abrir Construtor”;

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXcm-2RzNoMvnIYGWfsD0v93xYNcYnlxlJ9OXBzS1L_ilyMxI4Ec6hiAI0FlmK_R5l3VAugEcWTCZmRbzq1tOIBrUpx2uOGo0UlhDyQ-2uIF4yBwj9XAoO94mWa-QQKK6Zci3KopLltECIS9zgBSY4w24jA?key=e0ZeGKkErcUwKkUi3w1oKg" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/sn44zj6kT3g>" %}

5. Feito isso, para ativar seu fluxo em “Publicado?”, ative para sim e depois clique em “Salvar” e depois em “Salvar e fechar”;<br>

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXdPlNC9iOiX0BEA1HQ2M90k21Gv9Q_4j9xRRFTbBD1l4Vd2UpvROYyCJ61lLK4AqZ5MZgaAt2r3C8MmGLkXds-fRMJJtSb24OGpMSLS-wYxk-62IjK-5-jmHhrQO4Wny7pTZ4grTSltmzmA5JuBeBTm_jdX?key=e0ZeGKkErcUwKkUi3w1oKg" alt=""><figcaption></figcaption></figure>

*Pronto! Seu fluxo de exclusão iniciará, e se os leads corresponderem a condição, serão excluídos.*&#x20;

{% hint style="danger" %}
*<mark style="color:red;">**Cuidado! Excluir o(s) Lead(s) é uma ação irreversível.**</mark>*
{% endhint %}
