Skip to main content

Slack

Type ID: slack  ·  Kind: Action  ·  Ports: 1 in, 1 out

Send messages to Slack channels, groups, and direct messages via the Slack Web API.

Credentials​

Slack

Resources & operations​

  • Message (message)
    • Send (send) - Send a message to a channel, group, or user.

Properties​

Common​

PropertyKeyTypeRequiredDefaultPossible valuesApplies when
ResourceresourceoptionsYesmessageMessage (message)-
OperationoperationoptionsYessendSend (send)resource = message

Message → Send​

PropertyKeyTypeRequiredDefaultPossible valuesApplies when
Channel/UserchannelstringYes''Channel name (e.g. #general), channel ID (e.g. C1234567890), or user ID (e.g. U1234567890)resource = message, operation = send
Message TexttextstringYes''Free text; supports markdown, @mentions, :emojis:, links (<url|text>)resource = message, operation = send
Advanced Message OptionsadditionalFieldsobjectNo{}Collection (see below)resource = message, operation = send

additionalFields collection options:

PropertyKeyTypeRequiredDefaultPossible values
Thread Timestampthread_tsstringNo''Parent message ts value to reply in-thread
Use MarkdownmrkdwnbooleanNotruetrue / false
Link Nameslink_namesbooleanNotruetrue / false
Unfurl Linksunfurl_linksbooleanNotruetrue / false
Unfurl Mediaunfurl_mediabooleanNotruetrue / false

Notes​

  • Channel/User and Message Text are both required; if either is empty the node errors before sending.
  • Output: { success, channel, timestamp, message: { text, ts, user, bot_id, bot_name, thread_ts } }.