Read Message History

Retrieve information about messages received on Slack.

Note

This card may timeout while trying to populate the Channel dropdown. This can occur when your workspace has a large number of channels that can't be retrieved within a 60 second time limit. This timeout can also occur when testing a card.

Options

Field Definition Type Required
Channel Name of the channel where the message was received.
Caution

A maximum of 200 public channels will be displayed. Even if the number of public channels don't exceed 200, API limitations may prevent some channels from being listed in the Channel dropdown.

The dropdown will display only those unarchived channels of which the user who created the Slack connection is a member. To specify a public channel that is not listed, select the Enter Channel ID option and populate the Channel ID input field.

If a failure occurs and no channels are listed in the dropdown, then only the Enter Channel ID option will be displayed.

Dropdown TRUE
Use Date or Timestamp Display option for when a message was received; options are Date or Timestamp. Dropdown TRUE

Input

Field Definition Type Required
Range
If you selected the Date option, the following input fields will be avaiable:
Start Date Start of the date range, expressed in a standard date format (for example, March 26 2021 or 03-26-2021). Date & Time FALSE
End Date End of the date range, expressed in a standard date format (for example, March 26 2021 or 03-26-2021). Date & Time FALSE
If you selected the Timestamp option, the following input fields will be available:
Start Timestamp Start of the timestamp range, expressed in Unix time. String FALSE
End Timestamp End of the timestamp range, expressed in Unix time. String FALSE

Output

Field Definition Type
Messages
Text Content of the message. String
Timestamp Timestamp when the message was sent. Date & Time
Author ID ID of the user who sent the message. String

Related topics

Slack connector

About the elements of Okta Workflows

Slack API