Slack
output.slack Output v0.1.0 Sends a Slack message (text or Block Kit blocks) to a channel via chat.postMessage with a bot token. Leave the text blank to send the input payload as pretty-printed JSON.
Ports
| Direction | Port | Label |
|---|---|---|
| Input | input | Payload |
| Output | output | Send result |
Properties
| Property | Type | Default | Description |
|---|---|---|---|
CredentialcredentialId | credential | "" | Use a stored credential for this connection — its fields are filled in at run start. Pick "None" to enter the connection details manually. accepts credential templates: slack-bot |
Bot tokentoken | string | "" | Slack bot token — use ${credential.slack-bot.botToken}. Empty is allowed here; it must resolve by run time. |
Channelchannel | string | "" | Channel ID (C…) or #name to post into. |
MessagemessageMode | select | "text" | Plain text, or Block Kit blocks. textblocks |
Texttext | string | "" | Message text. Leave blank to send the input payload as pretty-printed JSON. Shown when (messageMode ?? "text") === "text" |
Blocksblocks | json | [] | Block Kit blocks as a JSON array. Shown when messageMode === "blocks" |
Thread ts fieldthreadTsField | string | "" | Dot-path to a thread timestamp on the input — when set, the message is posted as a thread reply. |
Base URLbaseUrl | string | "https://slack.com/api" | Slack API base URL (override for testing). |
Timeout (ms)timeoutMs | int | 15000 | Abort the request after this many milliseconds. |
This page is generated from the node registry by gen-node-docs.mjs on every
site build — ports, properties, defaults and visibility rules cannot drift from the code.