Automation library · Chat assistants

Detect and remediate leaked secret on repo with GitHub and AWS

Started by an event in a connected app, and works across Jira, Slack and n8n data table. It hands the judgement calls to OpenRouter. 22 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenRouter

22 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 2Logic 7Service 12

The steps in the order they run, from what starts it.

  1. 1OpenRouter Chat ModelLm Chat Open RouterModel
  2. 2Github Trigger On PushGithub triggerStarts it
  3. 3AI - ClassifierAgentModel
  4. 4Code - Extract Useful Field-1CodeLogic
  5. 5Code - FormatterCodeLogic
  6. 6Fetch - Commit Changes From GithubHttp RequestService
  7. 7SwitchSwitchLogic
  8. 8Code - RegEx ScannerCodeLogic
  9. 9Get - UserName From AWSHttp RequestService
  10. 10Create an issue for leaked keyJiraService
  11. 11Create an issue for exposed database urlJiraService
  12. 12Code - Hash Leaked ValueCodeLogic
  13. 13RenameSetLogic
  14. 14Send a message notification-2SlackService
  15. 15Send a message notification-3SlackService
  16. 16If row does not existData TableService
  17. 17Revoke AccessKey On AWSHttp RequestService
  18. 18Save To DataTable-2Data TableService
  19. 19Save To DataTable-3Data TableService
  20. 20AggregateAggregateLogic
  21. 21Send a message notification-1SlackService
  22. 22Save To DataTable-1Data TableService

How it's built

Starts on
An event in a connected app
Steps
22, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Jira, Slack, n8n data table
Model
OpenRouter

Questions

What does it need to run?

An n8n account, plus your own Jira and Slack accounts, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.