Orchestrate multi-system secret rotation for AWS, GitHub, databases and SaaS
Ready for 3.0What this workflow does
This workflow has 45 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). It uses only n8n's built-in nodes. It also calls httpbin.org over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- If: checks a condition and branches into true / false
- HTTP - Notify Failure (HTTP Request): calls httpbin.org (POST)
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- If: checks a condition and branches into true / false
- Respond - Invalid Request (Respond to Webhook): sends the response back to the webhook caller
- Respond - Accepted (202) (Respond to Webhook): sends the response back to the webhook caller
…plus 32 more steps. See the full node list below.
HTTP calls to: httpbin.org
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow exposes a webhook that validates secret-rotation requests, builds an ordered rotation plan, simulates create/propagate/verify/revoke steps, then posts audit and notification payloads via HTTP and returns a detailed rotation…