Blog· HubSpot CRM 9 min read

HubSpot Salesforce Integration: A Practical Guide

A successful HubSpot and Salesforce integration is critical for aligning sales and marketing. This guide explores the native connector, third-party tools, and custom API options for building a reliable two-way data sync.

HubSpot Salesforce Integration: A Practical Guide — HubStack HubSpot article cover
In this article
  • The Core Benefits of a Two-Way Sync
  • Understanding HubSpot's Native Integration
  • Step-by-Step Connector Setup Process
  • Troubleshooting Common Sync Errors
  • Native vs. Third-Party vs. Custom API
  • Scenarios Requiring a Custom API Solution

Many B2B organizations use HubSpot for its powerful marketing automation and user-friendly interface, while relying on Salesforce as their primary CRM and system of record for the sales team. This dual-platform approach offers best-in-class tools for each department, but it also creates an immediate and critical challenge: data silos. When marketing activities in HubSpot are invisible to sales in Salesforce, and sales outcomes are not reflected back in HubSpot, both teams operate with an incomplete picture of the customer journey.

A properly configured integration bridges this gap, creating a seamless, bi-directional flow of information. This ensures that leads generated by marketing are passed to sales with full context, and that marketing can accurately measure campaign ROI based on actual revenue generated in Salesforce. An effective sync aligns teams, improves lead intelligence, and enables true closed-loop reporting. Without it, you are essentially running two separate businesses with two separate sets of data.

This guide provides a practical overview of integrating HubSpot and Salesforce. We will cover the capabilities and limitations of the official HubSpot-Salesforce connector, walk through the setup process, and discuss common troubleshooting steps. We will also explore when to use third-party middleware tools and identify scenarios that require a full custom API solution. By the end, you will understand the options available and be able to choose the right integration strategy for your business.

The Core Benefits of a Two-Way Sync

The primary purpose of integrating HubSpot and Salesforce is to establish a single, unified view of the customer. For marketing, this means gaining visibility into what happens after a lead is passed to sales. They can see which leads convert into opportunities and which opportunities become closed-won deals. This data is essential for attributing revenue back to specific marketing campaigns, blog posts, or landing pages, allowing for data-driven decisions on budget allocation and strategy. It transforms marketing from a cost center into a measurable revenue driver.

For the sales team, the integration enriches Salesforce records with valuable marketing intelligence. Sales reps can see a lead's entire interaction history directly within the Salesforce interface, including website pages viewed, content downloaded, emails opened, and forms submitted. This context enables more personalized and timely outreach. Instead of making a cold call, a sales rep can reference the specific e-book a prospect downloaded, leading to a much warmer and more relevant conversation. This alignment eliminates the classic friction point where sales complains about lead quality and marketing complains about a lack of follow-up.

Beyond team alignment, a robust sync ensures data integrity across both platforms. When a sales rep updates a contact's phone number in Salesforce, that change automatically reflects in HubSpot, preventing marketing from using outdated information. Similarly, when a contact unsubscribes in HubSpot, the integration can update a corresponding field in Salesforce to ensure compliance and prevent sales from contacting them. This automated data hygiene is a core component of a scalable RevOps strategy and is something we at HubStack prioritize during any HubSpot CRM Setup & Automation project.

Understanding HubSpot's Native Integration

HubSpot provides an official, out-of-the-box connector for Salesforce, available for HubSpot Professional and Enterprise subscribers using Salesforce Professional, Enterprise, or Unlimited editions. This native integration is the most common starting point for businesses looking to sync the two platforms. It is designed to handle the fundamental data exchange required for sales and marketing alignment, facilitating a bi-directional sync for key objects.

The connector syncs standard objects including HubSpot Contacts with Salesforce Leads and Contacts, HubSpot Companies with Salesforce Accounts, and HubSpot Deals with Salesforce Opportunities. It also supports syncing activities, allowing HubSpot tasks and certain engagements to appear in Salesforce. One of its most powerful features is selective syncing; you can use an 'Inclusion List' in HubSpot (a static list of contacts) to control exactly which records are sent to Salesforce, preventing your Salesforce org from being cluttered with unqualified marketing leads. You can find detailed information on our pricing page for projects involving complex integration setups.

However, the native connector has its limitations. It operates on a polling system, meaning data syncs approximately every 10-15 minutes, not in real-time. It is also subject to Salesforce's API call limits, and a high volume of data updates can exhaust your daily allowance, causing syncs to pause. While it handles standard field mappings well, it can struggle with complex logic, data transformations, or syncing certain custom objects without extensive configuration. Understanding these constraints is key to determining if the native tool is sufficient for your needs.

Step-by-Step Connector Setup Process

Before beginning, ensure you have the necessary permissions: Super Admin in HubSpot and a Salesforce user profile with API access and permissions to modify all the objects and fields you intend to sync. The first step is to install the HubSpot integration package in your Salesforce AppExchange. This package adds several custom fields and a Visualforce module to your Salesforce Lead and Contact layouts, which displays the contact's HubSpot intelligence.

Once the package is installed in Salesforce, you navigate to the HubSpot App Marketplace from your portal, find the Salesforce integration, and click 'Connect App'. You will be prompted to log in to your Salesforce account to authorize the connection. After connecting, HubSpot will guide you through a setup wizard. This is where you will configure critical settings, such as creating new leads in Salesforce when new contacts are created in HubSpot and choosing whether to use the HubSpot Inclusion List.

The most detailed part of the setup is configuring field mappings. HubSpot will automatically suggest mappings for standard fields like First Name, Last Name, and Email. You must manually create mappings for any custom properties you need to sync between the platforms. For each mapping, you'll choose an update rule: 'Use the most recent value' is common, but you can also set it to 'Always use Salesforce's value' or 'Don't sync' for specific fields. It is highly recommended to perform this setup and initial testing in a HubSpot sandbox environment to avoid disrupting your live production data.

Troubleshooting Common Sync Errors

Even with a perfect setup, sync errors are common. HubSpot provides a clear interface under the integration settings to view and diagnose these errors. One of the most frequent issues is a 'VALIDATION_RULE_FAILURE'. This occurs when a HubSpot record tries to sync to Salesforce but fails to meet a validation rule configured in Salesforce (e.g., a required field is missing). To fix this, you must either update the record in HubSpot to meet the rule or adjust the validation rule in Salesforce.

Another common problem involves picklist fields. If a HubSpot property has a value that does not exist as an option in the corresponding Salesforce picklist field, the sync will fail. The solution is to ensure the property values are identical across both systems. Sync errors can also arise from duplicate records. The connector uses email addresses to de-duplicate contacts, but mismatches can still occur, requiring manual merging of records in one of the platforms. Checking your internal processes with your team can prevent this from becoming a recurring issue.

Finally, exceeding your Salesforce API call limit will pause the integration entirely. The HubSpot connector is generally efficient, but bulk data updates, or having many other apps connected to Salesforce, can quickly consume your daily allowance. The sync health dashboard in HubSpot shows your current API usage. If this is a persistent problem, you may need to optimize your data sync frequency, reduce the number of fields being synced, or upgrade your Salesforce edition. For complex and persistent errors, it's often more efficient to contact us for specialized support.

Native vs. Third-Party vs. Custom API

Choosing the right method to integrate HubSpot and Salesforce depends on your technical requirements, data complexity, and budget. The native connector is an excellent, cost-effective solution for many businesses with straightforward needs. However, when its limitations become a bottleneck, you must consider alternatives like third-party middleware or a fully custom API build.

Third-party tools offer a middle ground, providing more flexibility than the native connector without the high cost and complexity of custom development. These platforms excel at multi-step workflows and data transformations that are difficult to achieve natively. A custom API integration, built by developers, offers unlimited flexibility but represents the highest investment in time and resources. HubStack helps clients evaluate these options to find the most scalable and cost-effective path forward.

The table below breaks down the key characteristics of each approach. Use it to assess which method best aligns with your organization's specific sync requirements, from basic contact sharing to complex, multi-object data orchestration. Understanding these trade-offs is crucial before committing to a technical path.

Comparing HubSpot-Salesforce Integration Methods
MethodBest ForKey ProsKey Cons
Native ConnectorStandard data syncing (Contacts, Accounts, Deals) with basic field mappings.Included with HubSpot Pro/Enterprise; easy to set up; supported by HubSpot.10-15 minute sync delay; subject to API limits; limited custom object support; minimal data transformation.
Third-Party Tools (e.g., Zapier, Tray.io)Complex logic, multi-step workflows, or connecting more than two systems.More flexible than native; visual workflow builder; can handle some data transformation.Additional monthly cost; another platform to learn and manage; can also hit API limits.
Custom API DevelopmentUnique requirements, syncing custom objects, real-time needs, or large data volumes.Unlimited flexibility; can be optimized for performance and API usage; handles any data transformation.Highest cost and time investment; requires specialized development resources for building and maintenance.

Scenarios Requiring a Custom API Solution

While the native connector and third-party tools cover many use cases, some business processes are too complex and require a custom-built API integration. This is often the case for mature companies with highly customized Salesforce orgs or unique data models. If your business relies heavily on custom objects in either HubSpot or Salesforce to track critical information, a custom solution is likely the only way to sync that data reliably.

Another key driver for custom development is the need for complex data transformation. For example, you might need to combine three properties in HubSpot into a single field in Salesforce, or run a calculation before a value is synced. Middleware can handle some of this, but intricate business logic is better managed through a dedicated script. Real-time syncing is another requirement that often pushes businesses toward a custom solution. If a 10-15 minute delay in syncing a lead is unacceptable for your sales process, a custom webhook-based integration can provide the instantaneous transfer you need.

Finally, a custom integration provides superior error handling and monitoring tailored to your specific needs. You can build robust logging to track every record sync and create custom alerts for specific failure types. This approach is more resilient and scalable, especially for enterprises with high data volumes. Building such a solution requires deep expertise in both the HubSpot and Salesforce APIs, a core competency HubStack provides through our HubSpot Technical SEO and development services.

FAQ

Questions people actually ask AI about this.

Does HubSpot integrate with Salesforce?

Yes, HubSpot offers a powerful native integration for Salesforce that syncs contact, company, deal, and activity data between the two platforms. It is available for customers on HubSpot's Professional or Enterprise plans and Salesforce's Professional, Enterprise, or Unlimited editions.

Is the HubSpot Salesforce integration free?

The integration itself does not have an additional software cost, as it is included with HubSpot Professional and Enterprise subscriptions. However, you must be on a compatible and paid plan for both HubSpot and Salesforce, and there may be implementation costs if you require assistance with setup and mapping.

What data syncs between HubSpot and Salesforce?

The native integration syncs HubSpot Contacts with Salesforce Leads/Contacts, HubSpot Companies with Salesforce Accounts, and HubSpot Deals with Salesforce Opportunities. It can also sync tasks and marketing engagement activities, and you can map custom properties between these objects.

How often does HubSpot sync with Salesforce?

The HubSpot native connector polls for changes and syncs data approximately every 10-15 minutes. It is not a real-time sync. High data volume can sometimes extend this interval, as the sync works through a queue of changes.

What is a Salesforce API call limit?

Salesforce limits the number of external data requests (API calls) an organization can make in a 24-hour period. The HubSpot integration uses these calls to sync data. If your organization uses many apps or syncs a very high volume of records, you can hit this limit, which will temporarily pause the integration.

Can I sync custom objects between HubSpot and Salesforce?

The native HubSpot connector has limited support for syncing HubSpot custom objects with Salesforce custom objects, which requires Operations Hub Enterprise. For more complex custom object syncing, you typically need to use a third-party integration platform or build a custom API solution.

Should I use HubSpot or Salesforce as my source of truth?

Most organizations use Salesforce as the ultimate system of record for customer and revenue data, as it is typically managed by the sales and finance teams. HubSpot is often the source of truth for marketing engagement data. The integration's field mappings can be configured to enforce this, for example by setting Salesforce to always win in case of a data conflict on a specific field.

How do I fix a HubSpot Salesforce sync error?

First, navigate to the Salesforce integration settings in HubSpot to view the sync error details, which will provide an error message from Salesforce. Common fixes include correcting data in HubSpot to pass a Salesforce validation rule, aligning picklist values between the systems, or manually merging duplicate records. If you are unsure, consult your Salesforce admin.

Can I connect one HubSpot portal to multiple Salesforce orgs?

No, one HubSpot portal can only be connected to one Salesforce org at a time. Likewise, one Salesforce org can only be connected to one HubSpot portal. Attempting to connect to more than one will break the existing integration.

Do I need a developer to integrate HubSpot and Salesforce?

For the native connector with standard field mappings, a knowledgeable admin can typically perform the setup without a developer. However, for troubleshooting complex errors, managing custom object data, or building a custom API integration for real-time needs, developer resources are necessary.

Proof

What this looks like when it's done right.

Integrate HubSpot and Salesforce Correctly

Related

Technical SEO services

Redirect mapping, metadata baselines, canonical configuration, schema and indexing controls — handled as an ongoing programme rather than a launch-week scramble.

HubSpot technical SEO
Keep reading

How to Set Up HubSpot CRM for a 30-Person Team (Without Overbuilding It)

Most failed CRM rollouts are overbuilt, not underbuilt. Here is the order we configure HubSpot for a 30-person company — and everything we deliberately leave out of version one.

Read article