Quick overview
This workflow runs daily and uses Snapshot Site to compare a stored baseline screenshot against a live competitor pricing page, then posts change alerts or failure notifications to Slack.
How it works
- Runs every day at 7:00 AM (UTC) on a scheduled trigger.
- Calls Snapshot Site to capture the live pricing page and compare it against a baseline screenshot using a mismatch threshold.
- Checks whether the Snapshot Site response indicates an API-level error (for example, a malformed URL returned as
{error: true}).
- Sends an alert to a Slack channel if the compare call fails or returns an error message.
- If the compare succeeds, evaluates the mismatch percentage to determine whether the pricing page changed.
- Posts a Slack message with mismatch stats and links to the diff, baseline, and live capture when a change is detected, otherwise it ends without action.
Setup
- Add a Snapshot Site credential and set the baseline (
beforeUrl/beforeOptions) and live target (afterUrl/afterOptions) URLs to the competitor pricing page images/URL.
- Add a Slack credential and set the target channels for change notifications (for example,
#competitor-watch) and failure alerts (for example, #competitor-watch-alerts).
- Adjust the mismatch
threshold, schedule time, and Slack message text to match your sensitivity and reporting needs.