Templates / Enrich IP addresses with country attribution using IPinfo and Slack alerts

Enrich IP addresses with country attribution using IPinfo and Slack alerts

Ready for 3.0

by Edson Encinas ✓ · 163 views · created 2026-02-06 · SecOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Validate IP Address (Code): runs custom JavaScript code
  2. If: checks a condition and branches into true / false
  3. Check Private / Internal IP (Code): runs custom JavaScript code
  4. Respond Invalid IP Address (Respond to Webhook): sends the response back to the webhook caller
  5. If: checks a condition and branches into true / false
  6. Respond Private IP Ignored (Respond to Webhook): sends the response back to the webhook caller
  7. Enrich IP (Geo & ASN Lookup) (HTTP Request): calls an HTTP API
  8. Normalize Enrichment (Code): runs custom JavaScript code
  9. Slack: uses Slack
  10. Respond IP Enrichment Result (Respond to Webhook): sends the response back to the webhook caller

Services it uses

Slack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

🧩 Template Description IP Enrichment & Country Attribution is a lightweight cybersecurity automation that enriches IP addresses with geographic and network intelligence. It validates incoming IPs, filters out private or invalid addresses, and enriches public…

Excerpt from Edson Encinas's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.