Slack: Delete Message
Delete a message from a Slack channel via native OAuth integration. Removes a previously posted message using its channel and timestamp. Ideal for: message cleanup, temporary alerts, automated moderation.
Catalog action Integrations slack
Delete a message from a Slack channel via native OAuth integration. Removes a previously posted message using its channel and timestamp. Ideal for: message cleanup, temporary alerts, automated moderation.
At a Glance
| Field | Value |
|---|---|
| Action ID | slack-delete-message |
| Category | Integrations |
| Connector | slack |
| Requires gas | No |
| Funds movement | None declared |
| Tags | slack, messaging, notification, write, chat |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
channel | string | Yes | Channel ID containing the message |
ts | string | Yes | Timestamp of the message to delete |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | - |
data | object | No | - |
Examples
json{ "type": "slack-delete-message", "payload": { "channel": "example-channel", "ts": "example-ts" }, "children": [], "connector": { "type": "slack", "id": "conn_slack" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/slack-delete-message/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "channel": "example-channel", "ts": "example-ts" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
