Alertcat

Date fields and dynamic URLs

Some pages live at a new address each day, such as a daily report. Alertcat can build the URL from the current date.

What you will build

A daily report might be at `/reports/2026-11-29.html`. A fixed URL would go stale. Alertcat accepts Jinja2 expressions in the watch URL, so the date is filled in at each check.

  • A URL pattern that includes a date.
  • Knowledge of the date format the site uses.

Step by step

  1. Open the site and find two daily URLs. Write down the date part and its format.
  2. Create a watch and enter the URL with a date expression in place of the date.
  3. Save and check the result. The watch page shows the URL used in the last check.
  4. If the report appears later in the day, set a time-of-day schedule so checks start after publishing.
  5. Add a notification. The alert tells you when the new day's page exists and what it says.
  6. For a page that returns 404 until published, a failed check is normal. Review settings for how fetch errors are handled.

Tips from real setups

Remember that the check runs at a moment in time, in a time zone you choose. A report dated for today in another country may not exist yet when your check runs. Use the zone the publisher uses.

If the site has a stable latest page that redirects to the dated one, watching that stable URL is simpler.

Example filters

https://example.com/reports/{% now 'utc', '%Y-%m-%d' %}.html

https://example.com/api?from={% now 'utc', '%Y-%m-01' %}

# Time zone aware
https://example.com/{% now 'Europe/Berlin', '%d-%m-%Y' %}/index.html

Troubleshooting

  • Wrong date: set the time zone in the expression.
  • 404 errors: the page is not out yet. Schedule later checks.
  • Format mismatch: compare with the real URL character by character.
  • Date appears in content and causes alerts: add it to ignore text.

Frequently asked questions

Can the URL include a month or week?

Yes. Use any date format string.

Does the same work in headers?

Use the Request tab for headers. Check the help page for which fields take expressions.

Can I fill forms with dates?

No browser steps yet. Put the date in the URL query if the site allows it.

Related

Watch the pages that matter

Alertcat is in early access. Tell us what you want to watch and we will set up your team.

Request access