Every way a lead arrives ends in the same place: the lead service. It puts the lead on a real pipeline and stage, runs the assignment rules, and links the lead to the person's contact. Leads from different channels come together because they all link to one contact.
Video tutorials for this topic
How duplicates are handled
Read this to the person in plain words before they ask "will I get duplicates?":
- One person is one contact. When a lead arrives, the contact is found by email, then by phone (last 10 digits), and created only when there is none. Each arrival is added to the contact's
sources(where it came from, when and which fields it brought). Every value seen is kept invalues. A value the team typed beats one the person entered (form, Facebook), which beats an import. - Another pipeline still gets its own lead. The same person arriving in a second pipeline gets a new lead there, linked to the same contact. One contact can have a lead in each pipeline.
- Repeat arrivals in the same pipeline:
- Facebook: the same Facebook lead is never added twice, and an email already on a lead in that pipeline is not added again.
- Spreadsheet import: an email already in that pipeline is skipped.
- The website form and leads added by hand are not checked. The same person sending the form twice gets two leads in that pipeline, both on one contact. Say so; don't promise otherwise.
Ask first
- Which pipeline should these leads land on? By name; take its sk.
- Is the Facebook page already connected? If not, the person connects it (step 1). The AI cannot.
- Is there a website form already? If not, build it as in Set up lead acquisition, steps 4–6.
Steps
1. Social Media: the Facebook page (the person does this)
Connecting Facebook is a sign-in to Facebook that the business owner does themselves, in their own browser, granting access to their page and ad accounts. The AI cannot connect it, and never asks for a Facebook password or token. Open Social Media → Accounts (/social-manager?tab=accounts) and ask the person to connect Facebook there.
For new lead form entries to arrive the moment they are made, the page also needs live updates. On the Facebook account, the Receiving DMs & comments panel must show the page set up. If it doesn't, the person presses Set up there.
Check: the Accounts tab shows the page as connected.
2. Leads: where Facebook leads land
There are two ways in:
- Live (each entry as it is made): it lands on the business's default pipeline, at its first stage. A live entry has no pipeline of its own to choose. So if the chosen pipeline should get Facebook leads live, it must be the default:
isDefault: trueon that pipeline. Stop: making a pipeline the default also changes where every lead without a pipeline lands: leads added by hand without one, and imports without one. Say this and wait for yes. - On demand (pull recent entries now): on the pipeline board, Import → From Facebook, with Land on set to the chosen pipeline. Behind it:
POST crm/leads/import/facebookwith{ pipelineId }. It runs in the background; the leads appear on the board when it finishes.
Each Facebook lead arrives with source: "facebook". Its campaign and ad go in sourceDetails. The form's own questions go in customFields under their Facebook names, and so do the campaign, ad and form ids.
Hands on: the pipeline's sk.
Check: open the board (/leads?pipeline=<pipeline sk>) and look for leads with source facebook.
3. CRM Forms and Automation: the website form
The website form feeds the pipeline through its automation's create_lead step. Check that step's pipelineId is the chosen pipeline's sk. If it isn't, change it in the builder (/automation?openId=<automation sk>). Website leads arrive with source: "website".
To give Facebook and website leads different owners, use the pipeline's assignment rules with criteria.source: ["facebook"] for one rule, ["website"] for another, then a catch-all.
Check: the automation is active (it was turned on with the person's yes when it was built), and its monitor (/automation?monitor=<automation sk>) shows recent runs succeeding.
4. Customers & Benefits: one person, one contact
To show the merge working, take a lead that arrived by both channels (or a test made with an @test.local address through both). Read its contactId and open that contact (/customers-benefits?openId=<contact sk>). Each of the person's leads carries the same contactId. The contact's sources list each arrival (facebook, form) and can be read on the record's JSON tab (recordTab=json). It has no view of its own.
When it's done
Tell the person:
- which pipeline Facebook leads land on live (the default) and on demand (the one they chose);
- which pipeline the website form feeds;
- who gets each kind of lead;
- how duplicates are handled, in the words above, including that repeat website answers are not merged into one lead.
Open the pipeline board.
Don'ts
- Don't try to connect Facebook, paste tokens or change the Facebook connection. The person does it.
- Don't make a pipeline the default without a yes.
- Don't merge or delete duplicate leads to tidy up. Each lead has its own history. Point the person to the shared contact instead.
- Don't promise a per-page or per-form Facebook pipeline choice for live leads. It doesn't exist.


