# Workflows Slack Integration

> Learn how to send Slack messages from a Workflow, include dynamic values in them, and post to an alternate channel.

Source: https://help.withpersona.com/articles/7KM3MiMZhGSuqYGqsICjSA/
Section: Marketplace and 3rd-Party Integrations > Communication > Slack

ℹ️

This article describes how to use the older version of the Slack integration that depends on Slack
webhooks. For the newer method, see{' '}

<a href="/articles/7FlnOvBKFu6k7sunbzQH0K/">Set up Slack integration</a>.

## Overview

You can automatically send [Slack](https://slack.com/) messages from a Workflow using Persona's Slack integration.

In this article, you’ll learn how you can use Workflows to:

- Send a Slack message.
- Include dynamic values in a Slack message.
- \[Deprecated Slack webhooks only\] Post into a different Slack channel than the default defined by your Slack webhook.

## Background

- Before you can set up the Slack integration in Persona, you’ll need to create an incoming webhook URL for your Slack instance. For instructions, see [this guide from Slack's help center](https://api.slack.com/messaging/webhooks).
- Learn the basics of [how to create and edit a Workflow](https://help.withpersona.com/articles/20Zvcq50493eMUdt7aDhRY/).

### Prerequisites

- To edit a Workflow, you need the following permissions in your Persona organization: "Create new workflow and make updates to existing workflows".

## Send a Slack message from a Workflow

The Slack integration is available in Workflows as an Action step.

To make your Workflow send a Slack message:

1.  Add an Action step type to the Workflow.
2.  In the Configuration section, find the Action input. Select: **App Integration > Slack > Send Slack Message**.
3.  Configure the required settings:
    - **Slack Webhook URL**: an incoming webhook URL for your Slack instance. Note: this URL defines the Slack channel where messages are sent.
    - **Message**: the content of the Slack message.
      - See [Slack's documentation](https://api.slack.com/reference/surfaces/formatting) to learn how you can format your message.

4.  Save the Workflow, and publish it when you’re ready to roll out the change.

## Include dynamic values in a Slack message

The Slack message can include dynamic values from other parts of the Workflow.

To view and insert available variables, click the "**+**" sign on the side of the "Message" field.

### Examples

You can copy and paste these examples into the “Message” field.

**Inquiry approved**

ℹ️

You can use `{{trigger.status}}` to get the current status of the inquiry, and use that in a workflow conditional to determine whether to send this message.

```text
  An inquiry has been *approved.*
  See the inquiry in Persona <https://app.withpersona.com/dashboard/inquiries/{{trigger.id}}|here>
```

**Additional information about an inquiry**

`Reference ID: {{trigger.account.reference\_id}}`  
`First name: {{trigger.fields.name\_first}}`

## \[Deprecated\] Post into a different Slack channel than the default

ℹ️

This setting only works for an older, now-deprecated version of Slack webhooks.

To post into a different Slack channel than the one specified by your webhook, specify the alternate Slack channel in the **Advanced Configuration > Recipient Override** setting of the Action step.

Note that in order for your message to successfully post, your Slack webhook must have permission to post into that channel.

The alternate Slack channel name can contain dynamic values. To view and insert available variables, click the "**+**" sign on the side of the Recipient Override input.

## Plans Explained

### Slack Integration by plan

|                   | Startup Program | Essential Plan | Growth Plan | Enterprise Plan |
| ----------------- | --------------- | -------------- | ----------- | --------------- |
| Slack Integration | Not Available   | Not Available  | Limited     | Available       |

[Learn more about pricing and plans](https://withpersona.com/pricing?utm_source=product&utm_medium=referral&utm_audience=a&utm_campaign=cm_gen_ds_hc-plan-table).
