# Automation Flow - Change Lead access permissions

#### With SprintHub, you can automate changing your users' access permissions to the Lead, making Lead management more efficient and saving time. This provides more convenience and control in management.

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

To learn more about the **“Lead Permissions”**, see the link below:&#x20;

{% content-ref url="/pages/aecd327d7290f2940316788784b38a915e4ea7b3" %}
[Lead Permissions](/en/getting-started/lead-permissions.md)
{% endcontent-ref %}

It is recommended to create a segment to start this 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_4nXd3FZAy2VZ23vBPj2oqa25EK1j-IWkRIyhgXCsAnFtbycAhj6HgkqylXgEne4_5OdZpA2uVEXKFD7HZbbYeENVprN3WrqcDlUowIJPpGJD8c21Az0Stv4AdMutZgij6KNkTNkSRoYfquUf2MhaceVvcrN5D?key=D0ykPXfhFqkB9QnTs7y6mg" 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_4nXezGv_BeUANjDO9ki5elCOUsTqKFFAKm1WJaaC1kDAFhwkGqSpmW9DtFiuFbv2XREawiCI5kXuyAxf__dNsLRSkt8ymoAi7_MniV5qx9z3q7u4I6pdptFD0L1dHUC5ljBnshJ1uJz4mcMWzsY62svgqLaO8?key=D0ykPXfhFqkB9QnTs7y6mg" alt=""><figcaption></figcaption></figure>

3. **Building the Flow:**

* **Action:** Change the access permissions to the Lead;

> There are many possibilities, see which best fits your strategy and need.\
> In the example, the user was not set as responsible for the Lead, only included in the permissions.

* Configure the action and include in the description exactly what the action will do;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXebDuWtqzMCqcbeRpL3SgP57wxKRAxCLf9vyW-1hb9QFkz27e_6DefOl7ji60EmLEo5P-f7a41DndLL2iHB6nRPv91N_GkGmCRJxXkeqfg_ooqaGeqnmdu0tBbZ6PzhPJM_0Jxawf3-MHJ4Rx3z6R8E0k8?key=D0ykPXfhFqkB9QnTs7y6mg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf-RiJXuWXn__KE8uwQ6oQjTLRxSFLOZiaiShsYZabLwu5F-ldEKMSD9jYrY1zXyxZD4oyhn_N68EKuncI8IdQqTItnGa2ZN12tvBPYl4oztUzAjI3OV41E3uK1BjvGDtodlP2wqqalOG7LWhzTG7zSlaIs?key=D0ykPXfhFqkB9QnTs7y6mg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeRiJNxw5Ngc7UXMq5FH_-zUynzWBX20czi5_4TzToCjD5E-ediXz-1C5GovDHOhWBe8XtNLMkyR9KXustHoJ6WpzQ6_3lFDDA4eKEiq9k5ocgrugsF1MHPR4mAatwAH1RimNCVmuo3XnMY_QKFvdyVgQ-T?key=D0ykPXfhFqkB9QnTs7y6mg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcwe5j53PpScB2KsQVtq9TXnH0By7GGI2wx25XyODyRPpUOL7nO5Kleaw9Tq76kK8AE1eRDhrqeEMN6_oHCMW6rN9RXKwvBl5lfQYZ69QAycorK8V9BvgtpkE4SLskWtSF4imQOmLXO5I0rX3lqUUnnJ88?key=D0ykPXfhFqkB9QnTs7y6mg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXebaYIRPtyXRKj6J9ovgs-DV9s1q9MQhCQBZcJ7y6LDYgcfdfSg53L1ADmfS5u79c-63ypBBk5ryfq1YrHBYUPDcwFwW2UJ7-3rgt4os6trb8QTUA4kCplVslCCOzUMV98UG0iPycrrOBONZWsY_8gutduc?key=D0ykPXfhFqkB9QnTs7y6mg" alt=""><figcaption></figcaption></figure>

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

3. **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_4nXcPb9m41pnUdUkWjHQBixt2PSS0duLPI9nr5JFhd6bSxarP41pDeTnlP9tUsnzmWbuncWrU9OctO_5KSzKhd0r9vCJ-obtf5VcYYKU58myRzgsc5jcCukktWJ1gAqK7nGJt4Tr9NsDTQT1WrhCx_O1a_r2c?key=D0ykPXfhFqkB9QnTs7y6mg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcZDYgaXNyQaLUqe2gj_99_tLPE_98Uk80-AlX4rmjLiKTtFuijrHT2gxM1HYPt0pf-NQS-wPRLdZBWYp9XrO9dR8ALSmtyDuKVK_KhME-NV9-nybJm296rdCvgxcWA4biqLcezItHrMYNEVS8lX6E3TGg?key=D0ykPXfhFqkB9QnTs7y6mg" alt=""><figcaption></figcaption></figure>

*And that's it, your data will be sent and the action completed!*&#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-flow-change-lead-access-permissions.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.
