Slack: Delete File
Delete a file from Slack via native OAuth integration. Permanently removes the file and its content from the workspace. Ideal for: file cleanup, storage management, automated file lifecycle.
Catalog action Integrations slack
Delete a file from Slack via native OAuth integration. Permanently removes the file and its content from the workspace. Ideal for: file cleanup, storage management, automated file lifecycle.
At a Glance
| Field | Value |
|---|---|
| Action ID | slack-delete-file |
| Category | Integrations |
| Connector | slack |
| Requires gas | No |
| Funds movement | None declared |
| Tags | slack, integration, write |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
file | string | Yes | File ID to delete (e.g., F0123456789) |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | - |
data | object | No | - |
Examples
json{ "type": "slack-delete-file", "payload": { "file": "example-file" }, "children": [], "connector": { "type": "slack", "id": "conn_slack" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/slack-delete-file/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "file": "example-file" }}'
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.
