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 IPs using an open-source IP enrichment service. π How It Works 1. Receives an IP address via webhook (API or Slack). 2. Validates the IP format and rejects invalid input. 3. Checks for private or internal IP ranges. 4. Ignores private IPs wit

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 IPs using an open-source IP enrichment service. π How It Works 1. Receives an IP address via webhook (API or Slack). 2. Validates the IP format and rejects invalid input. 3. Checks for private or internal IP ranges. 4. Ignores private IPs with a clear response. 5. Enriches public IPs using an open-source IP intelligence service. 6. Normalizes country, ISP, and ASN data and applies a severity label. 7. Slack notifications are sent for enriched public IPs. 8. Returns a structured JSON response. βοΈ Setup Steps 1. Import & Activate Workflow - Import the JSON template into n8n - Actvate the workflow 2. Set Up Webhook - Copy the webhook URL - Send a POST request with the IP in the body, e.g.: { "text" : "8.8.8.8" } - Using curl: curl -X POST \ -H "Content-Type: application/json" \ -d '{"text":"8.8.8.8"}' 3. Configure Slack (Slack Alert) - Create or select Slack credentials in n8n - Make sure the bot is in your target channel - Update the Slack node with correct channel. 4. Slack Slash Command Setup (Optional) - Enable Slash Commands and create new command (for example /ip-enrich). - Set the Request URL to your n8n webhook endpoint. - Choose POST as the request method. - Install the app to your workspace. Usage example: /ip-enrich 8.8.8.8 ποΈ Customization Options - Enrichment source: Replace or extend the IP intelligence API with additional providers (for example reputation or abuse scoring). - Slack formatting: Customize the Slack message text, emojis, or use threads for better alert grouping. - Input sources: Reuse the webhook for other integrations such as SIEM alerts or security tools.
Download the workflow JSON file after purchase.
Open n8n β click the menu β Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.