Last updated: March 27, 2026
Activity sync
It's a two-way sync between HubSpot and Salesforce. This type of sync allows for bidirectional syncing, giving more granular control over what syncs and in what direction.
To turn on the Activity sync:
- In your HubSpot account, click the settings icon in the top navigation bar.
- In the left sidebar menu, navigate to Integrations > Connected Apps.
- Search for and select Salesforce.
- Click the Feature Discovery tab.
-
On the Enable new Activity Sync card, click Install.
Please note: if you turn on both the Activity sync and the Timeline sync for the same event type, the Activity sync will override the corresponding Timeline sync setting to prevent duplicate records from being created in Salesforce.
HubSpot events supported by the Activity sync
The following HubSpot events are supported by Activity sync:
- Tasks
- Emails
- Calls
- Meetings
How to setup the Activity sync
- In your HubSpot account, click the settings icon in the top navigation bar.
- In the left sidebar menu, navigate to Integrations > Connected Apps.
- Search for and select Salesforce.
- Click the Activities tab.
- Click the Tasks, Emails, Calls, or Meetings tab to sync the respective HubSpot activity.
- For the event type that you want to sync, click to toggle the sync switch on.
- In the Creating and Updating [Activity] section, review what happens when an activity event is created or updated in HubSpot and Salesforce.
- In the Deleting [Activity] section, select what happens in HubSpot and Salesforce when an activity event is deleted.
- In the Deduplication by Field Mapping section, click the dropdown menu and select the field mapping that you want to use to deduplicate the activity events.
- In the Resolve Sync Conflict Rule section, click the dropdown menu and select the app that should be preferred to resolve any conflict of data.
- In the Associations section, if you want to sync the contact association and the account association, click to toggle the Sync Account association and Sync Contact association switches on.
-
- For each association, click the Primary association field dropdown menu and select the field you want HubSpot to use to associate the two objects.
- Click the Association label dropdown menu and select the association label you want to use.
- Click the Sync direction dropdown menu and select how you want the association to sync between HubSpot and Salesforce (Two-way sync, Salesforce to HubSpot only, or HubSpot to Salesforce only).
- In the Property Mappings section, review how Salesforce fields sync to HubSpot activity properties. Hover over a property and click Actions, then select Edit to edit the mapping or Delete to delete the mapping. Click Add new mapping to add a new field mapping.
Report on HubSpot activities in Salesforce
- Navigate to your Salesforce account.
- Click the Reports tab.
- In the top right, click New Report.
- In the left sidebar menu, click Activities to see a list of all activity-based reports.
- Click Activities with Contacts or Activities with Leads (separate reports must be created for contacts and leads).
- In the top right, click Start report.
- To filter by a specific activity type or activity date, click the Filters tab in the top left. Then click the existing default filters to edit them, or click Add filter to search for other filters you wish to apply.
- In the top right, click Run Report to run the report or click Save to save the report.
Troubleshoot activity sync errors
You may encounter the following error message when syncing HubSpot marketing and sales activities to Salesforce tasks:
Problem getting task info from Salesforce. We're having trouble getting task type data from Salesforce. This could be because the Salesforce user doesn't have permission to read the Type field.
To resolve this error, follow the two steps below.
1. Ensure that the Type field is visible to all profiles in Salesforce
- Navigate to your Salesforce account:
-
- Salesforce Classic:
- In the upper right, click Setup (or [Your Name] > Setup).
- In the left sidebar menu, navigate to Build > Customize > Activities > Task Fields.
- In the list of fields, click Type.
- Lightning Experience:
- In the upper right, click the gear icon and select Setup.
- In the left sidebar menu, navigate to Platform Tools > Objects and Fields > Object Manager.
- In the list of objects, click Task.
- In the left sidebar menu, navigate to Fields & Relationships.
- In the list of fields, click Type.
- Salesforce Classic:
- Click Set Field-Level Security.
- In the header row of the Field-Level Security for Profile table, select the Visible checkbox.
- At the top, click Save. This will make the task type field visible to all profiles.
2. Ensure that the Type field is visible on the Task Page Layout in Salesforce
- Navigate to your Salesforce account:
-
- Salesforce Classic:
- In the upper right, click Setup (or [Your Name] > Setup).
- In the left sidebar menu, navigate to Build > Customize > Activities > Task Page Layouts.
- On the left of Task Layout, click Edit.
- Lightning Experience:
- In the upper right, click the gear icon and select Setup.
- In the left sidebar menu, navigate to Platform Tools > Objects and Fields > Object Manager.
- In the list of objects, click Task.
- In the left sidebar menu, navigate to Page Layouts.
- Click Task Layout.
- Salesforce Classic:
- Click the Type item in the toolbar and drag and drop it into the desired location on the page layout.
- In the top left of the toolbar, click Save to apply your layout changes.
After you've made the Type field visible to all profiles and added it to your task layout in Salesforce, check if the error is resolved in HubSpot:
- In your HubSpot account, click the settings icon in the top navigation bar. In the left sidebar menu, navigate to Integrations > Connected Apps.
- Click Salesforce.
- Navigate to the Activities tab.
- If the error has been resolved, the error message will no longer appear in this section.