This step allows you to get a conversation from a slack channel.
- SlackStepsGetConversation.zip - Workflow zip file with the step and example flow
- slack.png - Slack logo
The Slack - Get Conversation step gets a conversation from Slack, and can be configured to limit the number of messages and remove bots from conversation.
The Slack - Beautify Conversation step takes the output of the Slack - Get Conversation step and makes it useable in an xMatters Notification.
None, just configure the OAuth in xMatters.
- Download the SlackStepsGetConversation.zip file onto your local computer
- Navigate to the Workflows tab of your xMatters instance
- Click Import, and select the zip file you just downloaded
- Create a new endpoint for Slack, and use the Slack endpoint type.
The Slack - Get Conversation and Slack - Beautify Conversation steps are now available in your custom steps. So navigate to the appropriate canvas so you can add the step there. If you'd like to experiment with it, the Get Conversation workflow has a canvas that can be triggered via HTTP call.
Name | Required? | Min | Max | Help Text | Default Value | Multiline |
---|---|---|---|---|---|---|
Channel Name | Yes | 0 | 2000 | The name of the Channel in Slack | No | |
Max Messages | Yes | 0 | 2000 | How many messages to get | 100 | No |
Display Apps? | Yes | 0 | 2000 | Whether to get Bots and Apps. Either true or false | true | No |
Blacklist | No | 0 | 2000 | Comma-separated list of any uses or bots names that should not be included | No | |
Filter | No | 0 | 2000 | Only shows chat with this found in it. Is Filter Regex controls whether this is inputted as a regular expression |
No | |
Is Filter Regex? | Yes | 0 | 2000 | This is either (true) if the filter is written as a regular expression or (false) if it isn't | false | No |
Name | Description |
---|---|
Conversation | Conversation from channel. |
Name | Required? | Min | Max | Help Text | Default Value | Multiline |
---|---|---|---|---|---|---|
Conversation | Yes | 0 | 2000 | Conversation from the Slack - Get Conversation Step | No | |
Time Zone | Yes | 0 | 2000 | Name of timezone. Find options here | America/New_York | No |
Name | Description |
---|---|
result | Beautified conversation |
This is an example of using both the Slack - Get Conversation and Slack - Beautify Conversation steps.