Boost Your Lead Scoring with Segment + HubSpot

Lead scoring can make or break your sales strategy. It ensures the right prospects get the attention they need when they need it most. But if your data is scattered or your process is manual, it’s easy to miss opportunities, waste valuable time, and lose potential customers to competitors. That’s where Segment and HubSpot come in. 

Made by Joel Hatmaker

What do you need?

  • Hubspot Marketing Hub Professional or Enterprise

  • Segment

Easily personalize customer experiences with first-party data

With a huge integration catalog and plenty of no-code features, Segment provides easy-to-maintain capability to your teams with minimal engineering effort. Great data doesn't have to be hard work!

On this page

By connecting all your data sources through Segment and enriching your HubSpot CRM, you can automate lead scoring and engage the right customers at the right time with personalized, impactful outreach. In this Segment recipe, we’ll show you how to streamline your lead scoring process so you can confidently prioritize and connect with your best leads.

Step 1: Configure HubSpot as a destination in Segment

Within your Segment workspace, navigate to Connections (1), then Catalog (2). Use the search bar (3) to search for HubSpot.

Screenshot of the Segment Connections catalog page showing destinations for Linked Events.

For this recipe, we’ll use HubSpot Cloud Mode (Actions) (4) to send data from Segment’s servers via the HubSpot API.

Screenshot of search results showing HubSpot CRM as a source and various HubSpot destinations.

In the next screen, add this as a destination (5).

HubSpot Cloud Mode destination setup screen with options for compatible source types.

After adding it as a destination, we’ll need to associate an appropriate source. Search and locate a source where enriched data exists to feed your HubSpot lead scoring. (6)

Note: Segment will only display valid sources that connect to HubSpot.

Interface showing data source selection with BigQuery enabled in HubSpot Cloud Mode

Now that the destination and sources are configured, use the settings screen for the destination to authorize Segment to send data to HubSpot. Connect to your HubSpot account (7), and ensure your Hub ID is populated and the destination is enabled. (8)

Screenshot of HubSpot Cloud Mode settings page showing basic settings and connection status for an API test.

With your destination and source configured, we’ll now create a mapping for data to flow from the source into HubSpot. In this recipe, we’ll use “Upsert Contact” to enrich our Contacts in HubSpot with additional data. On the Mappings (9) screen, select New Mapping (10) to get started.

HubSpot Cloud Mode Mappings screen showing no mappings with options to add new mappings and related details.
HubSpot UI for defining streaming behavior and selecting action during integration setup

The Set Up Mapping screen may differ depending on your source and the values that are pre-populated. In the Map Fields section, review and confirm the Segment values align with your HubSpot fields:

Screenshot of HubSpot field mapping with event and contact properties configuration.

Once reviewed, click the next button to save and enable your mapping. Your data will now begin flowing into HubSpot.

Optional - Using the Custom Object v2 Connector

The Segment Custom Object v2 connector enables you to seamlessly integrate and manage custom objects within HubSpot beyond the standard ones. This integration allows for the creation, updating, and association of custom objects, facilitating more tailored data management and automation within HubSpot.

To send additional object data, in the mapping section, choose Custom Object V2

Screenshot of data activation options in HubSpot, highlighting various creation and update tasks.

Further down, you can select how to manage sync rules, and how Segment should update records:

Sync mode options in Segment for updating records in HubSpot with radio buttons for selection.

Additional options commonly found in other mappings are available as well, such as event filtering and Linked Events.

For instance, if we had a custom object to capture Webinar event data, we would map the captured webinar data from Segment to the corresponding properties in the HubSpot "Webinar" object.

Use the connector to associate the "Webinar" custom object with relevant standard objects, such as Contacts, to link participants to their respective webinar records.

Leverage HubSpot's workflow automation to trigger follow-up emails, tasks, or other actions based on the data within the "Webinar" custom object.

Step 2: Using Segment Data with HubSpot Score

In HubSpot, use the search feature (11) at the top and enter “Lead Scoring.” Select “Lead Scoring” under Apps (12). You can also check out the HubSpot Lead Scoring Knowledge Base if you need additional guidance on configuring your scoring criteria.

 

Screenshot of a marketing dashboard featuring the Lead Scoring app in beta and navigation options.

As we’ve selected contacts in our mapping, we’ll continue with them selected here (13).  For this example, we’ll use the Contact fit score (14) as we are not sending event data.  With everything selected, choose “Create” (15).

CRM interface for choosing contact or company scores and detailed guide on how it works with three main steps.

Choose “Add Property Group” to begin using the sent Segment data.

Now, we can start selecting any contact data points that we've sent to HubSpot contact properties. Adjust the scoring for each one based on your lead scoring model. Here we are using Lead values in the Lifecycle stage to increase their score.  Data like “County/Region” can also be used for specific values that align with your target markets.

HubSpot scoring criteria configuration interface showing lifecycle stage and country/region rules.

Wrapping Up

Integrating Segment with HubSpot for lead scoring drives your sales strategy forward. With Segment feeding enriched first-party data—demographics, firmographics, and behavior—straight into HubSpot, you get the insights you need to set up effective lead scoring rules. It also enables you to map user traits, engagement signals, and other critical data points from Segment to keep your scoring sharp and dynamic. 

The payoff? A lead management system that gives your sales and marketing teams the power to zero in on high-value opportunities and create personalized experiences that convert.

Getting started is easy

Start connecting your data with Segment.