ThingWorx Flow > Connectors Overview > System Connectors > Slack > Fetch Messages and Events from Public Channel
  
Fetch Messages and Events from Public Channel
Use this action to retrieve the messages and events from a public channel in your Slack account.
Using the Fetch Messages and Events from Public 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 Public 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 Public 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 Public Channel ID field, select the public channel ID from which you want to fetch messages and events.
5. In the Count field, specify the number of messages to be returned. You can specify any value between 1 and 1,000.
6. Click + to view additional fields:
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 latest or oldest timestamp in the results.
false—Does not include messages with latest or oldest timestamp in the results.
7. Click Done.