Try it free

Actions for Slack Connector

  • Latest Dynatrace
  • Reference
  • 3-min read
  • Published Apr 29, 2026

Slack Connector Slack Connector provides the following workflow actions. Each action requires specific OAuth scopes, which you configure when setting up your Slack connection.

Send message

Send Slack messages to channels with rich formatting, reactions, and file attachments.

Slack permissions

The Send message action requires different permissions depending on the requested functionality.

ScopeWhat it enablesRequired

chat:write

Sending messages to channels and DMs.

Required

chat:write.public

Sending to public channels without the bot needing to be a member.

Optional

channels:read

Looking up public channels by name for the channel selection.

Required

channels:join

Automatically joining a public channel if the bot is not yet a member.

Optional

groups:read

Looking up private channels by name for the channel selection.

Optional

files:write

Uploading file attachments to messages.

Optional

files:read

Retrieving file information after upload (required with files:write).

Optional

reactions:write

Adding emoji reactions to sent messages.

Optional

Inputs

FieldDescriptionRequired

Connection

Connection ID.

Required

Channel

Slack Channel ID or Channel Name.

Required

messageFormat

Must be slack_format or dynatrace_markdown. Defaults to slack_format.

Required

Message

  • If messageFormat is slack_format, Slack Markdown or Slack Block Kit inputs are processed.
  • If messageFormat is dynatrace_markdown, only Markdown is supported.

Required

Reactions

A JavaScript array of reaction names.

Optional

appendToThread

The Slack thread_ts for appending the message.

Optional

replyBroadcast

true if the message should also be sent to the channel. Can only be set if appendToThread contains a valid message ID.

Optional

Attachment

An attachment JavaScript object.

Optional

Attachment

FieldDescriptionRequired

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: csv, json, markdown, text, xml, yaml.

Required

Output

FieldSample result

threadTs

123456789.01234

channelID

ABCDEF012345

messageTs

123456789.01234

permalink

https://your-environment.slack.com/archives/ABCDEFG/p12345679890

Request approval

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.

Slack permissions

ScopeWhat it enablesRequired

chat:write

Sending approval requests to channels.

Required

chat:write.public

Sending to public channels without the bot needing to be a member.

Optional

channels:read

Looking up public channels by name for channel selection.

Required

groups:read

Looking up private channels by name for channel selection.

Optional

Inputs

FieldDescriptionRequired

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

Output

FieldSample result

approvalType

internal

result[0].channelID

ABCDEF012345

result[0].messageTs

123456789.01234

result[0].threadTs

123456789.01234

result[0].permalink

https://your-environment.slack.com/archives/ABCDEFG/p12345679890

Related topics

  • Get started with Slack Connector
Related tags
Dynatrace Platform