Upload File
Use this action to upload a file on one or more Slack channels.
Using the Upload File Action
To use this action in your workflow, connect it to ThingWorx Flow. To create a flow, do the following:
1. Drag the
Upload File action under the
Slack connector to the canvas, place the pointer on the action, and then click
or double-click the action. The Upload File action window opens.
2. Edit the label name, if needed. By default, the label name is the same as the action name.
3. To add a new authorization, refer to the
Authorize Slack section in the Slack connector topic.
| If you previously added a Slack authorization, select an authorization from the list. |
4. In the Upload File or Content field, select one of the following options:
◦ File—Enter the source file path.
◦ Content—Enter the file content.
5. In the File Name field, enter the name of the file you want to upload.
6. Click + to view additional fields for this action, and then select or enter the details that follow:
◦ File Type—File type identifier
◦ Title—Title of the file
◦ Initial Comment—Initial comment for the file
◦ Channel Types and Ids—Click Add, and then enter following details:
▪ Channel Type—Select the channel type from the list.
▪ Channel ID—Define the channel ID where the file is shared. If the channel ID is not defined, then the file is shown as private.
Click Add to enter multiple Channel Types and Channel IDs.
7. Click Done.