Lead capture
Create leads from inbound email, web forms and Facebook lead ads.
Leads made by these three channels have no owner. Add an Assignment Rule to hand them out.
Inbound email
On an Email Account with incoming mail enabled, tick Create Lead from Incoming Emails.
Each received mail that no lead or record claims becomes a lead named after the sender, with Source Email, and the mail is linked to it. No lead is made when:
- a lead already has the sender's address, or
- the sender is a machine address such as no-reply, mailer-daemon or postmaster.
Web forms
A CRM web form is a public page at /crm-form/<route> that creates a lead when a visitor submits it. Add ?embed=1 to drop the card around the form when you frame it on another site.
https://crm.example.com/crm-form/contact-us?embed=1How a form behaves:
- It collects only CRM Lead fields of plain types: text, numbers, dates, selects and checkboxes. No links, rich text or attachments.
- Hidden defaults, such as a Status, are added by the server, along with Source Web Form.
- A visitor cannot set any field the form does not list, such as Status or Lead Owner.
- A double click or retry makes one lead.
- Each address may submit 10 times a minute.
- Allowed Embedding Domains lists the sites that may frame it, such as
example.comor*.example.com. Elsewhere the form does not show.
Only a System Manager creates, publishes and deletes forms. The desk has no form builder screen; forms are built through the crm.crm_form RPCs (save_form, set_published, delete_form).
Facebook lead ads
Lead syncing pulls leads from Facebook lead forms. Set it up from the sidebar's Lead Sync section.
Create a Lead Sync Source of type Facebook with your Access Token. Click Fetch Facebook Pages to load your pages and their lead forms.
Pick the Facebook Page and Facebook Lead Form. On the lead form, map each question to a lead field. First name must be mapped.
Tick Enabled and choose a Background Sync Frequency: every 5, 10 or 15 minutes, hourly, daily or monthly. Click Sync Now to run one at once.
Each lead form can have one enabled source. The source shows Sync Status (Running, Done, Failed), Leads Imported and any Sync Error. A lead that fails to import lands in Failed Lead Sync Log, where Retry Sync imports it again. A lead already imported is skipped by its Facebook Lead ID, so a retried sync never makes duplicates.