ThingWorx Flow > Connectors Overview > System Connectors > Slack > Fetch Messages and Events from Private Channel
  
Fetch Messages and Events from Private Channel
Use this action to retrieve all the messages and events from a private channel in your Slack account.
Using the Fetch Messages and Events from Private Channel Action
To use this action in your workflow, connect it to ThingWorx Flow. To create a flow, do the following:
1. Drag the Fetch Messages and Events from Private Channel action under the Slack connector to the canvas, place the pointer on the action, and then click or double-click the action. The Fetch Messages and Events from Private Channel 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 Private Channel ID field, select the private channel ID from which you want to fetch messages and events.
5. In the Count field, specify the number of messages that must be returned. You can specify any value between 1 and 1,000.
6. Click + to view additional settings:
In the Start Time field, click to select the start time range of the messages you want to include in the results.
In the End Time field, click to select the end time range of the messages you want to include in the results.
In the Inclusive list, select one of the following options:
true—Includes messages with the latest or oldest timestamp in the results.
false—Does not include messages with the latest or oldest timestamp in the results.
7. Click Done.