Alert on API contract drift using Data Tables and Slack
Ready for 3.0Ready 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.
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).
- Settings (Edit Fields (Set)): sets 3 fields: endpointUrl, endpointKey, slackChannel
- Fetch the endpoint (HTTP Request): calls an HTTP API
- Load prior snapshot (Data table): get (row)
- Derive schema and diff contract (Code): runs custom JavaScript code
- Update snapshot (Data table): create or update (row)
- Breaking change found? (If): checks a condition and branches into true / false
- Post drift alert to Slack (Slack): post (message)
Services it uses
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - No Operation, do nothing
n8n-nodes-base.noOp
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…