Pre-requisites
You must have an active HubSpot account and admin rights to connect to Alguna. We also recommend connecting your Hubspot account in your Sandbox before connecting to production.Overview
Permissions
Alguna automatically sets up technical mechanisms in your HubSpot instance upon connection to enable notifications and benefit from real-time synchronization. For this, we recommend using a user with a System Administrator profile when connecting your HubSpot instance. Otherwise, the user account used needs to have specific permissions.Set up HubSpot
1
In Alguna, navigate to the Integrations page
Once logged into the correct environment, go to Settings → Connections → Integrations.
2
Click on the Connect button for the Hubspot integration
On the Integrations Page → Click Connect on Hubspot integration.
A modal will pop-up asking you to allow access into your Hubspot instance.
3
Name integration for your future reference
Once connected, you may name the integration.
4
Choose syncing option
On the next screen, choose to use Hubspot as a source of creating new accounts in Alguna (this setting only applies to Hubspot → Alguna).
5
Complete integration
On the next screen you can choose to connect all your existing customers. If you need help with a full migration, contact
support@alguna.io.Syncing Flow
Account Creation
The integration can import customers once they get to a configured deal stage (for exampleclosedwon in HubSpot’s default pipeline).
Usage data and HubSpot ID
As soon as a HubSpot company has been imported, Alguna uses the HubSpot ID as an external ID (alias), so any usage data sent to Alguna with that ID is assigned to the right customer. Your application can send events with"account": "<hubspot-company-id>" to POST /events, and pass the same ID as customer_alias wherever the API takes a customer. To add or read aliases yourself, use Update a customer and Look up a customer ID by alias.
Deals and quotes
With the integration connected, thehubspot_deal_changed automation trigger fires on every deal change, with stage, stageEntered and changedFields in its payload. Pair it with the CRM actions — create_quote_from_opportunity, update_crm_record, set_opportunity_stage, void_open_quotes_for_opportunity, cancel_renewal_for_lost_opportunity — to run the quote-to-close loop from HubSpot. Ready-made templates for these are in the automation library.