# Automation Flows - Synchronize Lead Source

### With SprintHub, it is possible to synchronize the Lead source based on the primary company associated with it, as well as on other Leads linked to the same company.

{% hint style="info" %} <mark style="color:blue;">This action is also in the 360º SAC and CRM Automations.</mark>
{% endhint %}

It is recommended to create a segment to start the flow; to create “Segments”, see the link below:

{% content-ref url="/pages/430a797159546371edd1e2fbb2a4fe8a2e3ddca4" %}
[Segments](/en/topics/relate/segments.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-rt.googleusercontent.com/docsz/AD_4nXe9IEdS_8nWvXlDLPEv0NKioowDBgyG1o0mnsiQ2hm6Cea7xziZ61QuelheNuOBhTpNgkUM67NSgN3yXEBKM3dbEjHKHDbiHp-CHiV8k3wZNlSgiD7cQj4DQPBIELI9znA_psYCTw?key=RQsdaZnR6zkhwznCm_Ph05yn" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXefAqdFddM15UY0I8zZu87ANOHOB1tCOBijlRTTEhao4T3z_W79UxP-9zJgc9yAr_sxI5mRMMCIoP4_GrdBikLnu3ByBFZmItex29Wh4PHBMoRMAdZ7yJbObtX93sN1Q0jhouV4?key=RQsdaZnR6zkhwznCm_Ph05yn" 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 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_4nXdEQH4kz5juA2N70gMP3UTBGUldxirzMb5TmdFPK_DKefyM_KEr8PkVtJlpofDuxMs57luZ0ty-5wem3GVTu-9ygdhAxqXFqPAQDSUcH6mJ_cmW2M07mrJ-RTayVwgGbruWZmz7yQ?key=RQsdaZnR6zkhwznCm_Ph05yn" alt=""><figcaption></figcaption></figure>

3. **Building the Flow:**

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

{% hint style="warning" %}
&#x20;**1. We will obtain all Leads where their primary company is the same primary company as the Lead that triggers this action.**

**2. From the obtained Leads, we will select the Lead with the oldest recorded creation date.**

**3. We will update the source of the Lead that triggers this action to the same source as the oldest Lead.**
{% endhint %}

4\. **Save the Automation Flow:**

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

* **Published:** When selecting "YES", the flow will start functioning immediately;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdHpPfHXgiK61zvvyrBfc9w6I_g3wt-fvlZTE5d1L2z4e2tx2nlK2zSK5AypEODCf4lno45wdIAUPARbxBqjgUd7ZG12CinCx4vVHUPmyxzyxw9omp-NhqMeVKa2erG9-Vl9cSVCg?key=RQsdaZnR6zkhwznCm_Ph05yn" 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_4nXd3Yn8k5PKSL3d_YcCwT99rbxJ-VfcocQ1KLWqMuUI-pjP0DpxsjdwmEpozNbDk9DdFKSscodKsijuj_pLX74wyLTWVSSZiEuXDk0HqB1c_dqBBlMfavfIQKWR1mGW9p641sIGk?key=RQsdaZnR6zkhwznCm_Ph05yn" alt=""><figcaption></figcaption></figure>

In the Lead history, the synchronization, source updates and the assignment of Lead responsibility linked to the source will be recorded.&#x20;

<figure><img src="/files/fde0b96d09e4da575a3e2406d87362f19ed52a1c" alt=""><figcaption></figcaption></figure>

**CONCLUSION:**&#x20;

Using the action to synchronize the Lead source in SprintHub brings several benefits for efficient Lead management. This feature allows centralizing information, ensuring that all Leads associated with the same company share the same source and are properly organized. In addition, it improves the visibility of update history and facilitates the assignment of responsibilities, optimizing processes and strengthening integration between teams. It is a practical and strategic solution for those seeking to consolidate data and improve efficiency in Lead tracking.


---

# 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-synchronize-lead-source.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.
