ZapierChecked blueprint5 nodes
Score a form lead into HighLevel
Clean the phone number on a Facebook lead, score it, create or update the HighLevel contact, and tag it hot, warm, or cold for workflows.
Portfolio reference build with demo data and placeholder credentials, not a client deployment.
Pain
Stops reps from manually copying web forms, guessing lead quality, and researching prospects before calling. Bad fits get filtered; hot buyers land with a full brief.
Solution
Clean the phone number on a Facebook lead, score it, create or update the HighLevel contact, and tag it hot, warm, or cold for workflows.
Impact · From the blueprint
About 2 minutes per lead, and no failed SMS workflows from badly formatted numbers.
- Intermediate
- Validated
- Auto path
- Facebook Lead Ads
- Code by Zapier
- LeadConnector
Library status: passing. Schema, field mapping, task count, and Code-step unit tests pass. Not built in a live Zapier account.

Step inspector
The first step shows the checked-in sample payload.Later steps name the node. They are not a live execution.
Guardrails
No approval, retry, or demo-gate node was detected by name. Read the README before connecting live credentials.
Credential ids in the JSON are placeholders. These files are portfolio demos.
Deploy this for your business
Tell us this slug and what still happens by hand. We will map it onto your accounts. This page is not a claim that the blueprint already runs for a customer.
README
Portfolio demo by Mustafa (mustafaautomation). Not client work. The people, companies, and numbers in it are made up. Rebuild it in your own Zapier account. Nothing here is connected to anyone's account.
Category: Lead gen and CRM
Difficulty: intermediate
Apps: Facebook Lead Ads, Code by Zapier, LeadConnector
Zapier plan: Professional (multi-step Zap: 4 steps after the trigger)
Tasks per run: 4
Test status: passing (schema, mapping scope, task count, Code step unit tests)
Problem
Facebook lead forms deliver phone numbers in every format people type, so HighLevel workflows fail to text a third of them. And every lead gets the same nurture, whether they said "this week" or "just looking".
Who it's for
Local service businesses and marketing agencies running Facebook lead ads into GoHighLevel. In Zapier the GoHighLevel app is called LeadConnector.
How the Zap runs
flowchart TD s1["1. Facebook Lead Ads: New Lead<br/>New lead from the consultation form"] s2["2. Code by Zapier<br/>Format the phone number"] s1 --> s2 s3["3. Code by Zapier<br/>Score the lead"] s2 --> s3 s4["4. LeadConnector<br/>Create or update the HighLevel contact"] s3 --> s4 s5["5. LeadConnector<br/>Tag the contact with its tier"] s4 --> s5
Build it in the Zapier editor
Zapier has no import file for a Zap like this one, so it is built by hand from the steps below. zap.json is the same Zap in a machine-readable form (schema), and zap.yaml is the same document in YAML.
A value like [2. vendor] means: click the field, open step 2 in the data picker, and choose vendor. Plain text is typed as shown. YOUR_... is a value from your own account.
Before you start
- In HighLevel, create the custom fields
lead_scoreandservice_interest, and workflows triggered by the tagslead-hot,lead-warm, andlead-cold. - Have these ready from your own accounts:
YOUR_FACEBOOK_PAGE,YOUR_HIGHLEVEL_LOCATION.
Steps
1. Trigger: New lead from the consultation form
App: Facebook Lead Ads · Event: New Lead · instant (the app pushes each event to Zapier) · Tasks: 0
Fires for each lead submitted on the instant form attached to your ad.
| Field | Value |
|---|---|
| Page | YOUR_FACEBOOK_PAGE |
| Form | Free consultation form |
Fields this library maps from the trigger: lead_id, created_time, form_name, ad_name, full_name, email, phone_number, service_interest, budget, timeline. Zapier shows them with its own labels; pick the one with the same meaning.
2. Action: Format the phone number
App: Code by Zapier · Event: Run JavaScript · Tasks: 1
Turns "(415) 555-0123" or "415.555.0123" into +14155550123. HighLevel and its SMS workflows expect E.164; a bad number is passed through empty instead of failing the workflow.
Paste the whole of code/normalize-phone.js into the code box. Source: content/code/normalize-phone.cjs. Unit tests: content/code/normalize-phone.test.cjs.
| Input Data key | Value |
|---|---|
phone | [1. phone_number] |
default_country | 1 |
Returns: e164, valid, extension.
3. Action: Score the lead
App: Code by Zapier · Event: Run JavaScript · Tasks: 1
Facebook forms rarely ask for a job title, so the score leans on budget, timeline, and whether a real email was given.
Paste the whole of code/score-lead.js into the code box. Source: content/code/score-lead.cjs. Unit tests: content/code/score-lead.test.cjs.
| Input Data key | Value |
|---|---|
email | [1. email] |
budget | [1. budget] |
timeline | [1. timeline] |
message | [1. service_interest] |
Returns: score, tier, reasons, is_work_email.
4. Action: Create or update the HighLevel contact
App: LeadConnector · Event: Create/Update Contact · Tasks: 1
Matches on email or phone, so a lead who submits twice is updated, not duplicated.
| Field | Value |
|---|---|
| Location | YOUR_HIGHLEVEL_LOCATION |
| Full Name | [1. full_name] |
| [1. email] | |
| Phone | [2. e164] |
| Source | Facebook lead ad: [1. ad_name] |
| Custom field: lead_score | [3. score] |
| Custom field: service_interest | [1. service_interest] |
Later steps can map: id, is_new.
5. Action: Tag the contact with its tier
App: LeadConnector · Event: Add Tag to Contact · Tasks: 1
The tag (lead-hot, lead-warm, lead-cold) is what HighLevel workflows trigger on, so each tier gets its own follow-up.
| Field | Value |
|---|---|
| Location | YOUR_HIGHLEVEL_LOCATION |
| Contact | [4. id] |
| Tags | lead-[3. tier] |
Later steps can map: id.
Test it
Use sample-trigger.json as the test record. For an instant or webhook trigger, send it to the trigger once; for a polling trigger, create a matching record in the app and click Test trigger. Then test each step in order and read its output before you turn the Zap on.
{
"lead_id": "1209384756610023",
"created_time": "2026-11-24T18:03:41Z",
"form_name": "Free consultation form",
"ad_name": "Winter whitening offer",
"full_name": "Maria Lopez",
"email": "maria.lopez@casa-lumen.example",
"phone_number": "(415) 555-0123",
"service_interest": "Teeth whitening and a check-up",
"budget": "1000",
"timeline": "this week"
}
Plan and task usage
| Step | App | Tasks |
|---|---|---|
| 1. New lead from the consultation form | Facebook Lead Ads | 0 |
| 2. Format the phone number | Code by Zapier | 1 |
| 3. Score the lead | Code by Zapier | 1 |
| 4. Create or update the HighLevel contact | LeadConnector | 1 |
| 5. Tag the contact with its tier | LeadConnector | 1 |
A typical run uses 4 tasks. Zapier does not charge tasks for triggers, Filter, Paths, Formatter, Delay, Looping, Digest, Storage, or Zapier Tables steps. AI by Zapier is counted here as 1 task; Zapier prices it by model tier, so a larger model can cost more.
Minimum plan: Professional, because of: multi-step Zap: 4 steps after the trigger. The Free plan only runs two-step Zaps (a trigger and one action) and leaves out Filters, Paths, Formatter, webhooks, AI by Zapier, and premium apps.
Customize
- Set
default_countryto your calling code (44 for the UK, 61 for Australia) if most leads are local. - Add a Filter on
[2. valid]before the contact step if you would rather not store leads whose number failed the check. - Use a different tag prefix per ad account if one HighLevel location serves several brands.
Limits
- The phone check is a length and format check, not a carrier lookup. A well-formed fake number still passes.
- Facebook only sends the questions on the form. Add budget and timeline questions or the score will mostly reflect the email.
Time saved
About 2 minutes per lead, and no failed SMS workflows from badly formatted numbers.
Files
| File | What it is |
|---|---|
zap.json | The Zap, step by step, in schema 1.0.0. |
zap.yaml | The same document in YAML. |
sample-trigger.json | Fictional trigger record for the first test. |
diagram.png | The step list, drawn like the Zapier editor. |
code/normalize-phone.js | Paste-ready Code by Zapier step. |
code/score-lead.js | Paste-ready Code by Zapier step. |