{"product_id":"ipgeolocation-webhook-for-n8n-lead-enrichment-best-timing","title":"IPGeolocation Webhook for n8n Lead Enrichment \u0026 Best Timing","description":"\u003ch3\u003eEnrich every lead with IPGeolocation—and contact them at the right local time (via an n8n webhook)\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow provides a webhook-based lead enrichment service: it validates an incoming lead payload, looks up IP location and timezone using \u003cstrong\u003eIPGeolocation.io\u003c\/strong\u003e, and returns a structured profile plus a recommendation for whether to contact now or schedule outreach for the lead’s local morning.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives a POST webhook\u003c\/strong\u003e request containing lead details such as \u003cstrong\u003eip\u003c\/strong\u003e, \u003cstrong\u003ename\u003c\/strong\u003e, \u003cstrong\u003eemail\u003c\/strong\u003e, and \u003cstrong\u003ecompany\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates the IP address\u003c\/strong\u003e (IPv4\/IPv6). Invalid requests are rejected with a \u003cstrong\u003e400 JSON error\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnriches the lead\u003c\/strong\u003e by fetching IP location and network\/organization data from \u003cstrong\u003eIPGeolocation.io\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLooks up timezone and current local time\u003c\/strong\u003e for the same IP using IPGeolocation’s timezone endpoint.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalculates business hours\u003c\/strong\u003e locally (09:00–18:00) and creates a unified lead profile.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSets a recommended contact action\u003c\/strong\u003e: contact now during business hours, or schedule next outreach for the appropriate window (e.g., local morning).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns the enriched lead profile\u003c\/strong\u003e as the webhook response.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS teams enriching inbound leads with IP-based geo\/network context.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers building lead routing that respects \u003cem\u003elocal business hours\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003eCRMs\/marketing automation flows that want an automatic “best time to reach out” decision per lead.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details (n8n)\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebhook trigger\u003c\/strong\u003e to accept incoming lead payloads.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n-nodes-ipgeolocationipgeolocation\u003c\/strong\u003e for IP geolocation lookups.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCode\u003c\/strong\u003e, \u003cstrong\u003eif\u003c\/strong\u003e, and \u003cstrong\u003erespond to webhook\u003c\/strong\u003e to validate input, compute local time\/business-hours logic, and return the final enriched profile.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSticky note\u003c\/strong\u003e nodes for workflow clarity\/documentation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eRequirements:\u003c\/strong\u003e an \u003cstrong\u003eIPGeolocation.io\u003c\/strong\u003e account and API key with access to the required geolocation data, plus a webhook-compatible way to POST leads that include an \u003cstrong\u003eip\u003c\/strong\u003e field.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46228883079347,"sku":"N8N-20992","price":73.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/VDSlr7THR8MTI4dZtxmCE_dVOg33ox.png?v=1792055061","url":"https:\/\/buyflowscripts.com\/products\/ipgeolocation-webhook-for-n8n-lead-enrichment-best-timing","provider":"N8N Commerce","version":"1.0","type":"link"}