About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This trigger fires when a new lead is created.
- API endpoint slug
- facebook_lead_ads.new_lead
Trigger fields
Page and form Nested dropdown list
- Label
- Which page and form?
- Slug
- page_and_form
- Required
- true
- Can have default value
- false
Ingredients
Full nameThe full name of the person the lead is about.
- Slug
- full_name
- Filter code
- FacebookLeadAds.newLead.FullName
- Type
- String
- Example
- John Smith
First nameThe first name of the person the lead is about.
- Slug
- first_name
- Filter code
- FacebookLeadAds.newLead.FirstName
- Type
- String
- Example
- John
Last nameThe last name of the person the lead is about.
- Slug
- last_name
- Filter code
- FacebookLeadAds.newLead.LastName
- Type
- String
- Example
- Smith
EmailThe email of the lead.
- Slug
- Filter code
- FacebookLeadAds.newLead.Email
- Type
- String
- Example
- joe@coffeeshop.com
Phone numberThe phone number of the person the lead is about.
- Slug
- phone_number
- Filter code
- FacebookLeadAds.newLead.PhoneNumber
- Type
- String
- Example
- 5558885555
Company nameThe name of the company the lead is associated with.
- Slug
- company_name
- Filter code
- FacebookLeadAds.newLead.CompanyName
- Type
- String
- Example
- Joe's Coffee House
Job titleThe job title for the person that the lead is about.
- Slug
- job_title
- Filter code
- FacebookLeadAds.newLead.JobTitle
- Type
- String
- Example
- Owner
Form nameThe name of the form.
- Slug
- form_name
- Filter code
- FacebookLeadAds.newLead.FormName
- Type
- String
- Example
- My form
Form IDThe ID of the form.
- Slug
- form_id
- Filter code
- FacebookLeadAds.newLead.FormId
- Type
- String
- Example
- 2323423
Ad nameThe name of the Ad.
- Slug
- ad_name
- Filter code
- FacebookLeadAds.newLead.AdName
- Type
- String
- Example
- Free Quote
Ad IDThe ID of the Ad.
- Slug
- ad_id
- Filter code
- FacebookLeadAds.newLead.AdId
- Type
- String
- Example
- 23423432
Campaign nameThe name of the campaign.
- Slug
- campaign_name
- Filter code
- FacebookLeadAds.newLead.CampaignName
- Type
- String
- Example
- Catering Company
Campaign IDThe ID of the campaign.
- Slug
- campaign_id
- Filter code
- FacebookLeadAds.newLead.CampaignId
- Type
- String
- Example
- 23734234
Page nameThe name of the page.
- Slug
- page_name
- Filter code
- FacebookLeadAds.newLead.PageName
- Type
- String
- Example
- My page
Page IDThe ID of the page.
- Slug
- page_id
- Filter code
- FacebookLeadAds.newLead.PageId
- Type
- String
- Example
- 234234
Lead IDThe ID of the lead.
- Slug
- lead_id
- Filter code
- FacebookLeadAds.newLead.LeadId
- Type
- String
- Example
- 23742342
Created atDate and time event was created.
- Slug
- created_at
- Filter code
- FacebookLeadAds.newLead.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
Field data jsonA JSON string of the field values of the form.
- Slug
- field_data_json
- Filter code
- FacebookLeadAds.newLead.FieldDataJson
- Type
- String
- Example
- {}