Action Slack
Send Slack Message
Sends a message to a Slack channel, user, or group. Requires a Slack App with a Bot Token. Optionally attach a file.
Node IDSendSlackMessageAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Slack Token Vault Key slack_token_env_var | string | Yes | SLACK_BOT_TOKEN | The NAME of the vault key that holds the Slack Bot Token (starts with 'xoxb-'). |
Channel, User, or Group ID channel_id | string | Yes | — | The ID of the destination (e.g., 'C12345ABCDE' for a channel). |
Message message | textarea | Yes | A message from your Succession pipeline. | The message content. Supports {key} templating from input data and basic Slack mrkdwn. |
File Path (Optional) file_path | file_picker | No | — | Optional file path to attach. Supports {key} templating from input data. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | No | An execution signal. The 'value' of the data object can be used to format the message template. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Success output0 | object | — | The execution path followed if the message is sent successfully. |
On Failure output1 | object | — | The execution path followed if the message fails to send. |