Slack: Upload File logo

Catalog action Integrations slack

Upload a file to Slack via the 3-step external upload API. Gets an upload URL, uploads the content, then completes the upload. Ideal for: sharing reports, CSV exports, log files, generated documents.

At a Glance

FieldValue
Action IDslack-upload-file
CategoryIntegrations
Connectorslack
Requires gasNo
Funds movementNone declared
Tagsslack, integration, write

Payload Schema

FieldTypeRequiredDescription
filenamestringYesName of the file (e.g., report.csv)
contentstringYesFile content as text
titlestringNoTitle of the file
channelstringNoChannel ID to share the file in
initial_commentstringNoMessage text to include with the file
thread_tsstringNoThread timestamp to upload file as a reply

Result Schema

FieldTypeRequiredDescription
successbooleanYes-
dataobjectNo-

Examples

json
{ "type": "slack-upload-file", "payload": { "filename": "example-filename", "content": "example-content" }, "children": [], "connector": { "type": "slack", "id": "conn_slack" }}

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.

Ask a question... ⌘I