# Integrate Callingly With Facebook Lead Ads

Source: https://callingly.com/help/article/63-integrate-callingly-with-facebook-lead-ads

<div data-html-block><table class="feature-chips"><tbody><tr><td><span class="material-icons" style="color: #5B66FF">start</span> One-way integration</td><td><span class="material-icons" style="color: #5B66FF">feed</span> Form trigger</td><td><span class="material-icons" style="color: #5B66FF">sync_disabled</span> No owner sync</td></tr></tbody></table></div>

Callingly connects to your Facebook Lead Ads account, instantly triggering calls whenever a new lead submits their information through a Facebook Lead Ads Form.

<div class="row relevant"><p><span class="material-icons">supervisor_account</span> Owners and Admins can set up integrations. <em class="float-right-desktop">Approx. reading time 3 min.</em></p></div>

<h2 id="connect-and-configure-callingly">Connect Callingly To Facebook Lead Ads</h2>

<dl><dt>1.</dt><dd>Go to <a href="https://callingly.com/dashboard/integrations" target="_blank">Integrations</a>, click <strong>New Integration</strong>, find <strong>Facebook Lead Ads</strong> and click <strong>Connect</strong>.</dd><dt>2.</dt><dd>Log in to Facebook if it asks, and click <strong>Continue</strong> to let Callingly receive your leads. You'll come back to Callingly.</dd><dt>3.</dt><dd>On the integration's <strong>Settings</strong> tab, pick the <strong>Facebook Page</strong> your lead ads run on and click <strong>Install</strong>.</dd><dt>4.</dt><dd>Under <strong>Leads Ads Forms</strong>, pick the form whose leads Callingly should call, or <em>All Forms</em>, and click <strong>Save</strong>. To call leads from some forms but not others, add one Facebook Lead Ads integration per form.</dd></dl>

<h2 id="routing-and-fields">Set Up Routing And Fields</h2>

* **Routing** decides which team calls each lead, and which sequence it follows. Add rules to send different leads to different teams, and pick a team under <em>Everything else</em> for the rest. See <a href="https://callingly.com/help/article/82-understanding-call-routing" target="_blank">Understanding Call Routing</a>.
* <span id="field-mapping"></span>**Fields** matches your form's questions to Callingly's lead fields, including your own custom fields.

<h2 id="test-integration">Test Your Integration</h2>

Testing the integration to ensure everything works as you intend is always a good idea. You can do this by heading to the <a href="https://www.facebook.com/login.php?next=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Flead-ads-testing%2F" target="_blank">Facebook Lead Ads testing tool</a>.

<dl><dt>1.</dt><dd><strong>Head to the </strong><a target="_blank" href="https://www.facebook.com/login.php?next=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Flead-ads-testing%2F"><strong>Facebook Lead Ads testing tool</strong></a>.</dd><dt>2.</dt><dd><strong>Select the relevant Facebook Page and Ad Form</strong>. These should be the page and form you selected above while setting up the integration.</dd><dt>3.</dt><dd><strong>Click the <em>Preview form</em> link</strong>. A pop-up will open with a copy of your form.</dd><dt>4.</dt><dd><p><strong>Fill in some information</strong> for your fake lead.</p><div class="callout-yellow"><span class="material-icons">warning_amber</span><div><strong>Important</strong>: Ensure the same lead doesn’t exist in your Callingly account. If the same fake information already exists, delete it from Callingly before continuing.</div></div></dd><dt>5.</dt><dd><strong>Click the <em>Next</em> button</strong>. You’ll be presented with some Terms and Conditions.</dd><dt>6.</dt><dd><strong>Hit <em>Submit</em></strong> to finalize the form submission. You’ll be returned to a confirmation page showing the test has been successfully sent. Back in Callingly, you should be prompted with a new inbound lead within a few moments.</dd></dl>

From then on, every lead who fills in your form comes into Callingly and your AI Agent calls them. See <a href="https://callingly.com/help/article/19-the-10-step-outbound-call-flow" target="_blank">The 10 Step Outbound Call Flow</a>.

<h2 id="common-questions">Common Questions</h2>

#### How do I send leads to different teams?

Add routing rules on the integration's **Routing** tab. Or add another Facebook Lead Ads integration for a different form.

#### How do I make sure the right details come through?

On the integration's **Fields** tab, choose which details the AI pulls from each lead. If it misses one, use **Tell the AI where to find it** to point it to the right question on your form.
