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

# 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 it easier to manage your operations.

{% hint style="info" %}
This action is included in the 360° Customer Service Automations, CRM, and Chatbot
{% 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_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 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 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. **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_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 everyday life and more focus on the strategies that really make a difference.
