Analyze Email Headers for IPs and Spoofing Detection

This workflow analyzes email headers via webhook to extract IPs, check fraud via IP Quality Score & IP-API, and evaluate SPF/DKIM/DMARC for spoofing risks.

n8n
Analyze Email Headers for IPs and Spoofing Detection

This n8n workflow processes incoming email headers through a webhook trigger, intelligently splitting into two paths based on header types. The first path detects 'Received' headers, extracts IP addresses, and queries the IP Quality Score API for fraud scores, abuse history, and organization details, while also fetching geolocation from IP-API. This provides comprehensive IP intelligence to identify suspicious senders.

The second path parses 'Authentication-Results' headers to assess SPF, DKIM, and DMARC statuses, categorizing them as pass, fail, or neutral. Results from both paths merge into a unified analysis report, which is returned via the webhook response, enabling real-time spoofing detection.

Benefits include automated security screening for phishing/spoofing threats, reducing manual header analysis time, and integrating premium IP reputation services. Ideal use cases: IT security teams monitoring inboxes, email gateways for inbound filtering, compliance audits, or SOC operations for threat hunting. Setup requires API keys; test with diverse headers for robustness.

$24.99
Last updated November 14, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Development & IT workflows

More from Halle Kowalczyk

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.