Get a Slack alert when a price drops
Connect a Slack channel, write an alert rule on a dataset, and watch the first alert arrive. About five minutes.
Alerts turn a dataset into something that tells you when to look. This tutorial adds a rule to the price tracker from the previous tutorial and sends it to Slack. The same steps work for any dataset and any destination.
1. Connect Slack
- Create an incoming webhook in Slack. At api.slack.com/apps, open or create an app, turn on Incoming Webhooks, and add a webhook for the channel you want alerts in. Copy the webhook URL.
- Ask Jason for the integration. In Jsonify, open Integrations → Outputs → Connect Output and choose Slack alerts. Type “Post price alerts to #market-radar-alerts” and press Send to Jason. Jason creates the integration and links to it.
- Paste the URL. On the integration’s Settings tab, paste the webhook into Incoming Webhook URL and press Save. “:white_check_mark: Jsonify connected” arrives in the channel and the integration turns Live.
- Test it. Press Test in the header. “[Test] Message from Jsonify” arrives within a few seconds.
The webhook URL is a secret. Anyone with it can post to your channel. Only you type it in Jsonify; Jason never sees it.
2. Write the rule
- Open Integrations → Rules, then press New rule.
-
Describe the condition. Pick a quick-start chip or describe what you want, then press Build alert rule. Jsonify proposes the rule; you confirm it.
Alert me when a product’s current price is at least 10% below its previous price in the Live product offers dataset.
- Choose where it goes. Under Send to, choose the Slack integration you connected. Every alert is also kept in Jsonify’s Local Notifications, whatever you pick.
- Confirm. Check the dataset, worksheet and trigger, then press Create alert rule. The rule’s page opens, switched on.
To see whether it would fire right now, open the rule’s Test tab and press Check now. Nothing is sent. Send test message posts a [Test] copy to Slack.
3. See it fire
The rule is checked the next time the dataset publishes. When it matches, one alert is kept per event: it appears in the bell and on the Notifications page, and the Slack message lands in the channel. Its View notification link opens the alert’s page in Jsonify, with the rows that matched.
What the Slack message looks like:
:bell: Meaningful price drops 18,420 meaningful price drops 18,420 changed View notification
Mark the rule Urgent on its Settings tab and the emoji becomes :rotating_light:.
Variations
See Alert rules for every trigger and destination.