Automation library · Integrations

Analyze email headers for IP reputation

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

Large

33 stepsLarge: read it before trusting it with anything live
5Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 3Logic 28Service 2

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

  1. 1Gmail TriggerGmail triggerStarts it
  2. 2Gmail - WebhookWebhookStarts it
  3. 3Set Gmail Headers HereSetLogic
  4. 4Set Gmail Webhook Headers HereSetLogic
  5. 5Gmail - Set HeadersSetLogic
  6. 6Gmail - Extract Received HeadersCodeLogic
  7. 7Gmail - Remove Extra Received HeadersLimitLogic
  8. 8Gmail - Extract Original From IPSetLogic
  9. 9Gmail - Original IP Found?IfLogic
  10. 10Gmail - Query IP Quality Score APIHttp RequestService
  11. 11Skip IP CheckNo OpLogic
  12. 12Gmail - Query IP APIHttp RequestService
  13. 13Gmail - Authentication-Results Header?IfLogic
  14. 14Gmail - Extract Authentication-Results HeaderCodeLogic
  15. 15Gmail - Received-SPF Header?IfLogic
  16. 16Gmail - DKIM-Signature Header?IfLogic
  17. 17Gmail - DMARC Header?IfLogic
  18. 18Gmail - Determine Auth ValuesSetLogic
  19. 19Gmail - Extract Received-SPF HeaderCodeLogic
  20. 20Gmail - No SPF FoundSetLogic
  21. 21Gmail - DKIM Signature FoundSetLogic
  22. 22Gmail - No DKIM Signature FoundSetLogic
  23. 23Gmail - Extract DMARC HeaderCodeLogic
  24. 24Gmail - No DMARC HeaderSetLogic
  25. 25Format Combined Auth Output1SetLogic
  26. 26Aggregate Received-SPF Headers1AggregateLogic
  27. 27Gmail - MergeMergeLogic
  28. 28Gmail - Set DMARC ValueSetLogic
  29. 29Gmail - Format OutputSetLogic
  30. 30Gmail - Set SPF ValueSetLogic
  31. 31Gmail - AggregateAggregateLogic
  32. 32Gmail - Respond to WebhookRespond To WebhookStarts it
  33. 33Format Individual Auth Outputs1SetLogic

How it's built

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

Questions

What does it need to run?

An n8n account, plus your own Gmail account. 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 33 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 33 steps before you point it at anything that matters.