Detect and remediate leaked secret on repo with GitHub, AWS, Jira, Slack, Claude
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs on Github events (push). Along the way it connects OpenRouter Chat Model, GitHub, Slack and Jira Software. It also calls iam.amazonaws.com over HTTP.
How it runs
Trigger: On Github events (push).
- Code: runs custom JavaScript code
- Fetch - Commit Changes From Github (HTTP Request): calls an HTTP API
- Code: runs custom JavaScript code
- Code: runs custom JavaScript code
- If row does not exist (Data table): row not exists
- Aggregate: combines items into one
- AI - Classifier (AI Agent): runs an AI agent, with model: OpenRouter Chat Model
- Code: runs custom JavaScript code
- Switch: routes items into 3 branches
- Get - UserName From AWS (HTTP Request): calls iam.amazonaws.com (POST)
…plus 10 more steps. See the full node list below.
Services it uses
Other Jira + Slack templates (76) · Other Slack + OpenRouter templates (73) · Other GitHub + Slack templates (68)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Switch
n8n-nodes-base.switch - Aggregate
n8n-nodes-base.aggregate - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Github Trigger
n8n-nodes-base.githubTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - Slack
n8n-nodes-base.slack - Jira Software
n8n-nodes-base.jira - Data table
n8n-nodes-base.dataTable
From the author
SecretOps, DevSecOps Real-Time Repos Secret Leak Remediation SecretOps is an n8n security automation workflow that monitors Git push events, detects high-risk secrets in commits, and automatically responds in real time. Unlike typical scanners that only…