Automation library · Research and reporting

Email reports on expiring Microsoft Entra ID app secrets

Started by an event in a connected app, and works across Email. 16 steps, 1 branch: a working afternoon to understand properly.

Medium

16 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Logic 13Service 2

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Set VariablesSetLogic
  3. 3Get EntraID Applications and SecretsHttp RequestService
  4. 4Split Out ApplicationsSplit OutLogic
  5. 5Split Out Client SecretsSplit OutLogic
  6. 6Split Out CertificatesSplit OutLogic
  7. 7Filter Client SecretsFilterLogic
  8. 8Filter Client CertificatesFilterLogic
  9. 9Build Client Secrets ReportSetLogic
  10. 10Build Certificates ReportSetLogic
  11. 11MergeMergeLogic
  12. 12AggregateAggregateLogic
  13. 13If Expiring Secrets not emptyIfLogic
  14. 14HTML Table with Expiring SecretsHtmlLogic
  15. 15No Operation, do nothingNo OpLogic
  16. 16Send emailEmail SendService

How it's built

Starts on
An event in a connected app
Steps
16, with 1 branch
Size
Medium: a working afternoon
Connects to
Email
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Email account. 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?

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?

Plan an afternoon. 16 steps is enough that you should read each one before running it.

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 16 steps before you point it at anything that matters.