> 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/common-questions/automation-flows-adding-and-removing-tags.md).

# Automation Flows – Adding and Removing Tags

#### With SprintHub, you can automate the bulk addition and removal of tags through Automation Flows, strategically segmenting your leads.&#x20;

{% hint style="info" %}
This action is also available in 360º Customer Service and CRM Automations and in the Chatbot.
{% 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_4nXfsJIO23Q-r8y7c-LrAOnzGYF7RzzaBGuvB9yP1W9FMdoh62pjluAwdD-dKbhgfnVqxSF0PbY-7dC8O90g5y9hu9nPw_lZMpxHvjKbxQs1L_5rb5SPeKEJYUtzaCxD2dQpXYVo4cw?key=L6J-QJTPmI5T8JK6LztAoT6L" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd9w4Ge_LpSNIvQvIn2qLLOVGJlG9EsNGo2GkQ_3sjQfgKq4ds6FlSs6WbbV6sAGDv4FZsB4X8b4B9v-EFSXi2nxCtZHKg2KtzGDfSNpZB_SVRUVtGuOijlYdqyjDo6QI9M0BnnZQ?key=L6J-QJTPmI5T8JK6LztAoT6L" 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_4nXcX54fStHWB7-mWUstHlbRSNqUlLlp16dsF8O4-KuIfg5qOkRsZShqYK5b9s8M0gX9thbGtpQ53HJkne5o9y6i5gK2uiIbLHIA5IOEzVLURYLD_b5k9nIeKUqvxaYPQAAhbay4_Fg?key=L6J-QJTPmI5T8JK6LztAoT6L" alt=""><figcaption></figcaption></figure>

3. **Building the Flow:**

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

**To remove the Tag from a Lead, just add the removal action to the automation flow.**

4. **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_4nXfsWUi_AMhSLW06Rm3yfyAWSnO_az4UYaqY4tVXeTuPM7W6PbVNPP0KC-cxhX3kghNnLW9HXVq3zOUm0vwi4wK7sZ23zugRnVChUlmcG48gnl269Q-QfEbA57Lduj1IDUM9jq3vlQ?key=L6J-QJTPmI5T8JK6LztAoT6L" alt=""><figcaption></figcaption></figure>

Next, you will be able to view the statistics and the Leads that went through the flow.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcoJwFBeloVq4BlOTsil8WTJNrXX-U6XkTdnSY9jaBukzb4LE07b9CNOstvs7v7LhQoitEupbwZNisV7oRIPjfiFm-9k4qskMG9E1iHbretRxzGkkuSmBcjlO5VRJJlIbjI9lOt8A?key=L6J-QJTPmI5T8JK6LztAoT6L" alt=""><figcaption></figcaption></figure>

The Lead history displays all changes related to the company and the linked data, accessible in the left sidebar.

&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcr-6TQiCeL-_boIYHDfqqhSYdzSwjDbvyslptmL4E4w6bXKfGV_3sjLikrt5CIpwXzmzawZn6NYBXp0uEUsdO03gLS5xel3_aSiA2Ck_Lfd23zrKqYyZCHUOPy4bJYyYf937l6yw?key=L6J-QJTPmI5T8JK6LztAoT6L" alt=""><figcaption></figcaption></figure>

**CONCLUSION:**&#x20;

Using this automation makes tag management more efficient, ensuring that your Leads are updated dynamically according to their behavior and segmentation. This optimizes your marketing and sales strategies, saving time and reducing manual errors.


---

# 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/en/topics/relate/automation-flows/common-questions/automation-flows-adding-and-removing-tags.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.
