# Automation Flows - Action: Execute task with Copilot

#### At SprintHub, you automate Copilot (AI) tasks to generate tokens that can be used in different system actions — from sending text messages to emails and other processes. With artificial intelligence, you gain agility, optimize your time, and make the management of your operations easier.

{% hint style="info" %}
This action is included in SAC 360º Automations, CRM and in the Chatbot
{% 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_4nXdNfZD5eGNsB3szYeZKkenKWGr2W4F_6veZqOvykSpcG3EGkoiiMtjBHFvAlMSP3u5NnnzYv8WUdS0yHbc5ZXlMei2VDj1UCgZXWbba-MluWkY0xXV3XOtFomZW9KL7K8a7dAcppw?key=SBap4tLxqg5vCqzdLXZ3cTzx" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfHD4brIrGqyOW2ugSe4mGV1_mPA0TpuXLRl3norvMictHYg_5WoP-GxpITk9_eFHKGXzDP89O_cu41EjEZ_PIw1RefMZk16y9d4GBJP4qL238jpTXzuqvWmpzqnpU61qp76qZL4g?key=SBap4tLxqg5vCqzdLXZ3cTzx" 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 on “Open Builder”,** to create the flow with your actions and conditions.\ <br>

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfTBNBVGU-6YR9Q0P6Yxhwdcdemz1UnfLRq0oR8Nxlsf5QQWSGWFYibOy8mEn3Pc5Kks-tVrnhbA-blC5AkHzkfXGzVDJQD5ZYoWsPTU62OInR3vOVmOn3G4gnMDGY0klajFfsdVA?key=SBap4tLxqg5vCqzdLXZ3cTzx" alt=""><figcaption></figcaption></figure>

3. **Building the Flow:**

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

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_4nXeBRUktWRhCEsLE0BlRowc4agLjY1Gb4cbgVCrK19YJXS4t1LsaPJCUSeM6S6UDjn99HJUYVnqKsz3LP2tKz3Ctkpc4cIPdKoJwrkNaEFfwoF8PQXXABCDewM9nbnxowSiI7I0y4g?key=SBap4tLxqg5vCqzdLXZ3cTzx" 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_4nXdYjiPcBHB6hqf9V9ZPMRTSW_Nr42UgVjGhkzvnUFUeGUNpcQZh35TDecoE67DarsqJtg21OXqo1EpHLAnTVM0diTaFkVC5SPBKkIA8fqvnLD1UIJHVDE46vg_M6FpeXe4o-wBs?key=SBap4tLxqg5vCqzdLXZ3cTzx" alt=""><figcaption></figcaption></figure>

And the notification result can already be viewed:

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

**CONCLUSION:**&#x20;

Automating with SprintHub's Copilot means saving time, avoiding manual errors, and making your operations much smarter and more efficient. It's more convenience in day-to-day tasks and more focus on the strategies that truly make a difference.


---

# 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/actions/automation-flows-action-execute-task-with-copilot.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.
