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

# 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 in the Lead, it is possible to identify and automatically associate a specific Company, ensuring that the information is always synchronized. In addition, you can update the Company's data as the Lead changes, keeping the CRM organized, accurate, and requiring less manual effort. This automation provides greater 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 available in SAC 360° and CRM Automations.</mark>
{% 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_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 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_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\. **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_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 sidebar.

&#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 sales results.


---

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