Help Center / Integrations & API

Integrate Callingly With HubSpot

On this page
swap_horiz Two-way integrationaccount_tree Workflow triggersync Two-way owner sync

Callingly connects to your HubSpot account, allowing you to trigger calls to your leads using a Workflow in HubSpot. The call results and recording can then sync back to HubSpot.

supervisor_account Owners and Admins can set up integrations. Approx. reading time 6 min.

Connect Callingly to HubSpot

You'll initiate the connection between Callingly and HubSpot from the Callingly side.

1.
Navigate to the New Integration page.
2.
Click the Connect button next to the HubSpot integration option.
3.

Select the HubSpot account you wish to use on the screen that pops up, to grant Callingly access to your HubSpot account.

info_outline
Note: If you're not logged in, you'll be taken to HubSpot's login page first.
4.
Click the Choose Account button. The HubSpot connection will happen and you'll be redirected back to Callingly.

Choose Settings

Open the integration from the Integrations page. Its Settings tab has these options:

Name

The integration's name in Callingly.

Sync Calls

Log each of your reps' calls with a lead in HubSpot as a call.

Sync AI Agent Calls

Log the AI Agent's calls with leads in HubSpot, inbound or outbound, answered or not. See below.

Sync AI Scheduled Calls

Create a meeting in HubSpot when your AI Agent books a callback with a lead.

Sync SMS

Log texts you send and receive in HubSpot.

Sync Lead Owner

When Callingly assigns the lead to a user, set the same owner in HubSpot. Each user must be matched to their HubSpot user (see below).

AI Meeting Booking

When a lead asks the AI Agent for a time, book a meeting on your HubSpot meeting link instead of a Callingly callback. See below.

What starts a call: a HubSpot workflow with Callingly's Start Call action. The next section shows how to set one up.

Two more tabs finish the setup:

  • Routing decides which team calls each lead, and which sequence it follows. See Understanding Call Routing.
  • Fields matches HubSpot fields to Callingly's lead fields, including your own custom fields.

Create a Workflow in HubSpot

Now we need to set up a workflow in HubSpot that will pass Lead information to Callingly and start the outbound call flow.

For the purposes of this article, we want our workflow to cause new leads to be called through Callingly. We don’t need anything to happen through Callingly when an existing HubSpot lead changes.

From the dashboard of your HubSpot account:

1.
Click Workflows in the top navigation menu. You'll be redirected to the workflows page.
2.
Hit the Create Workflow button in the top right corner of the page.
3.
Choose From Scratch from the dropdown menu. You'll be taken to the setup page.
4.
Select either Contact-, Deal-, or Ticket- based for the type of workflow. The other options HubSpot provides will not work with Callingly. For the purposes of this article, we'll choose a Contact-based workflow.
5.
Tick the Blank workflow option under the question How do you want this workflow to start?
6.
Click Next

Set up triggers

For our article, we want Callingly’s outbound call flow to be triggered when a new lead comes into HubSpot. Because of the way HubSpot works, we’ll want to specify that we only want to trigger the workflow for New Leads that were created after today’s date — otherwise, we’ll start calling anyone and everyone with the Lead status of New.

1.
Click the Set up triggers button. A panel will slide open asking you to select a filter type.
2.
Choose the Contact properties filter.
3.
Select Lead Status.
4.
Tick the is any of box.
5.
Choose New from the dropdown menu.
6.
Click the Apply filter button.
7.
Press the AND button to add a secondary filter.
8.

Repeat steps 2 – 6, adding Became a lead date as the secondary filter, setting the date to after today’s date.

tips_and_updates
Tip: You might also add a tertiary filter that filters out any leads that don’t have phone numbers, to help conserve resources.
9.

Click the Save button.

info_outline
Note: Only you know how your HubSpot setup works best. These parameters are for demonstration purposes only and might not work for you. In that case, choose what does!

Create an action

It’s great for the workflow to start, but if we don’t define an action nothing will happen. So let’s tell HubSpot what is meant to happen to our Leads after they enter the workflow.

1.
Hit the + button in your workflow path to add an action to it.
2.
Select Start Call under the Callingly list of actions.
3.
Choose a Team from the dropdown menu.    
4.
Click the Save button to save the chosen action in your workflow.

Review and publish your workflow

It's crucial that you both Review and publish your workflow; otherwise, all the work you’ve done is for naught!

1.
Press the Review and publish button in the top right corner of the screen. You’ll be taken to a screen where you’re asked to select a few options.
2.
Choose Yes, enroll existing contacts who meet the trigger criteria as of now. Since we included a filter for the Became a lead date, we don’t need to worry about unnecessary contacts hitting this workflow.
3.
Configure any other settings on this page that you feel are necessary. For example, under the heading When a contact no longer meets the criteria you might choose to have them removed from the workflow. 
4.

Click the Turn on button in the top right corner of the page.

tips_and_updates
Tip: It’s a good idea to name your workflow with something unique and descriptive. This way, you can easily find it again later if you need to update it or do troubleshooting.

Sync AI Agent Calls

With Sync AI Agent Calls on, each AI Agent call with a lead, inbound or outbound and answered or not, is logged as a call on the contact's HubSpot timeline. Each call's title carries Callingly's result, and its outcome uses HubSpot's built-in call outcomes where one fits, so you can use them in workflows and reports:

Callingly resultHubSpot call outcome
Contacted, Callback ScheduledConnected
Left VoicemailLeft voicemail
Voicemail (none left), No AnswerNo answer
BusyBusy
Failed (the dial didn't go through)None

Calls that never became a conversation with a lead aren't logged: a team member or robocall dialing in, an inbound caller who hangs up without speaking, or a lead who hangs up during the AI's introduction.

Sync Calls still logs your reps' calls, so a lead the AI Agent warm-transfers shows both: the AI's call and the rep's.

AI Meeting Booking

When a lead asks the AI Agent for a time, on an outbound call or by text, it can book a meeting on your HubSpot meeting link instead of a Callingly callback. The AI only offers times that are open on the link, and HubSpot sends the lead the invite.

1.
Pick how meetings are booked under AI Meeting Booking: On one meeting link, or On each lead owner's personal link (the meeting link of the contact's owner in HubSpot).
2.
Pick the link in AI Meeting Link. With lead owners' links, this is the Fallback Meeting Link, for leads whose owner has no personal link or who have no owner. Leave it empty to book callbacks for those leads.
3.
Save.
info_outline
Note: Meetings need the lead's email, because HubSpot sends the invite there. A lead without one, or a booking HubSpot can't take, gets an ordinary callback instead. If the settings ask you to reconnect HubSpot, do so and allow meeting access.

Sync Lead Owner

With Sync Lead Owner on, match each Callingly user to their HubSpot user:

1.
Go to the Users page and click Edit next to the user.
2.
Under Integrations, pick their account in the HubSpot User dropdown.
3.
Save, and repeat for each user.

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

Next Steps

  1. Test the integration. Create a new fake lead in your HubSpot account, ensuring that it matches whatever parameters you included in your workflow. This should cause the lead to enter the HubSpot workflow. A call will initiate through the outbound call flow within a few minutes.
  2. Set the call schedule. Be sure to set the schedule for when your Team can receive calls. This way, nobody will receive a call outside of work hours.

Pro-Tip

Route to different Callingly teams based on lead information

You can route leads to specific teams based on the Lead’s information. Add an if/then branch before the Start Call action event in your workflow. You can then put the Start Call action after each if/then branch, choosing a different Team for each action.

Common Questions

Can the AI Agent book meetings on my HubSpot calendar?

Yes. Pick a link under AI Meeting Booking in the integration's settings, and when a lead with an email asks for a time, on an outbound call or by text, the AI books a meeting on that link instead of a callback. See AI Meeting Booking.

Can I see the AI Agent's calls in HubSpot?

Yes. Turn on Sync AI Agent Calls, and the AI's calls with leads are logged on the contact's timeline with their result and HubSpot call outcome. See Sync AI Agent Calls.

Where is the lead status synced in HubSpot?

The lead status and lead results are synced to the contact’s callingly_status and callingly_results fields in HubSpot.

info_outline
Note: Sync Calls logs your reps' calls with leads. The AI's own calls sync only with Sync AI Agent Calls on (see above). With Sync Lead Owner on, the rep who takes the AI's transfer becomes the lead's owner in HubSpot, if your account assigns lead owners automatically.

How do I route leads to different Teams?

You can add an if/then branch before the Start Call action event in your workflow. You can then put the Start Call action after each if/then branch, choosing a different Callingly team for each action.

How do I ensure the correct fields are synced between HubSpot and Callingly?

On the Integrations page in Callingly, select the fields from HubSpot that match the Callingly fields. Choose the appropriate item for HubSpot from the dropdown menu for each Callingly field. You do this on the integration's Fields tab; see Choose Options above.

How do I sync the lead owner between HubSpot and Callingly?

You can do this by heading over to the Users page in Callingly and editing the User you want to change. Look for the HubSpot User field box and select the user from the dropdown menu. When a Lead is synced into Callingly, the Lead will maintain that relationship with your user as the lead owner.

Was this article helpful?

Still need help?

Send us a message and our support team will get back to you.

Contact support

View as Markdown