Templates / Alert on API contract drift using Data Tables and Slack

Alert on API contract drift using Data Tables and Slack

Ready for 3.0

by Kevin Yu ✓ · 31 views · created 2026-06-30 · DevOps, AI Summarization

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs on a schedule (every 6 hours). Along the way it connects Slack.

How it runs

Trigger: On a schedule (every 6 hours).

  1. Settings (Edit Fields (Set)): sets 3 fields: endpointUrl, endpointKey, slackChannel
  2. Fetch the endpoint (HTTP Request): calls an HTTP API
  3. Load prior snapshot (Data table): get (row)
  4. Derive schema and diff contract (Code): runs custom JavaScript code
  5. Update snapshot (Data table): create or update (row)
  6. Breaking change found? (If): checks a condition and branches into true / false
  7. Post drift alert to Slack (Slack): post (message)

Services it uses

Slack

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 (8)

From the author

Quick overview This workflow runs on a schedule, polls a JSON API endpoint, derives and stores a snapshot of the response schema in an n8n Data Table, and posts a Slack alert only when the response structure or field types change. How it works 1. Runs every 6…

Excerpt from Kevin Yu'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.