Post Snippet
Use this action to post a code snippet to a room or a user.
Using the Post Snippet Action
To use this action in your workflow, connect it to ThingWorx Flow. To create a flow, do the following:
1. Drag the Post Snippet action under the Slack connector to the canvas, place the pointer on the action, and then click or double-click the action. The Post Snippet 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 Text field, enter the snippet you want to post to the channel.
5. In the Content Type field, select the type of snippet from the list.
6. Click + to view additional fields:
Title—Title of the snippet.
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.
Was this helpful?