# Integrate Callingly With ActiveCampaign

Source: https://callingly.com/help/article/40-integrate-callingly-with-active-campaign

<div data-html-block><table class="feature-chips"><tbody><tr><td><span class="material-icons" style="color: #5B66FF">swap_horiz</span> Two-way integration</td><td><span class="material-icons" style="color: #5B66FF">label</span> Tag trigger</td><td><span class="material-icons" style="color: #5B66FF">sync</span> Two-way owner sync</td></tr></tbody></table></div>

Callingly connects to your ActiveCampaign account, instantly triggering calls to your Contacts. This is done by adding a simple tag inside of ActiveCampaign.

<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 7 min.</em></p></div>

<h2 id="connect">Connect Callingly to ActiveCampaign</h2>

From the dashboard of your Callingly account:

<dl><dt>1.</dt><dd><strong>Navigate to the <a href="https://callingly.com/dashboard/integrations/new" target="_blank">New Integration page</a></strong>.</dd><dt>2.</dt><dd><strong>Hit the Connect button</strong> next to the ActiveCampaign integration option.</dd><dt>3.</dt><dd><strong>Copy and paste your ActiveCampaign API URL </strong>into the appropriate textbox. For help obtaining your API URL, please see the <a href="https://help.activecampaign.com/hc/en-us/articles/207317590-Getting-started-with-the-API#what-is-an-api--0-1" target="_blank">guide written by ActiveCampaign.</a></dd><dt>4.</dt><dd><strong>Copy and paste your ActiveCampaign API key</strong> into the appropriate textbox. For help obtaining your API key, please see the <a href="https://help.activecampaign.com/hc/en-us/articles/207317590-Getting-started-with-the-API#what-is-an-api--0-1" target="_blank">guide written by ActiveCampaign.</a></dd><dt>5.</dt><dd><strong>Click the Install button</strong>. Callingly will do the rest.</dd></dl>

<h2 id="setup-tags-and-settings">Choose Settings</h2>

Open the integration from the <a href="https://callingly.com/dashboard/integrations" target="_blank">Integrations</a> page. Its **Settings** tab has these options:

<div class="callout dashed"><h4>Name</h4><p>The integration's name in Callingly. Give it a clearer name if you connect more than one ActiveCampaign account.</p><h4>Tag On Call</h4><p>The tag added to a contact when Callingly reached them.</p><h4>Tag On Unsuccessful Call</h4><p>The tag added to a contact when Callingly couldn't reach them.</p><h4>Sync Lead Owner</h4><p>When Callingly assigns the lead to a user, set the same owner in ActiveCampaign. Each user must be matched to their ActiveCampaign user (see <a href="#sync-deal-owner">below</a>).</p><h4>Sync Calls</h4><p>Add a note to the contact in ActiveCampaign with the details of each of your reps' calls with a lead.</p></div>

<p class="mb-2"><strong>What starts a call:</strong> a tag. Adding the <strong>Tag That Starts Call</strong>, set on the <strong>Routing</strong> tab, to a contact in ActiveCampaign sends the contact to Callingly. It's <em>Callingly - Start Call</em> unless you change it. Adding <em>Callingly - Stop Calls</em> to a contact stops Callingly calling them.</p>

<p class="mb-2">Two more tabs finish the setup:</p><ul class="mb-2"><li><strong>Routing</strong> decides which team calls each lead, and which sequence it follows. See <a href="https://callingly.com/help/article/82-understanding-call-routing" target="_blank">Understanding Call Routing</a>.</li><li><strong>Fields</strong> matches ActiveCampaign fields to Callingly's lead fields, including your own custom fields.</li></ul>

<h2 id="configure-automation">Configure an Automation in ActiveCampaign</h2>

ActiveCampaign allows you to automate the flow of information through their Automations feature. An automation begins when certain trigger circumstances are met. The automation then causes other specified events to take place.

For Callingly, your Automation will need to add a Tag to a Contact. The addition of this Tag will prompt Callingly to begin the call flow. Callingly can subsequently Tag your Lead in ActiveCampaign after the call is attempted or completed.

To create an Automation, from inside of your ActiveCampaign account:

<dl><dt>1.</dt><dd><strong>Hit the Automations tab</strong> on the left side of the screen.</dd><dt>2.</dt><dd><strong>Click the Create an automation button</strong> in the upper right corner of the page.</dd><dt>3.</dt><dd><strong>Select Start from Scratch</strong> in the Create an Automation box that pops up.</dd><dt>4.</dt><dd><strong>Click the blue Continue button</strong> in the lower right corner of the popup.</dd><dt>5.</dt><dd><strong>Select a trigger</strong> that will start the automation from the new window that appears. For example, completing a lead form will begin your automation.</dd><dt>6.</dt><dd><strong>Follow the on-screen instructions</strong> for the type of trigger you’ve selected.</dd><dt>7.</dt><dd><strong>Hit the <span class="material-icons">add</span>button</strong> to add actions to the automation.</dd><dt>8.</dt><dd><strong>Select the Contacts tab</strong> in the Add a New Action box that pops up.</dd><dt>9.</dt><dd><strong>Select the Add a tag option</strong> to add tags to your automation.</dd><dt>10.</dt><dd><strong>Type <em>Callingly - Start Call</em> in the text input box</strong>. If the automation you’re creating is intended to add a different Callingly tag, type that tag instead.</dd><dt>11.</dt><dd><strong>Save your tag</strong> before closing the window.</dd></dl>

<h2 id="sync-deal-owner">Sync Lead Owner</h2>

With <strong>Sync Lead Owner</strong> on, match each Callingly user to their ActiveCampaign user:

<dl><dt>1.</dt><dd><strong>Go to the <a href="https://callingly.com/dashboard/users" target="_blank">Users</a> page</strong> and click <strong>Edit</strong> next to the user.</dd><dt>2.</dt><dd><strong>Under <em>Integrations</em>, pick their account</strong> in the <em>ActiveCampaign User</em> dropdown.</dd><dt>3.</dt><dd><strong>Save</strong>, and repeat for each user.</dd></dl>

A lead that already has an owner in ActiveCampaign comes into Callingly with the matching user as its owner.

<h2 id="next-steps">Next Steps</h2>

1.  **Test the integration**. During your team's call hours, add the start-call tag to a test contact in ActiveCampaign whose phone number isn't one of your users' numbers. Answer the AI's call like an interested lead: it asks your qualifying questions, then puts you through to your team.
2.  **Create your Team**. Right now, you're the only one who's going to receive calls through Callingly — that's no good! <a href="https://callingly.com/help/article/21-creating-and-managing-teams" target="_blank">Create your Callingly Team</a> so they can start answering calls.
3.  **Set the call schedule**. Once you've added your team, you'll want to <a href="https://callingly.com/help/article/37-setting-availability-schedules" target="_blank">set the schedule</a> for when they can receive calls. This way, nobody will receive a call outside of work hours.

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

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

You can do this by setting up a second instance of the ActiveCampaign integration using the same [steps outlined above](#connect). You can have as many instances as you like: simply use a unique Start Call Tag and a unique Team for each instance.

#### How do I stop any further calls if a user contacts a lead outside of Callingly?

You can do this by setting up an automation in ActiveCampaign using the steps outlined [above](#configure-automation). You’ll have the automation add the tag Callingly - Stop Calls. As soon as a lead is tagged in ActiveCampaign, Callingly will be notified, and no further calls will be scheduled.

#### How do I ensure the right fields sync between ActiveCampaign and Callingly?

On the <a href="https://callingly.com/dashboard/integrations" target="_blank">Integrations page</a> in Callingly, select the fields from ActiveCampaign that match the Callingly fields. Simply choose the appropriate item for ActiveCampaign from the dropdown menu for each Callingly field. You do this on the integration's **Fields** tab; see [Set Up Tags and Settings](#setup-tags-and-settings) above.
