GoHighLevel Lead Traffic Stats

Overview
Every 15 minutes, takes the leads GoHighLevel has touched most recently, turns each website into a bare domain, estimates how much organic search traffic that domain gets, and writes the numbers back onto the GoHighLevel record.
GoHighLevel Lead Traffic Stats
Every 15 minutes, takes the leads GoHighLevel has touched most recently, turns each website into a bare domain, estimates how much organic search traffic that domain gets, and writes the numbers back onto the GoHighLevel record.
How it works
- Every 15 Minutes — an Inject trigger repeating every 900 seconds. Set Parameters holds
all the configuration: the location and language for the lookup, and
field_map, which says where each enrichment value lands on the GoHighLevel side. - Read API Token —
Core.Vault.GetItempulls the API token, and Build Request Headers turns it into the header object the HTTP nodes send. - List Recent Contacts — reads the ten most recently touched records via the
Contacts.Searchnode, sorted bydate_updated. Collect Leads reduces whatever came back to a flat list of{ id, website }and drops records with no website. - Estimate Organic Traffic —
DataForSEO.Account.RawRequestposts to/dataforseo_labs/google/bulk_traffic_estimation/livefor the single domain. Before the call, Normalise Domain strips the scheme, anywww.prefix and everything from the first slash on, because DataForSEO matches on a bare domain:https://www.acme.com/pricingbecomesacme.com. - Map Enrichment — a two-output Function. Port 0 has something to write; port 1 means nothing was found for that domain, so the update is skipped and the loop moves on rather than overwriting good data with blanks.
- Update Contact — writes back through an HTTP PUT to
/contacts/{id}with acustomFieldsarray — the package Update node does not expose custom fields.
The DataForSEO node runs with continueOnError, so one unresolvable domain cannot stop the batch.
Setup
- DataForSEO credential — API login and password from https://app.dataforseo.com/api-access.
- GoHighLevel credential — a vault item holding the API token.
field_map— the values shipped here are the field names shipped as defaults. Replace them with your own: the enrichment keys areetv,organic_keywords,organic_traffic_cost,paid_etv.
Cost
One Bulk Traffic Estimation call per lead. The endpoint takes up to 1000 targets at once, so if you are working through a large backlog it is cheaper to batch the domains than to loop — the bulk backlink templates in this set show that shape.
Ported from
- Get Traffic Stats for GoHighLevel leads with DataForSEO — DataForSEO template