# Automations

The **Automations** tab allows you to create automations to automate tasks in your program. It allows you to streamline repetitive tasks in your program, saving valuable time.&#x20;

### Enable the Automations tab in the admin panel:

In the **Settings** tab of the GoAffPro admin panel, go to the **Extras** section.

<figure><img src="/files/PzdgDEtp1dBLN5wmUeB4" alt=""><figcaption><p>Settings > Extras</p></figcaption></figure>

Here, in the **Automations** section, you can enable the **toggle**.

<figure><img src="/files/p7GI0TZwkKopFQNHQ2WS" alt=""><figcaption><p>Automations</p></figcaption></figure>

After enabling, the **Automations** tab will appear in the admin panel.

<figure><img src="/files/MtstwhPhkupyrTEyB2vr" alt=""><figcaption><p>Automations</p></figcaption></figure>

In the **Automations** tab, you can set up automations to automate tasks in your program. You can use it to automate tedious tasks in your program and save time.&#x20;

<figure><img src="/files/AE8ptMp8Bnbskk6jQ3dj" alt=""><figcaption><p>Automations</p></figcaption></figure>

### Create Automation

To create a new automation, click on **New automation**.

In the New Automation window, you can set the name and its type (one-time or recurring). Then, select the trigger, add the condition, and the corresponding action.

<figure><img src="/files/FzjzrJZzj7ruG5HFlqM4" alt=""><figcaption><p>New Automation</p></figcaption></figure>

**You can choose from the following triggers for automation:**

* New Order
* Runs daily
* Runs on Affiliate Signup

<figure><img src="/files/eYwlihLHWgIVkHaByn1E" alt=""><figcaption><p>Choose trigger</p></figcaption></figure>

**Here is a list of all the conditions with which you can set up automations:**

* **Affiliate's ID:** affiliate's internal database ID.
* **Affiliate's group ID:** group in which the affiliate is present. (Settings > Extras > Groups)&#x20;
* **Affiliate account age:** duration an affiliate has had an account in your program.
* **Affiliate's total net sale volume (CV):** total sale volume from the affiliate's link minus shipping, taxes, and discount.
* **Affiliate's total gross sale volume (TOTAL):** total sale volume from the affiliate's link.&#x20;
* **Affiliate's total sale count:** number of orders from the affiliate's link.&#x20;
* **Affiliate's total sale earnings:** commission amount earned by the affiliate from the sales.&#x20;
* **Affiliate's total network earnings:** commission earned from their network. (if multi-level marketing is enabled)&#x20;
* **Affiliate's total earnings:** earnings + network earnings.&#x20;
* **Affiliate's Team volume:** total net sale volume from the affiliate's downlines (if you have multi-level marketing enabled).&#x20;
* **Product Sold (name of the product):** the total quantity of products sold from the affiliate's link.
* **Order Value**
* **Affiliate tag** (with Runs daily trigger)
* **Affiliate tag age** (with Runs daily trigger)

After selecting the condition, you can set the matching value.&#x20;

<figure><img src="/files/gqdc11TqKOK1qBGtrRHz" alt=""><figcaption><p>Select Condition</p></figcaption></figure>

**You can accordingly set up corresponding actions such as:**

* Change commission group
* Give discount code
* Give bonus
* Send email
* Apply a tag
* Remove a tag
* Connect customer with affiliate
* Create affiliate account for customer

Finally, click on **Submit**.&#x20;

<figure><img src="/files/z5sr78gWNsVsEn21YLMu" alt=""><figcaption><p>Set action > Submit</p></figcaption></figure>

{% embed url="<https://youtu.be/Yg_Z5_kNgJI>" %}
Automations
{% endembed %}


---

# 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.goaffpro.com/goaffpro/admin-panel/setup/automations.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.
