Upload file
Share one or more local files in a channel or direct conversation, with an optional comment or as a thread reply.
Command in the Slack toolkit · id ooa.slack/upload_file · 6 inputs (3 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Bot token | Credential | Yes | Slack bot token (xoxb-...) from the vault; needs the files:write scope. | |
| Channel | String | Yes | Channel id, or a channel name such as #ops-alerts (looked up first). | |
| Files | List | Yes | Local file paths. | |
| Comment | String | No | Message posted with the files. | |
| Thread ts | String | No | Share in the thread of this message. | |
| Endpoint address | String | No | https://slack.com/api | API endpoint; change only for testing. |
Outputs
| Output | Type | What it is |
|---|---|---|
| file_ids | List | Slack file ids. |