Post Message

slack.post_message
ActionChat & messagingconnection required

Calls Slack's chat.postMessage with the connection's bot token.

Send a message to a Slack channel or user via a bot token.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Slack
Secret shape
the bot token (xoxb-…), or {"token": "xoxb-…"}
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
channel
Channel id, #name, or a user id for a DM.
stringYes———
text
Message text. Supports {{ }} expressions.
stringYes———
thread_ts
Reply in this thread (a prior message ts).
stringNo———
blocks
Optional Block Kit blocks.
arrayNo—array of object—

Output

One shape.

posted

FieldTypeExample
ok
booleantrue
channel
Channel the message landed in.
string—
ts
Message timestamp — use it as thread_ts to reply.
string—
{
  "channel": "",
  "ok": true,
  "ts": ""
}

Notes

  • The bot must be a member of a private channel before it can post there (Slack error not_in_channel otherwise).

See Post Message run in a workflow.

In a technical demo we add the Slack connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.