See llms.txt for all machine-readable content.

Back to Templates

Send UK food hygiene rating change alerts from FSA to Gmail, Slack or SMTP

Quick overview

Watches UK food hygiene and FSA ratings for postcode areas or whole councils and sends a ranked digest of changes to Gmail, Slack, SMTP or Google Sheets. Covers rating drops, new poorly rated businesses and optional openings, each with trend, council contact and a risk score. No API key needed.

How it works

  1. Runs daily at 07:00 (or manually) and reads your Settings.
  2. Checks council names against the live FSA local authority list and builds the watchlist.
  3. Fetches each area in turn, with retries and a short pause between calls.
  4. Compares results with the previous run (kept in workflow static data) to find rating drops, new low-rated businesses, new listings and improvements.
  5. Adds the rating trend, council food team contact and a 0-100 risk score to each change.
  6. Optionally adds a short AI briefing (Google Gemini), then sends the digest only to the channels you chose: Gmail, Slack, SMTP email and/or Google Sheets (one row per change).

Setup

  1. In Settings, set watchlist (for example NP12, CF10) and/or councils (for example Caerphilly).
  2. Set notifyChannels to any of gmail, slack, smtp, sheets, add your credentials to those nodes and replace the placeholder email, Slack channel or sheet URL.
  3. Optional: change the schedule time. Leave aiSummary set to false for now. The optional AI briefing still targets Google Gemini 2.0 Flash, which was retired on 1 June 2026.
  4. Set demoMode to true and run a test to preview an alert, then set it back to false and activate. The first active run saves a baseline; alerts start from the next run.
  5. For failure alerts, set this workflow as its own Error workflow in Workflow settings.

Requirements

  • n8n (cloud or self-hosted)
  • A Gmail, Slack, SMTP or Google Sheets account for the output
  • Optional: a free Google Gemini API key for the AI briefing. Gemini 2.0 Flash was retired on 1 June 2026, so leave aiSummary set to false for now.

Customization

  • Adjust lowRatingThreshold (default 2), includeNewListings, includeImprovements or digestWeekday (a weekly summary when nothing changed), or swap Gemini for any chat model. Optional: the Gemini 2.0 Flash model was retired on 1 June 2026, so leave aiSummary set to false for now.

Additional info

Contains public sector information licensed under the Open Government Licence v3.0. Data: Food Standards Agency. No personal data is stored or sent.

Also from this creator: Plan UK bank holiday reminders and digests with GOV.UK, Gmail and Slack · Send staged Companies House filing reminders with Gmail, Slack and Sheets.