# HubSpot integration: two-way contact sync

> Synchronise HubSpot contacts and IRPEA customer records both ways, matched by email address, with the most recent change winning on conflict.

Adresse : https://www.irpea.com/en/integrations/hubspot
Mis à jour : 2026-11-24
Site : IRPEA ERP (https://www.irpea.com)

The HubSpot connector keeps the contacts of your HubSpot CRM and the IRPEA customer records aligned, both ways, matching them by email address.

## What is synchronised

The import reads contacts changed since the last run, in pages of 100 sorted by modification date, and creates or updates the matching customer records.

The export sends customer records with an email whose content changed since the last send: update by identifier for those already linked, creation or update by email for the others.

If a contact and its customer record were both changed since the last run, the most recent version wins, and a contact deleted or archived in HubSpot is flagged and never recreated.

- HubSpot search capped at 10,000 results per request: beyond that, the date cursor moves forward and the search starts again, with no loss.

## Authentication and security

The connection uses a HubSpot service key limited to the crm.objects.contacts.read and crm.objects.contacts.write scopes, and an existing private app token is still accepted.

The key is sealed at rest, and synchronising requires write access to the CRM module on top of company administration.

## Frequency

Import and export are both flagged for the cron, so they run at most once an hour when automation is on, and can be started at any time from the card.

## What is not synchronised

Only contacts and customer records are covered, not companies, deals or suppliers, and a customer record without an email address is never exported.

## Setup

1. **Create the key** : In HubSpot, open Settings, Integrations then Service Keys, and create a service key.
2. **Limit the scopes** : Grant only crm.objects.contacts.read and crm.objects.contacts.write, then copy the key.
3. **Existing token** : An existing pat- private app token is still accepted, as HubSpot no longer lets you create new ones since autumn 2026.
4. **Connect and test** : Paste the key and click “Connect and test”, the HubSpot portal is displayed.

## See also

- [Shopify connector for IRPEA ERP](https://www.irpea.com/en/integrations/shopify)
- [Slack connector for IRPEA ERP](https://www.irpea.com/en/integrations/slack)
- [Microsoft Teams connector for IRPEA ERP](https://www.irpea.com/en/integrations/microsoft-teams)
- [Qonto connector for IRPEA ERP](https://www.irpea.com/en/integrations/qonto)

Page checked on 2026-11-24.
