Hoopla's Slack Integration now allows you to automate Slack Newsflashes, and even update Metric values, using Slack Patterns. Simply set up patterns for a Hoopla Bot to track within your Slack Channels, and we'll take care of the rest. A Slack pattern is any string of characters you wish to track. You can track anything, such as "Congratulations," "Gut update," or even "Lunch at..." and our Hoopla bot within Slack will take that pattern and apply it to a Newsflash or update a Metric.

*Note: You must have an active Slack account configured in order to use this integration.

Defining Slack Patterns

  1. In the Configure tab, click Slack Integration under Integrations in the left nav.  Alternatively, click the Integrations tile and then Slack Integration tile.

  2. Scroll down to Patterns for Hoopla Bot.

  3. Click Add and select whether to define a Pattern to trigger a Newsflash or update a Metric value. 

  4. Specify a name for this Pattern. 

  5. Specify the Slack channels for which this pattern applies.  Note that if you choose a specific channel, we will automatically add the Hoopla Bot to that channel, but if you select All Slack channels, you must manually invite the Hoopla Bot to channels where you want this pattern to apply. 

  6. Specify the Slack users for which this pattern applies.

  7. Enter the Pattern.  A pattern is any string of letters or characters that you want your Hoopla Bot to look for in your specified Slack Channels.  For example, when the word "Congratulations" or "Alert" appears, fire a Newsflash, or when the words "Closed Won" or "New Trial" appears, increase a Metric value.

  8. If you want your Hoopla Bot to track a regular expression, you must click on "Show advanced settings" and check the box that says "Treat as regular expression." For tips on formatting and using regular expressions, check out this help site.

  9. Depending on whether your pattern is for a newsflash or updating a metric, continue with the appropriate section below.

Pattern for Newsflash

  • Give your Newsflash a Title

  • Select whether to use entire Slack message as Newsflash message or create a message template. You may include capture groups from your regular expression, if applicable.

  • Optionally, add Watchers who can view posted Slack Newsflashes in the Activity tab of the web and mobile apps.

  • Click OK and then Save.

Pattern for Metric Update

  • Give your Metric Update a Title

  • Select a Metric to update

  • Select a User/Team/Generic Identifier to update

  • Indicate how you wish to update the Metric value.  You can Increase, Decrease or Set to a specific value.  Note: If you input a Regular Expression in the Patterns box, you may also choose to Increase/Decrease by a capture group.

  • Click OK and then Save.

Tip: If you created a Newsflash, don't forget to add it to the Channels you wish to see it fire on.

Did this answer your question?