Slack Forwarding

This set of commands allows you to forward new item notifications for entire stores or specific search terms to Slack webhooks. All available commands can be viewed using: !m help slack

Adding a Slack webhook

Use this command to send all new item notifications for a specified store to the provided Slack webhook. To add a Slack webhook you need to use the slack add command. This command requires the name of the store and the Slack webhook you would like to send all new item notifications to. Example:

!m slack add target scraper https://hooks.slack.com/services/...

Now any notifications for new items items from Target will be sent to the provided Slack webhook also.

Removing a Slack webhook

Use this command to remove a Slack webhook you have previously added. To remove a Slack webhook you need to use the slack remove command. This command requires the name of the store you would like to remove the Slack webhook for. Example:

!m slack remove target scraper

View added Slack webhooks

You can view a list of all the Slack webhooks you have added for each store using the slack running command. Example:

!m slack running

Adding a Slack webhook forwarding rule

Use this command to forward all notifications for the specified search terms to the provided Slack webhook. To add a Slack webhook forwarding rule you need to use the slack forward add command. This command requires the name of the store, the search terms you would like to forward and the Slack webhook you would like to forward the notifications to. Example:

!m slack forward add target scraper "funko" https://hooks.slack.com/services/...

In this example we are forwarding all the new item notifications from Target for the search terms "funko" to the provided webhook.

Removing a Slack webhook forwarding rule

Use this command to remove a Slack webhook forwarding rule you have previously added. To remove a forwarding rule you need to use the slack forward remove command. This command requires the name of the store and the search terms you would like to remove the Slack webhook forwarding rule for. Example:

!m slack forward remove target scraper "funko"

View added Slack webhook forwarding rules

You can view a list of all the Slack webhook forwarding rules you have added for each store using the slack forward running command. This command only requires the name of the store. Example:

!m slack forward running target scraper

Last updated