> ## Documentation Index
> Fetch the complete documentation index at: https://support.affinity.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How To Set Up Automations In Affinity

> Help center reference

<Note>
  **How-to** — task-oriented recipe.
</Note>

Expedite your workflows and minimize manual data entry with the **Automation Builder** in Affinity.

<iframe src="https://www.youtube.com/embed/15K4oO6ULRQ" title="YouTube video player" frameborder="0" className="w-full aspect-video rounded-xl" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />

## Who can access the Automation Builder in Affinity?

| Essentials | Scale | Advanced | Enterprise |
| ---------- | ----- | -------- | ---------- |
| No         | No    | Yes      | Yes        |

Interested in upgrading to the **Advanced** or **Enterprise** tiers? Please reach out to your Affinity point of contact or [support@affinity.co](mailto:support@affinity.co).

## How to create an automation

* **Advanced tier**: Only Admins at the account level can create and manage automations.

* **Enterprise tier**: While Enterprise Admins and Admins at the account level can create and manage automations by default, Enterprise Admins can make changes by either removing access for Admins or extending access to Standard users as well.
  * To do so, Enterprise Admins can click **Settings** > **Users and Permissions** > **Roles** > **Edit Permissions**.
    <img src="https://mintcdn.com/support-affinity/o-djh4WEBd2aePMS/images/features-lists/how-to-set-up-automations-in-affinity/automations-1.jpeg?fit=max&auto=format&n=o-djh4WEBd2aePMS&q=85&s=c4551aaef8ee9fc56707523509dae56a" alt="Automations 1" width="1300" height="553" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-1.jpeg" />

* From here, the Enterprise Admin can check/uncheck the boxes accordingly under the **Automations** section.

## Part 1 — Setting up the trigger in the "If" section

Once you've confirmed that you have permission to create automations, follow these steps to set up the trigger:

1. First, click on **Settings** on the left side of your screen.
   <img src="https://mintcdn.com/support-affinity/o-djh4WEBd2aePMS/images/features-lists/how-to-set-up-automations-in-affinity/automations-2.jpeg?fit=max&auto=format&n=o-djh4WEBd2aePMS&q=85&s=31f75646d5adcfd9520f03d0bb2a81c5" alt="Automations 2" title="Automations 2" style={{ width:"31%" }} width="292" height="366" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-2.jpeg" />

2. Click on **Automations**, then click **New Automation** on the top-right corner.
   <img src="https://mintcdn.com/support-affinity/o-djh4WEBd2aePMS/images/features-lists/how-to-set-up-automations-in-affinity/automations-3.jpeg?fit=max&auto=format&n=o-djh4WEBd2aePMS&q=85&s=ff6706fadfe9eff9eeba231070500159" alt="Automations 3" title="Automations 3" style={{ width:"71%" }} width="1131" height="711" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-3.jpeg" />

3. Now, name your automation and fill out the following fields for the trigger in the "If" section:
   <img src="https://mintcdn.com/support-affinity/o-djh4WEBd2aePMS/images/features-lists/how-to-set-up-automations-in-affinity/automations-4.jpeg?fit=max&auto=format&n=o-djh4WEBd2aePMS&q=85&s=fa24658f39b1c7a945e4c67eda3430c8" alt="Automations 4" title="Automations 4" style={{ width:"68%" }} width="669" height="469" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-4.jpeg" />

4. **Name** — Give your automation a name. We highly suggest naming your automation in the following format so that you can easily identify which list and which fields each automation consists of:
   **Example:** `Deals: Owners -> Team`
   ```text theme={null}
   [List Name]: [Field used for trigger] -> [Field used for action]
   ```

5. **Field Type** — Choose between **List-Specific Field** and **Global Field**, which will determine which fields you can select from (see Step 4 below). **Enriched Fields** are not supported for automations.

6. **List** — If you chose **List-Specific Field** in Step 2 above, select the list that contains the list-specific field you'd like to use as the trigger. You will only be able to select a list that you have access to — it does not matter what your permissions are at the list level.

7. **Field** — Select the field that will act as the trigger for the automation (see [Field types that can be used to build automations](#field-types-that-can-be-used-to-build-automations)).

8. **Operator + Value** — There are nine different types of operators available at this time:
   * **after** — only available for date-type fields.
   * **before** — only available for date-type fields.
   * **contains** — only available for text-type fields. Please note, it is **case-sensitive**.
   * **has any of** — available for fields that support multiple values (uses the "OR" logic so that any one of the field values acts as a qualifier instead of having to include all the field values).
   * **is any of** — only available for fields that support a single value.
   * **is greater than** — only available for number-type fields.
   * **is less than** — only available for number-type fields.
   * **is empty** — available for all field types.
   * **is not empty** — available for all field types.

## Part 2 — Setting up the action in the "Then" section

Now that you've set up the trigger, fill out the following fields for the action in the "Then" section by following Option 1 or Option 2 below:

### Option 1 — Update Field

<img src="https://mintcdn.com/support-affinity/Ipx3ZIq61dWRlexN/images/features-lists/how-to-set-up-automations-in-affinity/automations-5.jpeg?fit=max&auto=format&n=Ipx3ZIq61dWRlexN&q=85&s=09e6f40a220310f07ae0b31d1aca657b" alt="Automations 5" width="698" height="278" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-5.jpeg" />

1. **Then** — **Update Field** will enable you to automatically update another list-specific field from the list that you selected from the "If" section above, or update a global field.
2. **Field Type** — Choose between **List-Specific Field** and **Global Field**, which will determine which fields you can select from (see Step 3 below). **Enriched Fields** are not supported for automations.
3. **Field** — Select the list-specific field or global field that will get updated automatically.
4. **New value** — Enter the field value(s) that should be automatically applied as a result of the trigger from the "If" section above.

Once you're done, click **Save** on the top-right corner and you're all set.

### Option 2 — Send Slack Notification

Please follow the steps in this article: [Set up automations between Affinity and Slack](/s/article/Affinity-automation-updates-to-Slack-and-Send-note-to-Affinity)

## Part 3 — View and/or edit existing automations

As you and your team members create more automations, you can see them all on the **Automations** tab.

1. Click on an automation's name to view the automation's details.

2. Click on the **3-dotted icon** on the right of each automation to **Edit** or **Delete**.
   <img src="https://mintcdn.com/support-affinity/Ipx3ZIq61dWRlexN/images/features-lists/how-to-set-up-automations-in-affinity/automations-6.jpeg?fit=max&auto=format&n=Ipx3ZIq61dWRlexN&q=85&s=c8783cc95c235b9e06344d79be89982b" alt="Automations 6" width="959" height="492" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-6.jpeg" />

3. With these automations now running, the user who triggers these automations with their field value updates will get recorded on the Activity Timelines of people, organization, and opportunity profile pages.

## Field types that can be used to build automations

All field types (except for [Formula](/s/article/How-to-create-list-calculations-using-the-formula-field)) can be used for both the "If" and "Then" sections:

* Date
* Dropdown
* Location
* Number
* Organization
* People
* Ranked Dropdown
* Text

## What will cause an automation to run?

Automations will get triggered by updating a field in any of the following product areas:

* Lists (sheet view and board view)
* Profiles
* Extensions ([Pathfinder Chrome Extension](/s/article/Affinity-CRM-and-Affinity-Alliances-How-to-use-Affinity-s-Pathfinder-Chrome-Extension) and [Outlook Add-In](/s/article/Affinity-CRM-How-to-use-Affinity-s-Outlook-Add-in))
* Mobile App
* API

## What will cause an automation to break?

* Automations will **not** get triggered by updating a field via data imports.
* There are also **four** scenarios in which an automation may break or get deleted:

<img src="https://mintcdn.com/support-affinity/Ipx3ZIq61dWRlexN/images/features-lists/how-to-set-up-automations-in-affinity/automations-7.jpeg?fit=max&auto=format&n=Ipx3ZIq61dWRlexN&q=85&s=fa1a3933b4987e8929bdaa81e30cb878" alt="Automations 7" width="2084" height="252" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-7.jpeg" />

* **Scenario 1 — List Deletion**
  * If a list gets deleted, any automations using this list will get deleted as well.
  * **Solution**: Recreate the automation from scratch.

* **Scenario 2 — Field Deletion/Change**
  * If a field gets deleted, any automations using this field will break.
  * If a dropdown option from a dropdown-type field gets deleted, any automations using this dropdown option will break.
  * If a field gets converted from one field type to another (e.g. text to dropdown), any automations using this field will break.
  * **Solution**: Click the **3-dotted icon** on the right of each automation to **Edit** or **Delete**.
  <img src="https://mintcdn.com/support-affinity/Ipx3ZIq61dWRlexN/images/features-lists/how-to-set-up-automations-in-affinity/automations-8.jpeg?fit=max&auto=format&n=Ipx3ZIq61dWRlexN&q=85&s=7d61084232d6eaaf5dd484e5b23d2295" alt="Automations 8" width="1025" height="191" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-8.jpeg" />

* **Scenario 3 — Entity Deletion/Merge**
  * If an entity (a person or an organization) gets merged into another entity or deleted, any automations including this entity will break.
  * **Solution**: Click the **3-dotted icon** on the right of each automation to **Edit** or **Delete**.
  <img src="https://mintcdn.com/support-affinity/Ipx3ZIq61dWRlexN/images/features-lists/how-to-set-up-automations-in-affinity/automations-9.jpeg?fit=max&auto=format&n=Ipx3ZIq61dWRlexN&q=85&s=90356bc076f50d76efdcc5fa7a505e5b" alt="Automations 9" width="1025" height="191" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-9.jpeg" />

* **Scenario 4 — Network/Authentication Error**
  * If there is a loss in network connection, all automations will temporarily break until connection is restored.
  * If the authentication to a third-party app (e.g. Slack) is broken, any automations using this authentication will break.
  * **Solution**: Restore your network connection and/or re-authenticate accordingly.

## Important Callouts

* [Enriched fields](/s/article/Enriched-Global-and-List-specific-Fields) cannot be used for automations at this time.
* Automations will **not** backfill data when created. They will only run for field value edits moving forward.
* When a user gets deactivated/removed from the account, the automations they created will continue to run with no interruptions. Their automations can be paused, edited, and/or deleted by others who have permissions to manage automations.
* You can **not** create automations on lists that you don't have access to.
* You and your team can collectively create up to **500 automations**.
* Affinity will trigger up to **10 chain automations** at a time (automations that are triggered by other automations).
* If you selected an opportunity list in Part 1 — Setting up the trigger, then you will only be able to select list-specific fields from that same opportunity list if you select Option 1 — Update Field. Global fields will not be available for selection.
* If there are automations that are applied to a list that you don't have access to, they will be marked as a **Private List**. Simply hover over the term to identify the list owner and decide whether you'd like to request access to that particular list.

<img src="https://mintcdn.com/support-affinity/o-djh4WEBd2aePMS/images/features-lists/how-to-set-up-automations-in-affinity/automations-10.jpeg?fit=max&auto=format&n=o-djh4WEBd2aePMS&q=85&s=5d56d10333dbde283e7487c235950577" alt="Automations 10" width="1600" height="314" data-path="images/features-lists/how-to-set-up-automations-in-affinity/automations-10.jpeg" />
