---
title: "Export legacy HubSpot data for a Salesforce migration"
description: "HubSpot record exports include properties and associations but not activities. How to get records, timelines and files out for a Salesforce load."
url: "https://flitstack.ai/answers/export-hubspot-data-for-salesforce-migration"
---

# 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.

![](https://flitstack.ai/images/authors/aditya-kumar.webp)By [Aditya Kumar](https://flitstack.ai/about/aditya-kumar) Updated November 5, 2026

[Ask us about your migration ](https://flitstack.ai/contact) [Read the full guide →](https://flitstack.ai/migrations/crm/salesforce-sales-cloud)

## What HubSpot exports, and what it doesn’t

| Data                                                | Native export                                                             | Note                                                                                           |
| --------------------------------------------------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Contacts, companies, deals, tickets, custom objects | Record 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 history                                    | Current values only                                                       | History isn’t in record exports                                                                |
| Calls, emails, notes, meetings, tasks               | Not in record exports                                                     | HubSpot points to per-record exports, activity reports or the engagements API                  |
| Files and attachments                               | Files tool: Export (ZIP)                                                  | Links to records aren’t in the ZIP                                                             |
| Workflows                                           | Spreadsheet or image export                                               | Description 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](https://flitstack.ai/migrations/crm/hubspot/to/salesforce-sales-cloud) or [Salesforce migrations](https://flitstack.ai/migrations/crm/salesforce-sales-cloud).

![Aditya Kumar](https://flitstack.ai/images/authors/aditya-kumar.webp)

About the author

[Aditya Kumar](https://flitstack.ai/about/aditya-kumar)

Founder, FlitStack AI

Aditya Kumar is the founder of FlitStack AI and Jetstack AI, both built at Ambrstack. FlitStack AI migrates CRM and business data between platforms; Jetstack AI is the AI platform HubSpot partners and RevOps teams use to audit portals, build implementations and reuse their best setups across portals. He writes about CRM data, migrations, HubSpot architecture and automation from the work of building them.

[More from Aditya](https://flitstack.ai/about/aditya-kumar) [LinkedIn](https://www.linkedin.com/in/aditya-ambrstack/)

On this page

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.

## Related

### [Migrate to Salesforce](https://flitstack.ai/migrations/crm/salesforce-sales-cloud)

[Read →](https://flitstack.ai/migrations/crm/salesforce-sales-cloud)

### [HubSpot to Salesforce migration](https://flitstack.ai/migrations/crm/hubspot/to/salesforce-sales-cloud)

[Read →](https://flitstack.ai/migrations/crm/hubspot/to/salesforce-sales-cloud)

### [Salesforce Data Loader vs Data Import Wizard vs dataloader.io: which should you use?](https://flitstack.ai/guides/salesforce-data-loader)

[Read →](https://flitstack.ai/guides/salesforce-data-loader)

### [Migrate to HubSpot](https://flitstack.ai/migrations/crm/hubspot)

[Read →](https://flitstack.ai/migrations/crm/hubspot)

## Sources

1. [HubSpot: Export your records](https://knowledge.hubspot.com/import-and-export/export-records)
2. [HubSpot: Export your content and data](https://knowledge.hubspot.com/account-management/export-your-content-and-data)
3. [Salesforce Trailhead: Import data (Data Loader)](https://trailhead.salesforce.com/content/learn/modules/lex_implementation_data_management/lex_implementation_data_import)
4. [Salesforce Help: Set Audit Fields upon Record Creation](https://help.salesforce.com/s/articleView?id=000386699\&language=en_US\&type=1)
5. [HubSpot Community: exporting legacy HubSpot data for SFDC migration](https://community.hubspot.com/t5/APIs-Integrations/Dev-resource-needed-exporting-legacy-HS-data-for-SFDC-migration/m-p/239697)

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](https://flitstack.ai/contact)
