---
isPublished: true
knowledgeIndex: false
hidden: true
noindex: true
template: "page.peb"
title: "Slack Message Flow Action"
description: "Queue a formatted message for a configured Slack channel webhook."
contentType: "reference"
audience: "admin,developer"
---

# Slack Message

Queue a formatted message for a configured Slack channel webhook.
The namespaced Apex action name is `rooms__SlackPublisher`.
Check action availability and input fields in your installed package.

## Transaction summary

| Effect | Behavior |
| --- | --- |
| API callout | No immediate API callout. The Slack request is sent in queued work. |
| Record writes | No business-record write is performed by this action. |
| Queued work | Yes. The Flow does not receive delivery status from Slack. |
| Email | No email is sent. |

Keep the channel webhook URL in approved configuration. Do not place it in public examples.
When Record ID is supplied, record merge fields are resolved and a record-link button is enabled.
Use the Salesforce org domain for a useful record link. The default domain is not an org-specific record URL.
A queued message is not proof that Slack accepted or displayed it.

## Inputs

**Required** describes the Flow input setting. The processing rules above also apply.

| API name | Flow label | Required | Default or guidance |
| --- | --- | --- | --- |
| `webhookURL` | Slack Channel Webhook URL | Yes | Configured Slack channel webhook URL. |
| `headline` | Slack Headline | No | Default: `Salesforce event`. |
| `message` | Slack Message | No | The Slack message text. Optional record merge fields use Record ID. |
| `recordBlockEnabled` | Record Button Enabled | No | Default: `false`. Supplying Record ID enables the record-link button. |
| `recordID` | Record ID | No | Optional source record for merge fields and the record link. |
| `recordURL` | Record Domain URL | No | Default: `https://www.salesforce.com/`. Set the intended Salesforce org domain for record links. |
| `linkText` | Record Link Text | No | Default: `Open record.`. Text for the record-link button. |

## Outputs

This action returns no Flow outputs. Connect its Fault path and verify the resulting records or delivery separately.

## Configure the Flow

1. Select the approved channel webhook configuration.
2. Set the headline and message. Add record context and a suitable record domain when required.
3. Connect the Fault path and verify the message in the intended channel.

Review the Flow context, Apex action access and the object and field permissions needed by this operation.
Record writes can run other Salesforce automation.
For API work, also review the configured Salesforce API connection user's required access.

## Troubleshooting

**No message appears.** Check webhook configuration, queued processing and the destination channel before repeating.

**Record link opens the wrong destination.** Set Record Domain URL to the intended Salesforce org domain.

**A later callout fails.** Queueing the Slack message can leave pending work in the current transaction.

See the [Flow action index](/content/build/flows/index.md) for transaction guidance and related actions.
