Slack Connector provides the following workflow actions.
Each action requires specific OAuth scopes, which you configure when setting up your Slack connection.
Send Slack messages to channels with rich formatting, reactions, and file attachments.
The Send message action requires different permissions depending on the requested functionality.
| Scope | What it enables | Required |
|---|---|---|
| Sending messages to channels and DMs. | Required |
| Sending to public channels without the bot needing to be a member. | Optional |
| Looking up public channels by name for the channel selection. | Required |
| Automatically joining a public channel if the bot is not yet a member. | Optional |
| Looking up private channels by name for the channel selection. | Optional |
| Uploading file attachments to messages. | Optional |
| Retrieving file information after upload (required with | Optional |
| Adding emoji reactions to sent messages. | Optional |
| Field | Description | Required |
|---|---|---|
Connection | Connection ID. | Required |
Channel | Slack Channel ID or Channel Name. | Required |
messageFormat | Must be | Required |
Message |
| Required |
Reactions | A JavaScript array of reaction names. | Optional |
appendToThread | The Slack | Optional |
replyBroadcast |
| Optional |
Attachment | An attachment JavaScript object. | Optional |
| Field | Description | Required |
|---|---|---|
title | The title or name of the attachment in Slack. | Required |
Content | The attachment contents. | Required |
File type | The MIME type of the attachment. Supported values: | Required |
| Field | Sample result |
|---|---|
threadTs |
|
channelID |
|
messageTs |
|
permalink |
|
Send an approval request to a Slack channel and pause the workflow until a response is received.
When the workflow reaches this action, it sends a message with Approve and Decline buttons to the specified channel and pauses the workflow. When an approver responds, or the configured timeout is reached, the workflow resumes and posts the outcome as a reply in the original message thread.
Configure the timeout in the action's Options tab.
| Scope | What it enables | Required |
|---|---|---|
| Sending approval requests to channels. | Required |
| Sending to public channels without the bot needing to be a member. | Optional |
| Looking up public channels by name for channel selection. | Required |
| Looking up private channels by name for channel selection. | Optional |
| Field | Description | Required |
|---|---|---|
connection | Connection ID. | Required |
channel | Slack Channel ID or Channel Name. | Required |
Message | A message sent with the approval request. Only Slack Markdown is supported. | Required |
| Field | Sample result |
|---|---|
approvalType |
|
result[0].channelID |
|
result[0].messageTs |
|
result[0].threadTs |
|
result[0].permalink |
|