Quick overview
This webhook-based workflow accepts a lead payload with an IP address, enriches it using IPGeolocation.io ipgeolocation and timezone lookups, and returns a structured profile that includes location, network organization, and a recommendation to contact now or schedule outreach for the lead’s local morning.
How it works
- Receives a POST webhook request containing lead details such as ip, name, email, and company.
- Validates the IP address format (IPv4/IPv6) and rejects invalid requests with a 400 JSON error response.
- Looks up the IP’s location and ASN/organization data using IPGeolocation.
- Retrieves timezone and current local time for the same IP using IPGeolocation’s timezone endpoint.
- Builds a unified lead profile, calculates whether it is currently business hours (09:00–18:00) locally, and sets a recommended contact action and next contact window when needed.
- Returns the enriched lead profile as the webhook response.
Setup
- Get your IPGeolocation.io API key to access IP geolocation data for lead enrichment.
- Activate the workflow and copy the production webhook URL from the Webhook trigger.
- Configure your signup form, CRM, or marketing automation tool to POST lead payloads (including an IP field) to the webhook URL.
- Map enriched data to your CRM and automate follow-ups based on each lead’s local time.
Requirements
- An IPGeolocation.io account and API key with access to the required geolocation data.
- A webhook-compatible automation platform or CRM that supports receiving and processing webhook requests.
- A lead capture source that provides visitor IP addresses for enrichment and contact timing optimization.