How to migrate from HubSpot CRM to Twenty
Move HubSpot contacts, companies and deals to self-hosted Twenty: map properties, shape the data model, import in order, reconnect mail, switch on a set day.
In short
- HubSpot exports each object as CSV with all its properties and associations; notes, logged emails and meetings are not in those exports and come out through the HubSpot API.
- Fields, custom objects, stage options and users are created in Twenty before any import, because its CSV import creates records, not fields.
- Companies, people and opportunities are imported by CSV in that order; notes and tasks go through the API, because the CSV import cannot link a record to several object types.
- Marketing email, sequences and the shared inbox stay outside Twenty: campaigns move to listmonk, conversations to Chatwoot, and automations are rebuilt as workflows.
On this page (13)
Moving from HubSpot CRM to Twenty is an export and an import, with a rebuild around them. The records come across well once the object map is agreed: contacts, companies, deals, their properties and most of the links between them. What does not come across is everything HubSpot does around the CRM: marketing emails, workflows, sequences, forms, reports and the shared inbox. This guide covers the order we run it in, and where each of those parts goes.
Why teams move from HubSpot CRM to Twenty
Three reasons come up most often.
- The customer list is the business. Names, deal sizes and notes from calls are the most valuable data a sales team holds. With Twenty on your own machines, that record sits in your PostgreSQL database, in the location you choose.
- A data model without a tier. In HubSpot, custom objects need an Enterprise subscription. In Twenty, custom objects and fields are part of the product, created in the settings by whoever administers it.
- No fee per seat. HubSpot’s paid hubs are priced by seat and plan. Twenty’s open edition has no per-seat licence, so adding a colleague to the CRM is not a purchasing decision.
What you give up is breadth. HubSpot is a CRM plus marketing, sales, service and content tools, with a large marketplace of connectors, run by someone else. Twenty is a CRM with workflows, dashboards and an API. The tools around it are replaced one by one or retired, and the operation is the part Pilae takes on.
What moves, what is rebuilt, what goes elsewhere
Set expectations before anyone exports anything.
Where each part of HubSpot ends up
Imported into Twenty
- Contacts, companies and deals
- Custom properties in use, and custom objects
- Associations, where Twenty has a matching relation
- Notes and open tasks
- Owners, as Twenty workspace members
Rebuilt
- Pipelines and stages, as a select field
- Workflows, as Twenty workflows or in n8n
- Reports, as Twenty dashboards
- Website forms, through a workflow or n8n
- Email history, from each connected mailbox
Elsewhere or retired
- Marketing email: listmonk
- Conversations inbox: Chatwoot
- Sequences: no equivalent in Twenty
- Landing pages, ads and social tools
Step 1: map the objects and properties in use
Start with what HubSpot can tell you about itself.
- Export the property definitions. In HubSpot’s settings, open Properties and select Export all properties, ticking every object you use. The file gives each property’s name, internal name, type, options and fill rate. Properties nobody fills in stay behind.
- List the pipelines and stages for deals, and for any other object that has them.
- List the users who own records, with the email address each one will use in Twenty.
- List custom objects and association labels, if you have them. Custom objects need a HubSpot Enterprise subscription, so many accounts have none.
- List what sits around the CRM. Workflows (under Automation, Workflows, the Export view table action lists them as a spreadsheet, one folder at a time), sequences, forms on your website, marketing emails, the conversations inbox, reports and dashboards, and the marketplace apps connected to the account.
Then agree the object map with whoever runs sales.
| HubSpot | Twenty |
|---|---|
| Contact | Person |
| Company | Company |
| Deal | Opportunity |
| Deal pipeline and stages | Stage field on opportunities, shown as a board |
| Company owner, deal owner | Account owner, opportunity owner: a workspace member |
| Contact owner | A field you add to people, where it matters |
| Primary company of a contact | The person’s company |
| Note, task | Note, task, linked to records through the API |
| Call, meeting, logged email | A note, or the synced mailbox and calendar |
| Custom property | Custom field, created before the import |
| Custom object | Custom object, created before the import |
| Workflow | Twenty workflow, or n8n |
| Report, dashboard | Twenty dashboard |
Step 2: shape the data model in Twenty first
Twenty’s CSV import creates records, not fields. Everything the records need exists before the first file goes in.
- Fields and objects. Create the custom fields and custom objects from the map under Settings, Data Model, with types that match HubSpot’s.
- Select options. Add every option a select field will receive. The import matches options by their API value, not their label, and does not create new ones. Show API values on the field lists them.
- A HubSpot ID on each object. Add a unique text field that holds HubSpot’s record ID. Relations in the import can point to it, and it is how you reconcile and trace a record back after the move.
- Pipelines and stages. Twenty’s pipeline is a board view of opportunities with a column for each option of the Stage field. Set the stages as its options. Where HubSpot has several deal pipelines, either agree one set of stages, or add a Pipeline field and give each pipeline a board view filtered on it.
- Members before records. Invite every record owner under Settings, Members, and wait until they have accepted. Owner columns are matched to workspace members by email, and an invitation still pending matches no one.
Do this in a staging workspace first, so sales can review the layout with a sample of real data before the full load.
Step 3: export records and activities from HubSpot
Records and activities come out by different routes.
Records. Open each object’s All view, select Export, choose CSV and all properties and associations on records. Use CSV: it has no column limit, where the spreadsheet formats drop columns past theirs. Each associated object gets its own column, holding by default up to 1,000 associated record IDs and the associated records’ names. HubSpot emails a download link, valid for 30 days, and a large export may arrive as several files in a zip. Exporting needs the export permission in HubSpot. The HubSpot export guide has the details.
Activities. Record exports do not include notes, emails, meetings or other activities. Calls export from their own index page like any record, and tasks have an export of their own. Notes, logged emails and meetings come out through the HubSpot API, where each one is an object with its own associations to contacts, companies and deals. Since October 2026 HubSpot no longer lets accounts create private apps for this kind of access: a service key, under Settings, Integrations, Service Keys, takes their place, and existing private app tokens keep working.
What not to rely on. HubSpot’s CRM backup, under Backup & Restore in the settings, leaves out associations and activity data, so it is not a migration source. Exporting a single contact includes its activities, but only for that one contact.
Files. Attachments are not in CSV exports. HubSpot’s files tool exports separately, and the attachments that matter are uploaded to the matching Twenty records through the API.
Step 4: import object by object and reconcile
Import in dependency order, so every relation has a record to point to: companies, then people, then opportunities, then notes and tasks, then custom objects after whatever they depend on.
For each CSV file, open the object in Twenty, choose Import records from the menu, map the columns, fix the rows it rejects and spot-check before moving on. A file takes up to 10,000 records; split larger ones.
The formats Twenty expects are not the ones HubSpot exports, so each file is cleaned on the way. Twenty’s guide to preparing CSV files lists them all; these are the ones a HubSpot export always needs.
- Domains as full URLs (
https://example.com), unique in the file and in Twenty. - Phones in three columns: number, country code and calling code.
- Dates in one format throughout,
YYYY-MM-DDor ISO 8601. - Amounts in two columns, the amount and its currency code.
- Select values as Twenty’s API values, mapped from HubSpot’s labels, deal stages included.
- Booleans as
TRUEorFALSE, in capitals. - Owners as the member’s email address in Twenty, whatever the export holds.
- Relations as one column holding the parent’s unique value: the company domain or HubSpot ID on each person, the company and the point of contact on each deal. Map one identifier per relation, not two.
Where the two models differ
A person in Twenty belongs to one company, and an opportunity has one company and one point of contact. HubSpot allows several of each. Use each contact’s primary company from HubSpot, and agree which contact becomes each deal’s point of contact. Twenty links many records to many only through a junction object you create, so add one where the other associations matter, or record them in a note or a field rather than dropping them without a trace.
Notes and tasks through the API
A note or a task can be linked to people, companies and opportunities at once, and Twenty’s CSV import does not set relations that point to several object types. They are loaded through Twenty’s REST or GraphQL API instead: create the note or task, then its links to the records it belongs to. Create the API key under Settings, Developers. The API takes batches of up to 60 records per request, and Twenty’s migration guide recommends the API over CSV files from 50,000 records. The GraphQL API can upsert, so a script that stops halfway can run again without creating duplicates.
Reconcile before sign-off
Compare record counts per object against HubSpot, and pipeline totals per stage: a Twenty board can sum the amount in each column. Open a sample of records with several associations, amounts in other currencies, multi-select values and long notes, which are the fields most likely to need a correction.
Step 5: reconnect mail, calendars and automations
Mailboxes and calendars. Each user connects their Google or Microsoft account under Settings, Accounts; IMAP and CalDAV cover other providers. On a self-hosted instance, Google and Microsoft sync need an OAuth app registered in your own tenant, with mail and calendar sync switched on in the server’s configuration. Each mailbox has its own visibility setting (metadata only, subject and metadata, or full content) and a choice of whether the people in it become new contacts, linked to companies by email domain. Mail between colleagues is not synced unless the workspace turns it on. Twenty’s documentation does not say how far back the first sync reaches, so check it on a pilot mailbox before deciding whether HubSpot’s logged emails need loading as well.
Workflows. Rebuild the HubSpot workflows still in use, one by one, with whoever owns each. Twenty workflows start when a record is created, updated or deleted, on a schedule, by hand or from a webhook. They can create, update and search records, filter, wait, send an email from a connected account, call an HTTP endpoint or run code. Anything that reaches further into other systems goes to n8n, which talks to Twenty through its API.
Forms. A website form that fed HubSpot posts instead to a Twenty workflow started by a webhook, or to n8n, and creates the person and the company in Twenty.
Reports. Twenty dashboards hold bar, pie, line and aggregate widgets over your records. Rebuild the reports people actually open, not every report that exists.
Marketing email. Twenty’s own email campaigns are a beta feature aimed at sales outreach to lists in the CRM. Newsletters and campaigns to opt-in lists move to listmonk, on a date of their own. HubSpot’s full contact export includes contacts who unsubscribed; they go into listmonk as unsubscribed or blocklisted, so nobody who said no is mailed again. Sequences have no equivalent in Twenty. A short follow-up can be a workflow with a delay and an email step; the rest is a decision for the sales team.
The inbox. HubSpot’s conversations inbox does not export from the interface; its history comes out through HubSpot’s conversations API, if you need it. New conversations start in Chatwoot from the switch date, with its chat widget replacing HubSpot’s on your website.
Sign-in. Single sign-on with SAML or OpenID Connect is under Twenty’s commercial licence. If you need it through Keycloak or Entra ID, the subscription is held in your name and the proposal says so.
Step 6: rehearse, then switch on an agreed day
A CRM is a poor candidate for a long parallel run. Two systems that both take new data drift apart, and nobody can say which one is right. The parallel period is a rehearsal instead, and the switch happens on one day.
The switch, in order
- Rehearse: Run the full export and import into the staging workspace, reconcile it, and let sales work through it. Fix the mapping, not the data.
- Freeze: On the agreed day, sales stops editing in HubSpot.
- Final load: Export again and import into the production workspace with the rehearsed mapping, then reconcile counts and pipeline totals.
- Switch: Users connect their mailboxes and calendars, and sales works in Twenty from that day.
- Archive: HubSpot stays readable for reference until the subscription ends at the next renewal. Keep the final exports as the record of what came across.
Between rehearsals, delete test records permanently: Twenty counts soft-deleted records when it checks unique fields, and an import that matches one restores it rather than creating a new record. Once the replacements are live, take HubSpot’s tracking code, forms and chat widget off your website.
Running Twenty in production
A CRM that holds years of correspondence needs more than a single container.
- A server and a worker. Twenty runs as a server and a worker on PostgreSQL and Redis. Mailbox sync, imports and workflows run on the worker, so they never slow the screen sales works in.
- File storage for attachments, on a volume or an S3-compatible bucket, backed up with the database: a restore without it leaves broken links on every record.
- OAuth apps in your own tenant for mail and calendar sync, so the tokens are issued to you rather than to a vendor.
- Upgrades run database migrations. Twenty releases often, and each upgrade wants a test on a copy and a way back.
Pilae operates Twenty this way, reachable only on your private network, with the database and file storage backed up daily, encrypted, in the country your contract names, and on Enterprise a restore test every month recorded in the console. The Pilae Agent tests each release on a copy of your workspace, waits for your approval and applies it in your window. It runs on your premises or on dedicated machines in Pilae Cloud. For the wider comparison, see our page on HubSpot CRM alternatives.
Let Pilae run the move
Pilae runs HubSpot CRM to Twenty migrations at a fixed price: the object map, the data model, the export and import with reconciliation, the rebuild of the workflows in use, and the switch. Then we operate Twenty with backups, monitoring and updates. See migration services for what the fixed price covers, or tell us how you use HubSpot and we will scope it.
Questions
Can Twenty import a HubSpot account directly?
Do notes, tasks and emails come across?
Can we keep our pipelines and deal stages?
Is Twenty open source?
How long does a HubSpot to Twenty migration take?
Let us run the move for you
An inventory, a parallel run and a cutover plan, at a fixed price. Then we operate the app.
- Go deeperSaaS migrationA fixed-scope migration off Google Workspace, Microsoft 365, Zapier, Airtable and ChatGPT to open-source apps, with a parallel run and a cutover plan.
- CheckManaged operationsPatching, daily encrypted backups, monitoring and incident response for your open-source apps, under an SLA with an availability commitment of up to 99.9%.
