# Automation Flows - Tag inserted, based on Lead Birth Date

#### In SprintHub, it is possible to insert Tag(s) based on the date of birth (including day, month and year) and use them in various other automations and applications.

To create a segment based on this same rule, see the article below:

{% content-ref url="/pages/e5067e83ea03edef67dc49e26a6ce73dc96e3882" %}
[Segments - Creating according to Lead Birth Date](/en/topics/relate/segments/segments-creating-according-to-lead-birth-date.md)
{% endcontent-ref %}

### 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-us.googleusercontent.com/docsz/AD_4nXfLhSaVGgPYeAG5gR-Ty-1AjA46HbXTYLCglS-2RMpmXJAEWe0TqeTCDqClxe4qa7jO8pejJ5Gql32dSho88UnP7Vos-7X4L7eAYPPBHTmZg-m0r50aknQxeeOxwqVZ8vAoGFivU3JTyr58ZI1N_A7vyK92?key=zhEoSGvtRi5Ui0vy3EgKEQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfLUkgDtAvbBrWnnOZj4vQyFDoSyYpv4DOnrgaRlgDUgNJWOyyGcngjfjUlNXNOjIVP0AIfkLHY7e_j7S9vEaFnBhDw5ITjHEKEzJcDMDGdCUOe-zfaVTne0yBwp3J_F7gDHfQnuO5BtgxIFaE84EDB9z4L?key=zhEoSGvtRi5Ui0vy3EgKEQ" 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. If you leave it as “YES”, it will go through the flow more than once.
* Click **“Open Builder”**, to create the flow with your actions and conditions.

3. **Building the Flow:**

It is possible to create multiple blocks with actions and conditions.

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

4. **Save:**

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-us.googleusercontent.com/docsz/AD_4nXcSJx8BzIgjAo_CAFSLB8vTXOLsR0nrIEmCLiBOHYw9S8V8El2enRIZ6V-_AigPaHXk3bwaUMCYtiXm24UDCX-kqYsAViyf9HL9r7nDYqm9L889r_JrftB4wYe2NHcvP8XKbyZy5Zuk4p0gTVW-3Tuw-EnA?key=zhEoSGvtRi5Ui0vy3EgKEQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXcdJvSMlMfDrR9Sw1LVxtyy_3UP8GQisjrEksg80O4RKOF8D9MHNpFGGjeIKnKJk8CTLjfbnaTj8NgdAY_EkKZ-j-OgRLTzsIDq60ei2204BSIisF0Fx_5MbmejmAtJSMDExZrPO6pOpGImd0eWFlkrUJ4?key=zhEoSGvtRi5Ui0vy3EgKEQ" alt=""><figcaption></figcaption></figure>

*Done, your flow will now be inserting the tag into your Leads!*&#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/common-questions/automation-flows-added-tag-based-on-lead-birth-date.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.
