slack.uploadFile uses Slack’s external upload flow. Omit conversationId to keep the file private to the app, or set it to share the file in a conversation or thread.
Example
automations/upload-slack-report.automation.ts
Inputs
Output
Returns a Slack file withid and optional or null name, plus title, mimeType, fileType, size, permalink, authenticated urlPrivate, uploader userId, creation time, and sharing channelIds when Slack supplies them.
The action fails if Slack can’t issue an upload ticket, the file transfer returns a non-success HTTP status, or Slack completes the flow without a file.