How do I monitor a web page and get a Slack alert without a server?

Published 2026-11-23 · Updated 2026-11-23

Run a scheduled script that fetches the page, compares the content with the last saved snapshot, and posts to Slack only when it changes. The previous snapshot lives in a file, so the next run can tell what is new.

The problem

You want to know when a page changes, but you do not want an alert every time the page renders differently. A copyright year, a rotating banner, or a timestamp can change constantly. The useful signal is the part you actually care about: a price, a status, a job listing, or a paragraph.

You also need to remember the previous version. Without state, the script cannot tell what changed.

The usual options

Option Good fit The friction
A page-change service You want a simple visual diff It may alert on cosmetic changes and gives you limited control over parsing
An uptime service You only need availability It does not watch content, prices, or page text
Cron on a VPS You want full control You own the server, the snapshot file, the Slack secret, and the logs
Zapier or n8n The page exposes a clean feed or API Custom parsing and diffing become awkward
A custom scraper The page is central to your product It becomes another service to deploy and maintain

The hard part is not fetching the page. It is extracting the right field, storing the last value, and deciding when a change deserves an alert.

How GearTrain solves it

GearTrain gives the script the pieces it needs:

  • A schedule, so the check runs without a server.
  • fetch, so the script can read the page or call a scraping service.
  • Persistent files, so the last snapshot survives between runs.
  • Secrets, so the Slack webhook URL stays out of the code.
  • Run history, so a parsing failure is visible instead of silently posting nonsense.
  • MCP, so an agent can build and fix the script if you prefer.

The script does not need to be complex. It needs a stable extraction rule and a validation step. If the page structure changes, the run fails with a clear message instead of posting a false alert.

What it looks like in practice

Check this status page every 15 minutes. Post to #alerts in Slack only when the
status text changes. Keep the last status in a file and fail loudly if the page
does not contain the status section.

The outcome is a scheduled job, a saved snapshot, a run history, and a Slack message only when the status changes.

When GearTrain is not the right fit

  • The page renders entirely in the browser and cannot be fetched.
  • The site blocks automated requests.
  • The work needs a full browser or a long-running connection.

For a JavaScript-rendered page, use a scraping service with an HTTP API and call it from the script. For a page that offers an API or a feed, use that instead of parsing HTML.

Ready to run it?