Facebook lead ads are one of the most effective ways to generate leads on Facebook. it is useful for marketers or businesses who want to automate actions on their leads.
Webhooks are automated messages sent from apps when something happens. Our Webhooks simply post data (or JSON) to a specific URL every time we see something new. Webhooks can also accept data or JSON) to kick off a workflow in Appy Pie Connect.
Webhooks By Connect IntegrationsFacebook Lead Ads + Webhooks By Connect
GET in Webhooks By Connect when New Lead is created in Facebook Lead Ads Read More...Facebook Lead Ads + Webhooks By Connect
PUT in Webhooks By Connect when New Lead is created in Facebook Lead Ads Read More...Facebook Lead Ads + Webhooks By Connect
POST in Webhooks By Connect when New Lead is created in Facebook Lead Ads Read More...Facebook Lead Ads + Google Sheets
Add Rows on Google Sheets for Every New Lead on Facebook Lead Ads Read More...It's easy to connect Facebook Lead Ads + Webhooks By Connect without coding knowledge. Start creating your own business flow.
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
Facebook Lead Ads is a digital marketing top that allows advertisers to build an audience and manage their Facebook ad campaigns, all in one place. Facebook Lead Ads can be used to generate leads, engage potential customers, target relevant audiences, improve conversions, and develop brand awareness (Facebook, 2017.
The integration of Facebook Lead Ads and Webhooks By Connect allows for advertisers to gain more contrp over their advertising activities by integrating two tops together. The combination of these two tops has the potential to enhance the performance of the campaign and maximize campaign results.
Facebook Lead Ads allow users to cplect leads and provide businesses with analytics about leads through Facebook’s business dashboard. This top provides advertisers with information such as the number of leads, lead sources, engagement rate, cost per lead, time to fill out form, and conversion rate (Facebook, 2017.
Webhooks By Connect is a web-based spution that enables its users to connect with multiple platforms and services through callbacks or “webhooks”, which are triggered by specific events or actions on those platforms or services (Webhooks By Connect. Webhooks By Connect provides users with a platform where they can create applications that can integrate with other applications and services. This platform serves as a central hub for users’ applications. Users can use Webhooks By Connect to easily manage their callbacks. Webhooks By Connect supports customizable callback functionality which allows users to create callbacks individually or in bulk via the API. Users can also create webhooks manually via the Webhooks By Connect dashboard or API. Advertisers who use Webhooks By Connect can trigger custom webhooks based on user events such as form submissions, clicks, and other actions on their websites (Webhooks By Connect.
Figure 1. Integration of Facebook Lead Ads and Webhooks By Connect
The integration of Facebook Lead Ads and Webhooks By Connect invpves the fplowing steps:
Advertisers create a campaign on Facebook Lead Ads and add the link that will point to their website where the process will be triggered after the user fills out the form. Advertisers must include an audience criteria in order to specify the type of people who will see the ads created by the advertiser. Advertisers can select an existing audience or create a new one that reflects their audience’s demographics and interests. Advertisers can set the budget for their campaign based on daily or lifetime spending limits. Advertisers can choose if they want to purchase leads from Facebook or show ads just for clicks to their website without purchasing any leads. They can buy leads via cost per click or cost per action profiles. Finally, advertisers can choose the channel where they want to run their campaign. This step allows them to select if they want their ad to appear in people’s newsfeeds or in the right rail on mobile devices (Facebook, 2017.
Figure 2. Steps for Integrating Facebook Lead Ads and Webhooks By Connect
Next, advertisers set up a callback URL on their website after creating a new Webhooks By Connect application using the dashboard or API. The callback URL must be added into the field “Callback URLs” within the “Integration Settings” of their Facebook Lead Ads account settings (Facebook Software Developer Network, 2018. The callback URL should resemble http://www.websiteURL/webhook/webhookName where websiteURL is the domain name of the website where the callback is placed, webhook is the callback name, and webhookName is a unique identifier assigned by the user (Facebook Software Developer Network, 2018. The user identifier is necessary because it is used to prevent duplicate webhooks from being called by multiple callback URLs (Facebook Software Developer Network, 2018. The user identifier consists of letters, numbers, and dashes. It appears before the webhook name and should not be longer than 128 characters (Facebook Software Developer Network, 2018. For example. http://www.websiteURL/webhook/userId_webhookName . This callback URL should contain full path and request headers so that it can respond with successful responses in JSON format (Facebook Software Developer Network, 2018. If the callback URL does not have full path and request headers then it cannot return success messages in JSON format (Facebook Software Developer Network, 2018. Figure 3 shows an example of a successful response in JSON format returned by a callback URL when a user submits a lead form on a website.
Figure 3. Example of Successful Response in JSON Format Returned by a Callback URL When a User Submits a Lead Form on a Website
[{"object":{"properties":{"lead_id":100001,"lead_status":"active","lead_value":10,"lead_name":"Lia","lead_source":"facebook","lead_address":"321","lead_email":"[email protected]/lead_callback/userId_userid","lead_phone":"77777777777"}}],"errors":[{"object":{"properties":{"error_detail":"Error message","errors":[]}},{"object":{"properties":{"error_detail":"Error message","errors":[]}},{"object":{"properties":{"error_detail":"Error message","errors":[]}}]},"success":1,"error":0}]
After creating a new Webhooks By Connect application at https://applications.webhooksbyconnect.com , users need to use the dashboard or API to create callbacks manually or in bulk depending on their preference. Figure 4 shows an example of creating callbacks manually via the dashboard while figure 5 shows an example of creating callbacks manually via API calls. Once callbacks are created, they must be linked to specific webhook URLs using unique identifiers assigned by the user. Each callback must be linked to a specific webhook URL. If multiple callbacks are associated with the same webhook URL then only one of them will ever be called by that webhook URL (Webhooks By Connect. In order to link a callback to a specific webhook URL using Webhooks By Connect dashboard users need to click on “Link Callback” menu item under “Linked Callbacks” menu item inside “Linked Callbacks” section of “Manage Callbacks” page (Webhooks By Connect. This displays a list of current callbacks that are linked to particular webhook URL. Figure 6 shows an example of this process via Webhooks By Connect dashboard. Once users have selected a particular callback they will see a window where they can copy the contents of its URL header in order to link it with the webhook URL provided by Facebook Lead Ads advertising account (Webhooks By Connect. Figure 7 shows an example of this process via Webhooks By Connect dashboard. After copying contents of the URL header advertiser needs to paste them into “Header Name” field of “Integration Settings” section within their Facebook Lead Ads account settings (Facebook Software Developer Network, 2018. Users can click on “Save Changes” button at the bottom of this window in order to save their changes (Webhooks By Connect. Figure 8 shows an example of this process via Webhooks By Connect dashboard.
Figure 4. Example of Creating Callbacks Manually Via Webhooks By Connect Dashboard Figure 5. Example of Creating Callbacks Manually Via API Calls Figure 6. Example of Linking Callback to Specific Webhook URL Using Web Hooks By Connect Dashboard Figure 7. Example of Copy Paste Contents of URL Header Into “Header Name” Field Within “Integration Settings” Section Within Their Facebook Lead Ads Account Settings Figure 8. Example of Saving Changes Made to “Header Name” Field Within “Integration Settings” Section Within Their Facebook Lead Ads Account Settings Once callbacks are created and linked to specific webhook URLs they should be tested using an online service such as PostTest(Postman), REST Client(Postman), RequestBin(Postman), or curl(Postman. in order to ensure that they work properly (Webhooks By Connect. During testing some possible errors may occur such as lack of full path or request headers, invalid content-type header value, etc. These errors should be fixed before testing is complete since they will prevent correct response messages from being sent whenever someone submits a lead form on your website using your customized callback URL (Webhooks By Connect. Additionally, some possible issues such as callback not recognized by Facebook
The process to integrate Facebook Lead Ads and Wave may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.