Templates / Automated AWS IAM key compromise response with Slack & Claude AI

Automated AWS IAM key compromise response with Slack & Claude AI

Ready for 3.0

by Niranjan G ✓ · 1,024 views · created 2025-06-22 · SecOps, 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-10-19.

What this workflow does

This AI workflow has 30 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Slack, Anthropic Chat Model and AWS IAM. It also calls iam.amazonaws.com over HTTP.

How it runs

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

  1. AWS IAM: uses AWS IAM
  2. 🔧 Process Form Submission (Edit Fields (Set)): sets 3 fields: UserName, AccessKeyId, Date
  3. 🔑 Fetch User Access Keys (HTTP Request): calls iam.amazonaws.com (POST)
  4. 🔔 Request Human Approval (Slack): send and wait for a reply
  5. 📊 Parse Access Key Response (Code): runs custom JavaScript code
  6. ✅ Approved Compromise Data (Edit Fields (Set)): sets 3 fields: UserName, AccessKeyId, Date
  7. 🛡️ Generate Invalidation Policy (HTTP Request): calls iam.amazonaws.com (POST)
  8. 🚫 Deactivate Compromised Key (HTTP Request): calls iam.amazonaws.com (POST)
  9. Merge: merges the data from its input branches
  10. 📜 Audit Inline Policies (HTTP Request): calls iam.amazonaws.com (POST)

…plus 14 more steps. See the full node list below.

Services it uses

SlackAnthropic Chat ModelAWS IAM

HTTP calls to: iam.amazonaws.com

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

From the author

🛡️ Automated AWS Key Compromise Remediation Description This n8n workflow provides a secure, enterprise-grade response system for AWS IAM access key compromises with built-in form submission and human approval mechanisms. When an AWS access key is suspected…

Excerpt from Niranjan G'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.