Skip to content
Get a quote

How do I export legacy HubSpot data for a Salesforce migration?

Short answer

Export records from HubSpot with their associations, but expect no activities. HubSpot says record exports don't include calls, notes and other activities, and points to per-record exports, activity reports or the engagements API instead. Pull activities through the API and files through the Files tool, then load everything with Data Loader, keyed on HubSpot IDs.

By

What HubSpot exports, and what it doesn’t

DataNative exportNote
Contacts, companies, deals, tickets, custom objectsRecord export (CSV, XLSX) with “current property values and associations”Up to 1,000 associated record IDs per association column; “All associated records” is CSV only
Property historyCurrent values onlyHistory isn’t in record exports
Calls, emails, notes, meetings, tasksNot in record exportsHubSpot points to per-record exports, activity reports or the engagements API
Files and attachmentsFiles tool: Export (ZIP)Links to records aren’t in the ZIP
WorkflowsSpreadsheet or image exportDescription only, not logic

HubSpot allows 300 exports per 24 hours and 3 at a time, and export links expire after 30 days.

Steps

  1. Export each object with all properties and associations, including Record ID.
  2. Pull activities from the API (calls, emails, meetings, notes, tasks), with their associated contact, company and deal IDs and timestamps.
  3. Pull files and their record links through the API if you need them attached to records. The ZIP alone won’t tell you where each file belongs.
  4. Prepare Salesforce: add a HubSpot_ID__c external ID field on every object, create users, enable Set Audit Fields upon Record Creation to keep dates, and map pipelines to opportunity record types.
  5. Load with Data Loader in order: Accounts, Contacts and Leads, Opportunities, contact roles, Tasks and Events, EmailMessage, then files. Upsert on HubSpot_ID__c.
  6. Reconcile: counts per object and a sample of timelines.

What the native tools do / where they stop

HubSpot’s exports cover records, and Salesforce’s Data Loader loads them. Neither one handles the middle step: turning HubSpot’s contact-company-deal associations into Salesforce lookups and junction records (AccountContactRelation, OpportunityContactRole), and turning engagements into Tasks, Events and EmailMessage. That middle step is why the original thread asked for a developer.

Where FlitStack AI fits

FlitStack AI pulls HubSpot records, associations, engagements and files through the API and loads them into Salesforce with audit fields and external IDs. See HubSpot to Salesforce or Salesforce migrations.

Questions, answered

A few useful answers.

Can I export HubSpot workflows to rebuild them in Salesforce?

Only as a spreadsheet or images that describe them, not as logic you can import. Use those exports as the spec for Salesforce Flows.

How do HubSpot contacts map to Salesforce leads and contacts?

Decide by lifecycle stage. Contacts before SQL often become Leads, and contacts linked to customer companies become Contacts on Accounts. Write the rule down before exporting.

Can the HubSpot–Salesforce integration do the migration?

It's a sync for live records, not a backfill. For history, export and load it, then switch on the integration only if both systems stay in use.

A closer look

Tell us what you’re moving.

Share your source, destination and rough record counts. We scope the migration and the process work with you and send you a quote.

Get a quote