Facebook Lead Ads (via Zapier)
Workflow Automation
Overview
Facebook Lead Ads simplifies lead generation by allowing users to submit their information directly on Facebook or Instagram through pre-filled forms. Businesses can customize forms, integrate leads with CRMs, and retarget users for better conversion. This tool captures accurate leads quickly, improves engagement, and drives conversions efficiently.
Using Zapier to integrate Facebook Lead Ads with CleverTap, you can do the following:
- Keep CRM Data Synchronized: When a new lead submits a Facebook Lead Ad form, create a user profile in CleverTap with details such as name, email, phone number, and so on.
- Remove Converted Users from Re-Engagement Campaigns: When a user converts through a Facebook Ad (for example, completes a purchase), update the user profile in CleverTap (example, mark the profile as Converted).
- Track Lead Source: When a new lead submits a Facebook Lead Ad form, upload an event in CleverTap with details such as event name, lead source, campaign name, and lead contact information. You can then use the event data to add the lead to a Facebook Audience for tailored retargeting ads.
Prerequisites for Integration
The following are the prerequisites for Facebook Lead Ads:
- Ensure you have access to your Facebook Lead Ads account.
- Ensure you have access to an active Zapier account to create the CleverTap app.
- Ensure you have a CleverTap account with valid Account ID, Passcode, and Region.
Integrate Facebook Lead Ads with CleverTap using Zapier
The integration process involves the following two major steps:
Create a Passcode on the CleverTap Dashboard
CleverTap uses a header-based authentication model to authenticate requests to the API. Every CleverTap API call must include Account ID and Passcode as the request headers. To create a passcode, refer to Create Account Passcode.
Create/Update User Profiles
Consider an example where you want to automatically sync leads from Facebook Lead Ads with CleverTap to trigger personalized engagement campaigns. This automation ensures that new leads from Facebook Lead Ads are added to CleverTap while existing leads are updated when details change. To do so, perform the following steps:
- Log in to the Zapier dashboard and click + Create Zap. Zapier can connect different applications, such as Facebook Lead Ads.
- Set up a Trigger. To do so, perform the following steps:
- Select Facebook Lead Ads from the App section. This starts the Zap when a trigger event occurs on Facebook Lead Ads.
- Select Trigger Event from the dropdown list and then select New Lead for this use case.
- Select Account and sign in using your Facebook Lead Ads account credentials. You can also connect a new account if your account does not appear in the dropdown.
- Click Continue. From the Configure section, fill in the mandatory detail.
- Select the Facebook Page connected to your lead form. If you cannot see your form, find the Facebook Page ID and set it as a custom value.
- Click Continue.
- Click Test Trigger. This ensures that the right account is connected and the trigger is set up correctly.
- Click Continue.
- Select the Action the zap must perform after the trigger event occurs. To do so, perform the following steps:
- Select CleverTap from the App event dropdown.
- Select Create/Update User Profile from the Action event dropdown. This implies that whenever a new lead is generated, a new user profile is created, or an existing user profile is updated with the new information.
- Select Account to connect the CleverTap account. The Zapier window opens.
- Enter all the required details to connect to the CleverTap account. Enter the same passcode you obtained in the Create a Passcode on CleverTap Dashboard step.
- Click Continue after successfully connecting your account.
- Configure the Action. Map Facebook Lead Ads data fields to CleverTap fields as follows:
CleverTap Field | Facebook Lead Ads Field |
---|---|
Identity | Facebook Lead Ads user ID field, email ID, or any unique identity field corresponding to the user. |
Creation Date | Date of the userβs creation in Facebook Lead Ads. |
Profile Properties | Include user properties in JSON format (such as name, email, role, and other custom properties). |
Mapping Identity and Object ID
You can keep the Identity field blank if you provide an Object ID, and vice versa.
- Click Continue and click Test Step to test the zap after mapping the files.
- Click Publish.
After publishing this zap, a new user is created, or an existing user is updated on the CleverTap dashboard every time a trigger occurs. CleverTap uses the Identity field to identify if it is a new user or an existing user. You can verify this by checking your CleverTap dashboard to confirm the user profile has been created or updated.
Upload Event
Consider an example where you want to upload an event to CleverTap with details such as event name, lead source, campaign name, and lead contact information. every time a new lead submits a Facebook Lead Ad form. This automation ensures that user actions or events tracked in Facebook Lead Ads are automatically recorded in CleverTap, enabling better tracking and personalized engagement strategies. To do so, perform the following steps:
- Log in to the Zapier dashboard and click + Create Zap.
- Set up a Trigger. For this example, perform the following steps:
- Select Facebook Lead Ads from the App section. This starts the Zap when a trigger event occurs in Facebook Lead Ads.
- Select Trigger Event from the dropdown list and select New Lead in this case.
- Select Account and Sign in with your Facebook Lead Ads account credentials. If your account does not appear in the dropdown, you can also connect a new account.
- Click Continue. From the Configure section, fill in the mandatory detail.
- Select the Facebook Page connected to your lead form. If you cannot see your form, find the Facebook Page ID and set it as a custom value.
- Click Continue.
- Click Test Trigger. This ensures that the right account is connected and the trigger is set up correctly.
- Click Continue.
- Select the Action that the zap must perform after the trigger event occurs. To do so, perform the following steps:
- Select CleverTap from the App event dropdown.
- Select Upload Event from the Action event dropdown. This implies that whenever a new event is generated, a new user profile is created, and an existing user profile is updated with the new information.
- Select Account to connect the CleverTap account. For more information about how to do this, refer to step 5 (iii) under Create or Update User Profiles.
- Click Continue after successfully connecting your account.
- Configure the Action. Map Facebook Lead Ads data fields to CleverTap fields as follows:
CleverTap Field | Facebook Lead Ads Field |
---|---|
User ID | Facebook Lead Ads user ID field, email ID, or any unique identity field corresponding to the user. |
Creation Date | Event creation date. |
Event Name | Select a predefined event or create a custom event. You can also map the event name using the Facebook Lead Ads data fields. |
Event Properties | Include metadata in JSON format (for example, event type, priority, event properties). |
Mapping Identity and Object ID
You can keep the Identity field blank if you provide an Object ID, and vice versa.
- Click Continue. Click Test Step to test the zap after mapping the files.
- Click Publish.
After publishing this zap, an event is uploaded to the CleverTap dashboard every time a trigger occurs. CleverTap uses the Identity field to identify if it is a new user or an existing user.
You can verify this by checking your CleverTap dashboard to confirm if the event has been logged.
FAQs
What happens if I do not map the required fields?
Not mapping required fields may result in incomplete data being transferred or failure to update user profiles and events correctly.
Updated 1 day ago