Slack: Get File Info
Get information about a Slack file via native OAuth integration. Returns file metadata including name, size, type, and download URLs. Ideal for: file tracking, content indexing, download link retrieval.
Catalog action Integrations slack
Get information about a Slack file via native OAuth integration. Returns file metadata including name, size, type, and download URLs. Ideal for: file tracking, content indexing, download link retrieval.
At a Glance
| Field | Value |
|---|---|
| Action ID | slack-get-file |
| Category | Integrations |
| Connector | slack |
| Requires gas | No |
| Funds movement | None declared |
| Tags | slack, integration, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
file | string | Yes | File ID to get info for (e.g., F0123456789) |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | - |
data | object | No | - |
Examples
json{ "type": "slack-get-file", "payload": { "file": "example-file" }, "children": [], "connector": { "type": "slack", "id": "conn_slack" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/slack-get-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.
