AutomationMart
Home/Browse/Lookup IP geolocation details with IP-API.com via webhook
n8n

Lookup IP geolocation details with IP-API.com via webhook

n8nn8n3 modulesv1.0
AirtableGoogle Sheets

This n8n template enables you to instantly retrieve detailed geolocation information for any given IP address by simply sending a webhook request. Leverage the power of IP-API.com to gain insights into user locations, personalize experiences, or enhance security protocols within your automated workflows. --- 🔧 How it works - Receive IP Webhook: This node acts as the entry point, listening for incoming POST requests. It expects a JSON body containing an ip property with the IP address you wish to

At a glance

Lookup IP geolocation details with IP-API.com via webhook is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Airtable, Google Sheets. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Airtable, Google Sheets
Modules
3
Price
Free
Version
v1.0
Lookup IP geolocation details with IP-API.com via webhook workflow diagram

About this workflow

This n8n template enables you to instantly retrieve detailed geolocation information for any given IP address by simply sending a webhook request. Leverage the power of IP-API.com to gain insights into user locations, personalize experiences, or enhance security protocols within your automated workflows. --- 🔧 How it works - Receive IP Webhook: This node acts as the entry point, listening for incoming POST requests. It expects a JSON body containing an ip property with the IP address you wish to look up. - Get IP Geolocation: This node makes an HTTP GET request to the IP-API.com service, passing the IP address from your webhook. The API responds with a comprehensive JSON object detailing the IP's location (country, city, region), ISP, organization, and more. - Respond with Geolocation Data: This node sends the full geolocation data received from IP-API.com back to the service that initiated the webhook. --- 👤 Who is it for? This workflow is ideal for: - Marketing & Sales Teams: Personalize website content, offers, or ads based on a visitor's geographic location. Tailor email campaigns by region. - Customer Support: Quickly identify a customer's location to provide more localized or relevant assistance. - Security & Fraud Detection: Analyze incoming connection IPs to identify suspicious activity, block known malicious regions, or flag potential fraud. - Analytics & Reporting: Augment your analytics data with geographical insights about your users or traffic. - Developers & Integrators: Easily add IP lookup functionality to custom applications, internal tools, or monitoring systems. - Content Delivery Networks (CDNs): Route users to the closest servers for faster content delivery (though advanced CDNs usually handle this automatically). --- 📑 Data Structure When you trigger the webhook, send a POST request with a JSON body structured as follows: The workflow will return a JSON response similar to this (data will vary based on IP): --- ⚙️ Setup Instructions - Import Workflow: In your n8n editor, click "Import from JSON" and paste the provided workflow JSON. - Configure Webhook Path: - Double-click the Receive IP Webhook node. - In the 'Path' field, set a unique and descriptive path (e.g., /ip-lookup). - Activate Workflow: Save and activate the workflow. --- 📝 Tips This workflow, while simple, is a powerful building block. Here's how you can make it even more useful: - Conditional Logic: Add IF nodes after "Get IP Geolocation" to create conditional branches. For example: - If countryCode is 'CN' or 'RU', send an alert to your security team. - If city is 'New York', route the request to a specific sales representative. - Data Enrichment: Integrate this workflow into larger automation. For instance: - When a new sign-up occurs, pass their IP address to this workflow, then save the returned geolocation data (country, city, ISP) alongside their user profile in your CRM or database. - For e-commerce, use the location data to pre-fill shipping fields or suggest local currency/language. - Logging & Analytics: Store the lookup results in a spreadsheet (Google Sheets), database (PostgreSQL, Airtable), or logging service. This can help you track where your users are coming from over time. - Rate Limiting: IP-API.com has rate limits for its free tier. If you anticipate high usage, consider adding a Delay node or implementing a caching mechanism with a Cache node to avoid hitting limits. For heavy use, you might need to upgrade to a paid plan. - Dynamic Response: Instead of returning the full JSON, you could use a Function node to extract only specific pieces of information (e.g., just the country and city) and return a more concise response. - Input Validation: For robust production use, add a Function node after the webhook to validate that the incoming ip value is indeed a valid IP address. If it's not, you can return an error message to the caller.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Shopify multi-module automation with GPT-4o, Langchain agents & integrations

This n8n workflow orchestrates a powerful suite of AI Agents and automations to manage and optimize various aspects of an e-commerce operation, particularly for platforms like Shopify. It leverages Langchain AI Agents powered by OpenAI, along with a variety of integrated services, to handle customer support, product recommendations, abandoned cart recovery, inventory management, post-purchase engagement, review monitoring, marketing campaigns, and operational alerts. Tools & Services Used - n8n:

Free

Schedule & publish all Instagram content types with Facebook Graph API

Automated Instagram posting with Facebook Graph API and content routing Who is this for? This workflow is perfect for social media managers, content creators, digital marketing agencies, and small business owners who need to automate their Instagram posting process. Whether you're managing multiple client accounts or maintaining consistent personal branding, this template streamlines your social media operations. What problem is this workflow solving? Manual Instagram

Free

Add a new record into a table in Airtable from a new feature in ArcGIS Field Maps

Every time a new feature is created in ArcGIS Field Maps, a new record will be created in a table in Airtable. Note that the template works with a sample Debris map described in [this article.](https://www.esri.com/arcgis-blog/products/field-maps/field-mobility/automate-email-notifications-for-field-updates/) The template expects your Airtable table to have these fields: 1) detail as text 2) name as text 3) phone as text 4) email as text 5) longitude as text 6) latitude as text

Free

Optimize SEO meta tags in Google Sheets with Google Gemini

Loop & Optimize Meta Tags with Google Gemini This workflow automates the shortening of meta titles and descriptions for SEO—directly from your Google Sheet, row by row, using Google Gemini. ✅ What it does - Reads rows from a Google Sheet (metatitle, metadescription, rowindex) - Loops through each row and checks if content exists - Sends the data to Google Gemini for length-optimized output - Cleans and parses the response - Updates the original sheet with the shortened results 🛠️ Setup Requireme

Free

Automate your invoice data extraction with Rossum Elis and store the results in Google Sheets

List invoices uploaded to Rossum Elis, then extract the invoice fields automatically and store the result in a Google Sheets spreadsheet.

Free

Generate student course schedules based on prerequisites with GPT and Google Sheets

Create a Fall 2025 course schedule for each student based on what they’ve already completed, catalog prerequisites, and term availability (Fall/Both). Reads students from Google Sheets → asks an AI agent to select exactly 5 courses (target 15–17 credits, no duplicates, prereqs enforced) → appends each student’s schedule to a schedule tab. --- 🧠 Summary - Trigger: Manual — “When clicking ‘Execute workflow’” - I/O: Google Sheets in → OpenAI decisioning → Google Shee

Free

Publish SEO blogs to WordPress with GPT-4.1, DALL-E, Gemini, and Google Sheets

Automatically publish blog content to WordPress with AI-generated branded images, internal linking, and client reporting using Google Sheets, OpenAI, and Gemini What this workflow does This workflow receives written blog content from your content creation automation and handles the complete WordPress publishing process. It adds internal links to your content based on target keywords, generates 3 AI-powered branded images (thumbnail + 2 content images), uploads them to WordPress, inserts them int

Free

Create AI-curated news digests with GPT-5.1, NewsAPI, Tavily & Telegram

Overview Staying up to date with fast-moving topics like AI, machine learning, research, or your specific industry can be tricky. To solve this for myself (for me, it is mostly AI and automation topics), I built and use this n8n workflow: it pulls fresh articles using NewsAPI based on my topics of interest, lets an AI agent pick the 5 most relevant ones, enriches them with a Tavily search engine, and sends a clean, readable newsletter straight to Telegram - in the language you specify. In this p

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free