HubSpot Import
Import HubSpot owners, companies, contacts, deals with their pipelines, notes, calls, meetings and tasks into Odoo CRM, with a stage map, owner matching and incremental re-runs.
What it does
Brings a HubSpot account into Odoo CRM: HubSpot owners are matched to your Odoo users, companies come with their contacts (by primary company), deals land in the Odoo pipeline through a stage map built from your own deal pipelines, and notes, calls, meetings and tasks become internal notes in the chatter of the deal, company or contact they belong to.
Re-runs read only what changed in HubSpot and never duplicate; records deleted in HubSpot are archived in Odoo. Each step writes a row in the Import History with created, updated, archived and skipped records, API calls and the API requests your private app has left today.
Demo video
The video loads from YouTube (privacy-enhanced mode) when you press play. Watch on YouTube
Features
| Feature | What it does |
|---|---|
| Owners | Matched to existing Odoo users by e-mail for salesperson assignment; no user is ever created. |
| Companies and contacts | With addresses, phones, e-mail, job title and industry; each contact under its primary company. |
| Deals and pipelines | Amount, close date, stage and the stage probability; won and lost as your pipeline stages define them; the pipeline name is kept when you use several. |
| Notes, calls, meetings and tasks | Internal notes in the chatter, with call status and duration, meeting time and place, task status and due date; HubSpot rich text is shown as text. |
| Incremental re-runs | Only records changed since the last import are read; every record is matched by its HubSpot id first. |
| Deletes | Companies, contacts and deals deleted in HubSpot are archived in Odoo, never deleted. |
| API limits | Only properties that exist in your account are requested; the requests left today are kept in the history; large imports save as they go and continue in the background. |
| Security | Read-only; the token is visible to administrators only and never logged; only api.hubapi.com is called; the HubSpot link fields can only be set by the import and administrators. |
Setup
- HubSpot: Settings > Integrations > Private Apps > Create a private app with read scopes for companies, contacts, deals, owners and the notes, calls, meetings and tasks objects. Copy its access token.
- Odoo: Settings > HubSpot. Paste the token and click Test Connection.
- Click Import from HubSpot, choose what to import and click Start Import (or Run in Background for a large account).
- Check the User Map (owners matched by e-mail) and the Stage Map (your pipelines, with won and lost as HubSpot defines them), then run again: only changes are read.
Requirements
- Odoo 17, 18, 19 or 20, Community edition
- Odoo apps: CRM, Contacts, Discuss
- Python requests on the Odoo server
What it does not do
- Export from Odoo to HubSpot (one-way import).
- The HubSpot Leads object (its contacts are imported), e-mails, tickets, attachments, products, quotes and custom objects.
- OAuth app installs (a private app token is used).
- Creating Odoo users.
Tests
| Odoo | Tests passed | Last run |
|---|---|---|
| 17 | 71 | |
| 18 | 71 | |
| 19 | 71 | |
| 20 | 71 |
The tests ship with the module source, so you can run them on your own server.
Questions
Which scopes does the private app need?
Read scopes for companies, contacts, deals, owners and the notes, calls, meetings and tasks objects. The import never writes to HubSpot.
Does a second import create duplicates?
No. Records are matched by their HubSpot id; a re-run only reads what changed since the last import.
What happens to records deleted in HubSpot?
Companies, contacts and deals deleted in HubSpot are archived in Odoo on the next import.
I use several deal pipelines. How do they map?
Each stage becomes a Stage Map row named "Pipeline / Stage", with won and lost taken from the stage probability you set in HubSpot.
Are HubSpot leads imported?
Not in this version: HubSpot leads always belong to a contact, and contacts are imported. Write to us if you need the leads object.
Would you rather we ran the migration?
CRM Smiths runs managed CRM migrations into Odoo: fixed scope, published prices, from $8,000.