Hubspot
This guide shows you how to connect a HubSpot account so that your AI
Employee can create contacts and schedule meetings via HubSpot.
Prerequisites
A HubSpot account and a HubSpot Developer account.
Create a new project
Go to the Project page.
Click the three dots icon → Create New Project.
In the form, enter:
Idn :
hubspot_integrationTitle :
hubspot_integrationModule :
hubspot_integration
Toggle Auto update enabled → on.
Click Create.
Force update and publish
On the Project page, click the three dots icon next to the newly created project → Force Update Project.
Click Publish All (top-right of the page).
Connect the calendar and set the slug
In HubSpot: go to Profile & Preferences → General → Calendar tab and connect your calendar by following the on-screen prompts.
Under Meetings → Meetings URL , copy the slug value.
In the Newo.ai Builder: go to the Attributes page and set Slug(
hubspot_slug_name) attribute to the copied slug.Click Save.
Create a HubSpot legacy public app
In HubSpot: go to Development → Legacy Apps → Create legacy app → Public.
In the App Info tab, set a Public app name.
In the Auth tab, under Redirect URLs , add
newo.ai/.Click Create app.
Add OAuth scopes
In HubSpot: Under the Auth tab, click Add new scope.
Search for and select:
crm.objects.contacts.readcrm.objects.contacts.writecrm.objects.appointments.readcrm.objects.appointments.writescheduler.meetings.meeting-link.read
Click Update → Save changes.
Copy client credentials into Newo.ai
In the app’s Auth tab, copy Client ID and Client secret.
In the Newo.ai Builder: go to the Attributes page and set:
Client ID(
hubspot_client_id) → paste value → Click Save.Client secret(
hubspot_client_secret) → paste value → Click Save.
Set Redirect URL(
hubspot_redirect_url) tohttps://newo.ai/→ Click Save.
Authorize via install URL and capture the OAuth code
In HubSpot: Under the app’s Auth tab, copy the Sample install URL (OAuth) and open it in a browser.
Select your HubSpot account → Choose Account → Connect app.
After redirecting to a URL like
https://newo.ai/?code=eu1-923f-093hd-093hnc-bsna892847391, copy the value aftercode=.In the Newo.ai Builder: go to the Attributes page and set OAuth Code (hubspot_oauth_code) to the copied code → Click Save.
Click Publish All.
Verify the integration
Call your AI Employee to schedule a test appointment.
Confirm in HubSpot that:
A contact is created/updated as expected.
A meeting/appointment appears per your connected calendar and meetings configuration.
