Consulta de geolocalización de IP a través de Webhook
Este es unBuilding Blocks, IT Opsflujo de automatización del dominio deautomatización que contiene 6 nodos.Utiliza principalmente nodos como Webhook, HttpRequest, RespondToWebhook. Consultar detalles de geolocalización de IP usando IP-API.com a través de Webhook
- •Punto final de HTTP Webhook (n8n generará automáticamente)
- •Pueden requerirse credenciales de autenticación para la API de destino
Nodos utilizados (6)
{
"id": "9Ua1Wqenubbi6OkW",
"meta": {
"instanceId": "1777696fb9fddfee653e70940936c2b1e28ba1f1bde53b7182fbd6eb01988706"
},
"name": "IP Geolocation Lookup via Webhook",
"tags": [],
"nodes": [
{
"id": "03bd8d64-8336-4c15-8ed3-af3144ee1113",
"name": "Nota para el Activador Webhook",
"type": "n8n-nodes-base.stickyNote",
"position": [
380,
80
],
"parameters": {
"width": 280,
"height": 280,
"content": "This node listens for incoming POST requests. It expects a JSON body with an 'ip' property containing the IP address you want to look up (e.g., {\"ip\": \"8.8.8.8\"}). You can easily adjust the webhook path to suit your needs."
},
"typeVersion": 1
},
{
"id": "7fefa097-190c-4b86-9fbc-d110e6d913b9",
"name": "Nota para la Búsqueda de IP",
"type": "n8n-nodes-base.stickyNote",
"position": [
760,
60
],
"parameters": {
"color": 2,
"width": 260,
"height": 300,
"content": "This node makes an HTTP GET request to the IP-API.com service to get detailed geolocation information for the IP address provided by the webhook. The API returns data like country, city, region, ISP, and more."
},
"typeVersion": 1
},
{
"id": "46964ab7-7845-4b39-92f9-9011a1484fa3",
"name": "Nota para la Respuesta Webhook",
"type": "n8n-nodes-base.stickyNote",
"position": [
1100,
40
],
"parameters": {
"color": 3,
"width": 280,
"height": 340,
"content": "This node sends the full geolocation data received from IP-API.com back to the original caller of the webhook. This data can be directly consumed or further processed (e.g., logged, filtered, used in conditional logic) before being returned."
},
"typeVersion": 1
},
{
"id": "0b4b792d-30fa-4f55-b96c-b9b88da026f0",
"name": "Obtener Geolocalización de IP",
"type": "n8n-nodes-base.httpRequest",
"position": [
840,
220
],
"parameters": {
"url": "=http://ip-api.com/json/{{ $json.body.ip }}",
"method": "=GET",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "a6c774ad-9aa6-4b0b-8644-5966d7242907",
"name": "Recibir IP Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
440,
220
],
"webhookId": "76cf0099-b4e9-4446-a355-9fa85b72365d-unique-id",
"parameters": {
"path": "ip-lookup",
"options": {},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 2
},
{
"id": "ee2b27c2-a96f-432f-b950-fff3a8dab462",
"name": "Responder con Datos de Geolocalización",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
1200,
220
],
"parameters": {
"options": {},
"respondWith": "allIncomingItems"
},
"typeVersion": 1.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "97ad1608-6a06-4b47-9faa-ee5c120232fc",
"connections": {
"0b4b792d-30fa-4f55-b96c-b9b88da026f0": {
"main": [
[
{
"node": "ee2b27c2-a96f-432f-b950-fff3a8dab462",
"type": "main",
"index": 0
}
]
]
},
"a6c774ad-9aa6-4b0b-8644-5966d7242907": {
"main": [
[
{
"node": "0b4b792d-30fa-4f55-b96c-b9b88da026f0",
"type": "main",
"index": 0
}
]
]
}
}
}¿Cómo usar este flujo de trabajo?
Copie el código de configuración JSON de arriba, cree un nuevo flujo de trabajo en su instancia de n8n y seleccione "Importar desde JSON", pegue la configuración y luego modifique la configuración de credenciales según sea necesario.
¿En qué escenarios es adecuado este flujo de trabajo?
Intermedio - Bloques de construcción, Operaciones de TI
¿Es de pago?
Este flujo de trabajo es completamente gratuito, puede importarlo y usarlo directamente. Sin embargo, tenga en cuenta que los servicios de terceros utilizados en el flujo de trabajo (como la API de OpenAI) pueden requerir un pago por su cuenta.
Flujos de trabajo relacionados recomendados
ist00dent
@ist00dentI’m a dedicated automation engineer passionate about no-code and low-code solutions. I design and implement robust n8n workflows—integrating APIs, databases, and messaging—to eliminate manual tasks and accelerate delivery. Leveraging Python and C#, I build scalable, adaptable automations that empower teams to focus on high-value work.
Compartir este flujo de trabajo