# Automation Flows: Linking a Company to a Lead

#### With SprintHub, you can automate the linking and updating of Companies based on Lead data.

Through custom fields on the Lead, it is possible to identify and automatically associate a specific Company, ensuring that information is always synchronized. In addition, you can update the Company's data as the Lead changes, keeping the CRM organized, accurate, and with less manual effort. This automation provides more agility in processes, improves customer relationships, and increases the efficiency of your sales team.

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

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_4nXcIXZM4WpAQW3IGpkzqLEbrnz4A3udylP4wDfeiYpDg5DK9liw37BZKEPDXk-ZN7OJkEdwk1HeFUZZ7kWna0RSd2FC8-xq3iW-q6Cy6Ug9cV6cNWFTsfN7QBJdm_O7ZpQK6qxLj?key=JPVkI7-O_j0UrgEirYqEexGL" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd1SmfooAn3SAewMnDXmV3wvBbV0pzOr-EyfR5_oaA7FfPz5KGiDs61UrSfFuoY_nGJzBOtJC-LJNAdtEjeURguIkYhSKp4QjeC2MHKeu9MhiNp8WaPEpJRx7VDWSPwWfPtQKrfcg?key=JPVkI7-O_j0UrgEirYqEexGL" 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_4nXe-3Zp4dWcB-0Lzeu5qR35WgWi7hiJzoHXLicHmHFm6xVQGysUlX0aMFkG0GmvJcadVD0he1NRSDWNzznXAFSur-_bcmAn7SL4hjNeJGrKneHpV8Ez-YqfHfrL4IVbf9uk6XmffSg?key=JPVkI7-O_j0UrgEirYqEexGL" alt=""><figcaption></figcaption></figure>

3. **Building the Flow:**

{% embed url="<https://youtu.be/RMox05JB-9E>" %}

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

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-rt.googleusercontent.com/docsz/AD_4nXd7L8us-gdQZCJ6cRZmjBlTYliIa1SZo6_dG17K0YCQCb3AYBP-3d47tCVjeO2QtdVPvmCQZfNRb_DV5rBIOR9DYWzDwNrIoJ_NxY7k7GZ-Br9xh5GFkmBEnRiHnKhZUlN6_7a1Ww?key=JPVkI7-O_j0UrgEirYqEexGL" 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_4nXeQ1k9tkourkYieYxY8sAMi8Qb6K0cyjXCdVjYRc2MLug4dcqcdPvTptrA9SOGF2g1QZFOytreLdFsYHUhZWQtb4K-s32YCHF8V9rJG2AHXkFRj3JAmPnGDFbvdoG58TxtyWZ80WA?key=JPVkI7-O_j0UrgEirYqEexGL" alt=""><figcaption></figcaption></figure>

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

&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcekUGG_20nBpctGK9whXR8tOB8KvEPwD296er3-p-UzsjX8sfaVsoshY6T7QhwmZd6_sQI1snh2L1O4XcwGU090YEO_WrVVOaRmL03rr-DE4BrXZQxGBrScN9GVoUJI10UwP8kOQ?key=JPVkI7-O_j0UrgEirYqEexGL" alt=""><figcaption></figcaption></figure>

**CONCLUSION:**&#x20;

With this automation, your team gains more agility, reduces manual tasks, and ensures that data is always up to date and consistent. This translates into more efficient processes, better decision-making, and a more strategic database to drive commercial results.


---

# 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-linking-a-company-to-a-lead.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.
