> ## 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.

# Affinity Automation Updates To Slack And Send Note To Affinity

> Help center reference

<Note>**Reference** — lookup information.</Note>

**Note**: This functionality is not related to that found in the [Affinity Notes to Slack Channel](/s/article/Affinity-Notes-to-Slack-Channel) integration Use Affinity's new Automation Builder to set up automations between Affinity and Slack and expedite your workflow.

## Overview

* Prerequisites
* Automation 1 - Trigger Slack notifications based on field updates in Affinity
* Automation 2 - Send notes from Slack to people, organizations, and opportunities in Affinity
  * Option 1 - On an existing Slack message
  * Option 2 - Global shortcut on a new Slack message
* Important Callouts

## Prerequisites

* You must be on the **Advanced** or **Enterprise** tier in order to access the Automations Builder.
* You must also have the right account role in order to create and manage automations (see the section titled "How to create an automation" in [Getting started with automations in Affinity](/s/article/Admin)).
* Your IT team may need to approve the Affinity app for Slack by clicking on [this link](https://affinity.co/slack/auth/install) (see [Welcome to Affinity for Slack](/s/article/Welcome-to-Affinity)).
  * If this is your first time [installing the Affinity app](https://affinity.co/slack/auth/install) for Slack, a window will pop up and ask you to click **Allow**.

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/6.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=a2f29323a8b320c8389c618458bccccb" width="1382" height="1392" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/6.jpg" />

* If you run into the message about Slack workspace owners, you can either ask your IT team to temporarily make you a Slack workspace owner or wait until the Affinity app gets approved for general use in the Slack Marketplace.

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/2.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=aaa0ae3a6abed487410ff42108e0d98b" width="567" height="333" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/2.jpg" />

* If your Slack workspace requires admin approval for new Slack apps, send your Slack workspace admin (often an IT person) these three links:
  1. [Welcome to Affinity for Slack](/s/article/Welcome-to-Affinity)
  2. [List of requested Slack scopes and reasons](/s/article/List-of-requested-Slack-scopes-and-reasons)
  3. [Affinity for Slack direct install link](https://affinity.co/slack/auth/install)

## Automation 1 - Trigger Slack notifications based on field updates in Affinity

This action will send a customized notification to the Slack channel/DM of your choice based on field updates made in Affinity.

1. First, click on **Settings** on the left side of your screen.

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/3.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=0c43c1da27aca3af467c6fd515c1c1d5" width="292" height="366" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/3.jpg" />

2. Click on **Automations**, then click **New Automation** on the top-right corner.

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/4.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=ffd049e03374a82dd29e9c180f77a754" width="1131" height="711" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/4.jpg" />

3. Once you set up the trigger in the "If" section, select the **Send Slack Notification** option in the "Then" section. If this is your first time, click **Get Started** to authenticate your Slack account.

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/5.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=8ae87a37835dbefac0c9f97d55e72e99" width="563" height="624" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/5.jpg" />

4. A window will pop up and ask you to click **Allow** so that Affinity can send messages to your Slack workspace.
5. If your Slack workspace requires admin approval for new Slack apps, send your Slack workspace admin (often an IT person) the three links above.
6. Once you've finished authenticating your Slack account, continue with the steps below:

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/7.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=5f8453590bb7f266149c9772902720e7" width="656" height="490" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/7.jpg" />

1. **Then - Send Slack Notification** will enable you to automatically send field update notifications to a channel or user of your choice.
2. **Authentication** - Select the Slack workspace you just signed into.
3. **Audience** - Select between sending this automated message to an individual person or to a Slack channel.
4. **Member/Channel** - Select the specific Slack user or channel that you'd like to send this automated message to.
5. **Message** - Click the **+ Add Token** button to customize your message with details regarding the trigger and action that took place. Examples of tokens include:
   1. **Changer Name** - The person who initiated the trigger.
   2. **Current Value** - The current value of the triggering field.
   3. **Domain/Email Address** - The domain or email address of the entity whose field value was changed to trigger the automation.
   4. **Name** - The name of the entity whose field value was changed to trigger the automation. You can choose to hyperlink this text with the relevant Affinity profile, list, or website.
   5. **Previous Value** - The previous field value of the triggering field.
   6. Other list-specific, global, or enriched field data on the triggering entity.
6. Once you save your automation, you can click on the automation's title to **view** its details or click the 3-dotted icon to **edit** the automation.

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/8.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=de1ad9541a0c418c6a1efa15ad6b30d7" width="1007" height="132" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/8.jpg" />

## Automation 2 - Send notes from Slack to people, organizations, and opportunities in Affinity

Once you've successfully [installed the Affinity app](https://affinity.co/slack/auth/install) on Slack, you will be able to directly attach notes to an entity of your choice via Slack. This can be done in two different ways:

### Option 1 - On an existing Slack message

1. Click the 3 dots next to an existing message, then click the **Add note** option containing the Affinity logo.

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/9.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=3bdd119efb4c5150075b4f8c99efcdd6" width="677" height="436" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/9.jpg" />

2. From here, select an entity, add the contents of the note, then click **Add Note** to finish.

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/13.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=6b3c214638db5bc8b9f85cdea944c1d5" width="541" height="446" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/13.jpg" />

### Option 2 - Global shortcut on a new Slack message

1. Type `/add-note help`, and you will see this internal message appear, showing you the two shortcuts available for adding notes to Affinity:
   1. `/add-note` - Opens a modal where you can select a record and type a note.
   2. `/add-note [text]` - Opens a modal with \[text] pre-filled in the **Note** field (you can still edit it).

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/11.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=e51a2849d21b0cfcc47670bda4b29124" width="1278" height="396" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/11.jpg" />

2. To keep things simple, type `/add note`, then select the **Add Note** option containing the Affinity logo.

<img src="https://mintcdn.com/support-affinity/3k_xt_h7CNCglWwr/images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/12.jpg?fit=max&auto=format&n=3k_xt_h7CNCglWwr&q=85&s=badc6e7e6154e7493144a914df87be44" width="681" height="306" data-path="images/integrations-slack-teams/affinity-automation-updates-to-slack-and-send-note-to-affinity/12.jpg" />

3. From here, select an entity, add the contents of the note, and click **Add Note** to finish.

## Important Callouts

* The Automation Builder as a whole does not yet support:
  * Complex triggers or actions (e.g. If *Status = In Progress* AND *Team = Fintech*, Then Update *Owner to Jane Smith* AND *Send a Slack Notification to #general*).
  * Triggering off of enriched fields (e.g. Affinity Data fields).
* The "Send Slack Notification" action does not yet support:
  * @ mentions in Slack
  * Sending to group DMs in Slack.
* Automation 2 - Send notes from Slack to people, organizations, and opportunities in Affinity
  * This is only available for those who are fully active and syncing users of Affinity.
  * This is **not** available for team members on your Slack workspace who do **not** have access to Affinity.
* Though you will see that the Affinity app is not yet approved by Slack, the authentication will still work as intended.
