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

# Slack message action

> Send a message to a Slack channel from your workflow. Notify your team about call outcomes, new leads, workflow events, or any data using dynamic variables.

Send a message to a Slack channel as part of your workflow. Use this to notify your team about call outcomes, new leads, or any workflow event.

## Configuration

| Field   | Required | Description                                                                 |
| ------- | -------- | --------------------------------------------------------------------------- |
| Channel | Yes      | The Slack channel to post to. Select from a dropdown of available channels. |
| Message | Yes      | The message text. Supports `{{variables}}`. Max 2,000 characters.           |

## Variables

Include contact and workflow data in your message:

```
New conversation completed with {{firstName}} {{lastName}} ({{phone}}).
Outcome: {{outcome}}
```

Available variables: `{{firstName}}`, `{{lastName}}`, `{{email}}`, `{{phone}}`, `{{businessName}}`, plus any trigger data or previous step outputs.

## Channel access

* **Public channels** — Nedzo automatically joins the channel when posting.
* **Private channels** — You need to manually invite the Nedzo app to the channel using `/invite` in Slack before it can post.

## Token refresh

Slack tokens expire periodically. Nedzo refreshes them automatically. If a refresh fails, the action fails and the Slack integration shows a **Reconnect** prompt in your dashboard.

## Requires

Slack must be connected in **Settings > Integrations > Slack**.

## Example

**Notify sales on hot lead:**

1. Trigger: Contact tag added → "hot-lead"
2. Action: Slack message
   * Channel: #sales
   * Message: *"🔥 Hot lead: `{{firstName}}` `{{lastName}}` (`{{phone}}`) just tagged as hot lead. Follow up ASAP."*

**Post call summary:**

1. Trigger: Conversation ended → Agent Type: voice
2. Action: Slack message
   * Channel: #call-updates
   * Message: *"Call with `{{firstName}}` `{{lastName}}` — `{{outcome}}`. Duration: `{{durationSeconds}}`s."*
