Automation library · Alerts and monitoring

Route privileged access requests with ServiceNow and Slack

Started by another system calling it, and works across Gmail and Slack. 21 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large

21 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 4Logic 8Service 9

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

  1. 1When Access Request ReceivedWebhookStarts it
  2. 2Check Access Request InputIfLogic
  3. 3Set Access Request MetadataSetLogic
  4. 4Respond Invalid Access RequestRespond To WebhookStarts it
  5. 5Initiate ServiceNow Access RequestService NowService
  6. 6Confirm Access Request SubmissionRespond To WebhookStarts it
  7. 7Request Approval from ManagerSlackService
  8. 8Log to Compliance Audit ChannelSlackService
  9. 9Respond Failure ServiceNowRespond To WebhookStarts it
  10. 10Evaluate Manager DecisionIfLogic
  11. 11Log Any Async FailuresNo OpLogic
  12. 12Request Security ApprovalSlackService
  13. 13Set Manager Rejection DetailsSetLogic
  14. 14Evaluate Security DecisionIfLogic
  15. 15Record ServiceNow Access DeniedService NowService
  16. 16Email Access Denied to RequesterGmailService
  17. 17Build Approval UpdateSetLogic
  18. 18Set Security Rejection DetailsSetLogic
  19. 19Finalize ServiceNow Access ApprovedService NowService
  20. 20Email Access Approved to RequesterGmailService
  21. 21Alert Security Channel Access GrantedSlackService

How it's built

Starts on
Another system calling it
Steps
21, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Slack
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail and Slack accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 21 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 21 steps before you point it at anything that matters.