Templates / Track CMA merger case timelines with GOV.UK, Google Sheets and email

Track CMA merger case timelines with GOV.UK, Google Sheets and email

Ready for 3.0

by Syed Maaz Saeed ✓ · 3 views · created 2026-10-05 · Project Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Sheets.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Set Email and Sheet Config (Edit Fields (Set)): sets 5 fields: spreadsheetId, sheetName, senderEmail…
  2. Prepare API Case Requests (Code): runs custom JavaScript code
  3. Fetch GOV UK Case Details (HTTP Request): calls an HTTP API
  4. Extract Case Milestones (Code): runs custom JavaScript code
  5. Upsert Sheets Timeline Rows (Google Sheets): append or update
  6. Build Timeline Summary Report (Code): runs custom JavaScript code
  7. Format Timeline as HTML (Code): runs custom JavaScript code
  8. Email Timeline Digest (Send Email): sends an email over SMTP

Services it uses

Google Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Quick overview This workflow runs on demand or on weekday mornings to pull Competition and Markets Authority (CMA) merger case updates from GOV.UK, write a dated timeline into Google Sheets, and generate an email-friendly summary plus an attached HTML…

Excerpt from Syed Maaz Saeed's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.