Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

The HubSpot for Sugar integration creates a bidirectional sync that offers the flexibility to produce and analyze your most dynamic campaigns and keep your records clean and up-to-date. By having access to all the advantages that both systems have to offer, you’ll gain insight into specific campaigns within HubSpot, as well as access to a contact or lead’s HubSpot activity within their record in Sugar.

About this guide

This guide covers all areas of the Faye Sugar-Hubspot integration that relate to set up and general administration of the integration. It is intended to be used by the CRM or Hubspot admin responsible for setting up or managing the integration between the two systems.

Before you get started

In order to complete the set up of your Sugar-Hubspot integration you’ll need to have the following:

  • Admin level login info for the target SugarCRM

  • A login for the target Hubspot account

  • An admin level login for the Faye Hubspot Bridge

  • Hubspot integration plugin for Sugar (zip file)

The Hubspot integration plugin for Sugar and the Faye Hubspot Bridge login details will be provided to you by FayeBSG. If you have not yet received these contact support@fayebsg.com.

Configuration of your integration will require changes in both your target SugarCRM instance and the Faye Hubspot Bridge. We will cover exactly what needs to be done in each in the following sections.

SugarCRM Configuration

This section covers the changes that need to be made in the target SugarCRM instance prior to enabling the sync with Hubspot.

1. Install Hubspot integration plugin for Sugar

Before enabling the sync with Hubspot it is necessary to install the Hubspot integration plugin for Sugar. This module loadable package will add new fields, custom hubspot dashlets and jobs that are necessary for the sync to function with Sugar.

 FIELDS ADDED BY PLUGIN

Accounts:

  • sync_to_hubspot_c

  • hubspot_id_c

  • hubspot_last_update_c

  • sync_to_hubspot_c

Contacts:

  • hubspot_id_c

  • hubspot_last_update_c

  • hubspot_portal_id_c

  • hubspot_score_c

  • hubspot_profile_url_c

  • hubspot_iframe_c

Leads:

  • sync_to_hubspot_c

  • hubspot_id_c

  • hubspot_last_update_c

  • hubspot_portal_id_c

  • hubspot_score_c

  • hubspot_profile_url_c

  • hubspot_iframe_c

Target Lists:

  • sync_to_hubspot_c

  • hubspot_id_c

  • hubspot_list_name_c

  • hubspot_last_update_c

 DASHLETS ADDED BY PLUGIN

Contacts Record Layout

  • Hubspot Contact Profile Activity

Leads Record Layout

  • Hubspot Contact Profile Activity

 JOBS ADDED BY PLUGIN
  • All all syncing related contact from saved account to Hubspot tracking table

  • Mark all records related to Prospect List to Sync to Hubspot

  • Mass Update Sync To Hubspot Field

  • Clean Old Synced Tracked Events for Hubspot Integration form Hubspot Tracking Events Table

Follow these steps to install the Zip package to Sugar

<ADD MORE HERE>

2. Configure Scheduled Jobs

The zip package adds 4 job routines, these need to be set up individually in the Sugar Scheduler so that they run regularly. We cover each jobs and its recommended run intervals below:

2.1. Hubspot: Add events to the Hubspot tracking table

  • From the top navigation bar choose “Create Scheduler” from the Sugar Scheduler module dropdown menu

  • Enter details of the scheduled job as below:

    • Name: Hubspot: Add events to the Hubspot tracking table

    • Status: Active

    • Job: All all syncing related contact from saved account to Hubspot tracking table

    • Interval: Every 1 mins (as often as possible)

  • Click Save

2.2. Hubspot: Sync records related to synced Target Lists

  • From the top navigation bar choose “Create Scheduler” from the Sugar Scheduler module dropdown menu

  • Enter details of the scheduled job as below:

    • Name: Hubspot: Sync records related to synced Target Lists

    • Status: Active

    • Job: Mark all records related to Prospect List to Sync to Hubspot

    • Interval: Every 1 mins (as often as possible)

  • Click Save

2.3. Hubspot: Mass Update Sync To Hubspot Field

  • From the top navigation bar choose “Create Scheduler” from the Sugar Scheduler module dropdown menu

  • Enter details of the scheduled job as below:

    • Name: Hubspot: Mass Update Sync To Hubspot Field

    • Status: Active

    • Job: Mass Update Sync To Hubspot Field

    • Interval: Every 1 mins (as often as possible)

  • Click Save

2.4. Hubspot: Clean Old Synced Events from Tracking Table

  • From the top navigation bar choose “Create Scheduler” from the Sugar Scheduler module dropdown menu

  • Enter details of the scheduled job as below:

    • Name: Hubspot: Clean Old Synced Events from Tracking Table

    • Status: Active

    • Job: Clean Old Synced Tracked Events for Hubspot Integration form Hubspot Tracking Events Table

    • Interval: Every 1 mins (as often as possible)

  • Click Save

3. Add Hubspot fields to module layouts (optional)

The Hubspot plugin adds a number of fields to the Accounts, Contacts, Leads and Target list modules. Some of those fields are only required for storing background information for the sync however you may wish to display some of the fields on record, list or search layouts.

Accounts:

Consider adding the following fields to Account layouts:

  • Sync to Hubspot ← This field will confirm if the record has been synced with Hubspot or not. Checking the box will flag the record to be synced to Hubspot on the next sync run.

Contacts and/or Leads:

Consider adding the following fields to Contact or Lead layouts:

  • Sync to Hubspot ← This field will confirm if the record has been synced with Hubspot or not. Checking the box will flag the record to be synced to Hubspot on the next sync run.

  • Hubspot Score ← this field will display the Hubspot score for records that have been synced. Consider adding this to the Record, List and Search layouts.

  • User must be logged into Hubspot to view iFrame below ← this iFrame field will allows users who are logged into Hubspot to access the corresponding Hubspot contact from the Sugar Contact layout. Add this to the Contact Record layout.

Target Lists:

If you plan on syncing Sugar Target lists to Hubspot we recommend adding the following field to Target List layouts:

  • Sync to Hubspot ← This field will confirm if the Target List has been synced with Hubspot or not. Checking the box will flag the Target List to be synced to Hubspot on the next sync run. Doing this will automatically flag all Contacts, Leads and Accounts associated to the Target list to sync to Hubspot also.

iFrame Recommendation: For customers using Sugar 10 or later we recommend displaying Field Names “Above Field Values” for the best experience if you are using the Hubspot iFrame field on Contacts or Lead layouts.

For now All configuration steps required in SugarCRM are complete so you can move on to configuring the Hubspot Bridge.

Hubspot Bridge

This section covers the everything you need to know about working within the Faye Hubspot bridge. We begin by covering general navigation of the Bridge and then explore each section of the platform separately.

What is the Hubspot Bridge?

The Faye Hubspot-Sugar integration is the application that manages the synchronization of data between SugarCRM and Hubspot.

When setting up the synchronization between Hubspot and SugarCRM all of the configuration and management is handled within the Hubspot Bridge including.

  • Authentication to Sugar and Hubspot

  • Sync direction

  • Contact & account resolution

  • Field mapping

  • Statistics & logging

Naturally then as an administrator it is important you have an understanding of the configuration options available for the integration, how to monitor the sync and how to address issues should they arise.

Faye Hubspot Bridge login details will be provided to you by FayeBSG. If you have not yet received these contact support@fayebsg.com.

Navigating the Bridge

Once logged into the Hubspot bridge you’ll arrive on the Dashboard screen. Below we’ll introduce some of major sections of the application.

  1. Links: The expandable Links section of the left side menu provides you with shortcuts to login directly to the SugarCRM or Hubspot instances that are configured.

  2. Menu Options: Here you can switch between different areas of the Hubspot Bridge accessing the Dashboard, Field Mapping, Integration Logs and other useful information. Menu options may differ between Super and Regular admin user accounts.

  3. Main Panel: The main panel will change to provide a contextual workspace depending on the area of the bridge are accessing, the screenshot above shows a section of the dashboard. Each section will be covered in detail later in this guide.

Dashboard

The dashboard provides you with a visual overview of sync activity across the past 30 days in either direction in addition to daily sync stats for the past 15 days. It allows you to quickly see the current state of the integration and identify any issues that might require your attention. It also provides shortcuts to mark Sugar records to sync on mass to Hubspot.

Last 30 Days

These graphics allow you to see at a glance how many records have synchronized in either direction in the past 30 days. The red sections of the graphic represent records that have not yet successfully synced to the CRM or Hubspot. These might represent an issue that needs your attention or simply that records are currently in the process of syncing.

Mass Flag Sugar records to Sync

In order for a Sugar record to sync downstream to Hubspot it must have its “Sync to Hubspot” field checked off. This allows administrators and users to be selective in which Contacts, Leads and Accounts find their way into Hubspot.

The buttons provided on the dashboard allow you to check the “Sync to Hubspot” checkbox on all records of that kind from within the bridge so you don’t have to update those manually in Sugar.

Using these buttons will check/uncheck the “Sync to Hubspot” field on all records in SugarCRM. If you only want some records to sync downstream, i.e. only “Customer” records then consider updating the field manually or via Process definitions in SugarCRM.

Integration Stats For Last 15 days

Daily statistics for the past 15 days are also displayed on the dashboard allowing you to see, by day, how many records or each kind have synced in each direction. Any high level errors will also appear here also.

Integrations

The Integrations section is where the high level synchronization settings like sync direction configured for the sync, it is also where admins set up and authenticate the connections into SugarCRM and Hubspot.

The Integrations section is typically configured for you by your implementation partner who will work with you to gather the necessary details.

Super Admins Only: Only super admins currently have access to the Integrations area.

  1. Connection Settings:

    1. License Key: This key is provided by a member of the Faye team.

    2. License Information: Displays information relating to the License key you currently have listed.

    3. Hubspot API Key: This needs to be provided from the target Hubspot account that will be integrated with SugarCRM. Needed for the integration to connect to and authentication with Hubspot.

    4. SugarCRM Instance URL: The web address of the target SugarCRM instance that will be integrated with Hubspot.

    5. SugarCRM Username: Username of an admin level user in the target SugarCRM

    6. SugarCRM Password: Password of that same admin level user in the target SugarCRM

    7. Synchronization Frequency: Set here the frequency that the Hubspot bridge should attempt to synchronize for changes.

    8. Last Synchronized At: Shows the date and timestamp of the time the Hubspot bridge attempted to run the synchronization.

  2. Synchronization Settings:

    1. Synchronize Accounts: Check this box if you wish to synchronise accounts (companies) between the two systems. Checking this option will provide additional selection choices:

      1. Sync Direction: Choose your sync preference for Accounts/Companies records.

        1. Bi-directional

        2. SugarCRM To Hubspot Only

        3. Hubspot To SugarCRM Only

      2. Master System:

        1. Hubspot

        2. SugarCRM

    2. Synchronize Leads and Contacts: Check this box if you wish to synchronise Leads and Contacts between the two systems. Checking this option will provide additional selection choices:

      1. Sync Direction: Choose your sync preference for Accounts/Companies records.

        1. Bi-directional

        2. SugarCRM To Hubspot Only

        3. Hubspot To SugarCRM Only

      2. Master System:

        1. Hubspot

        2. SugarCRM

      3. Sync Hubspot Contacts to Sugar: When hubspot contacts are synced to Sugar the bridge will attempt to match them to existing records in the Leads or Contacts module in Sugar depending on your selection here. If no match is found it will create a record of that type.

        1. Leads

        2. Contacts

      4. Hubspot Contact Lists: Check this if you plan to synchronize Sugar Target lists one way to Hubspot.

  3. User Settings:

    1. User Timezone: Select here your time zone preference for when looking at timestamps int he Hubspot Bridge dashboard and logs.

Changing Sync Direction: It is recommended that the sync direction for Accounts, Contacts and Leads is not changed after it has been set. This can, in some cases, result in duplicates being created in either system.

Changing Sync Hubspot Contacts to Sugar: It is recommended this selection is not changed after it has been set. This can, in some cases, result in duplicates being created in either system.

At the bottom of the Integrations screen you’ll find the Connection Status buttons. These allow you to check the status of the connection with SugarCRM and Hubspot.

  • SugarCRM Button - Clicking this will verify that the Hubspot bridge is able to connect and authenticate with the target SugarCRM instance using the CRM details entered.

  • Hubspot Button - Clicking this will verify that the Hubspot bridge is able to connect and authenticate with the target Hubspot instance using the Hubspot API key.

If you see errors with the sync its a good idea to test the connection settings in case the Hubspot API key or Sugar login credentials have changed.

Save the Configuration

Once you are done configuring the settings in the Integrations area remember to click SAVE to apply the changes.

IMPORTANT: Saving the integration settings with the connections and synchronization settings enables will start the sync between the two systems immediately.

What happens when the sync starts?

The Hubspot Bridge will begin to synchronise records in the configured directions the next time eligible records are modified, i.e.

  • Sugar Contact records flagged to “Sync to Hubspot” that are modified in Sugar after the settings were saved.

  • Any Hubspot Contact modified in Hubspot after the settings were saved.

The above assumes you have chosen to sync Contacts Bi-Directionally.


Field Mapping

The Faye Integration Bridge comes with a number of Predefined field mappings covering the standard fields needed to synchronize the two systems. However you can also configure your own Custom mappings between Sugar and Hubspot objects keeping in sync anything from contacts favorite football teams to Company tier ratings. Custom mappings allow you to build meaningful segments for laser focused marketing and sales efforts.

Predefined Field Mapping

The predefined field mappings cannot be modified, however you can view these to understand better which fields map as standard between Sugar and Hubspot.

  • Module: The Sugar module name where the field is held

  • SugarCRM Name: The name of the Sugar field considered in the mapping

  • Hubspot Name: The name of the Hubspot property considered in the mapping

  • Field Type: The type of field/property

  • Sync To SugarCRM: Allows changes in Hubspot to update this field in Sugar

  • Sync To Hubspot: Allows changes in Sugar to update this field in Hubspot

The “sync to” options respect the configuration in the Integrations section of the Hubspot Bridge, i.e. if you choose to sync Contacts one way from Sugar to Hubspot then any change to a Company “name” in Hubspot will not update the corresponding Account record in Sugar even though that field potentially syncs both ways in the field mapping.

Custom Field Mapping

Custom mappings allow you to synchronise your own data points back and forth between SugarCRM and Hubspot. Once you identify the data point you wish to sync make sure there is a corresponding field on the other system.

Once you are ready to set up your custom mapping click on the + icon to create a custom mapping

  • Module: Choose the Sugar module containing the field

  • Field Type: Select the correct type for that field

  • SugarCRM Field Name: Select the field from the list returned by Sugar.

  • Hubspot Field Name: Select the property from the list returned by Hubspot.

  • Sync Direction: Choose if the mapping should changes to Hubspot and/or Sugar.

    • Sync to SugarCRM

    • Sync to Hubspot

Once you have made your choices click the CREATE button to add your custom field mapping

In Integration configurations where you synchronise records bidirectionally (in both directions) you can use the sync direction on the custom field mapping to control at the field level what should happen.

Pro tips for custom field mapping

The most common reason for errors with the Sugar-Hubspot integration is misaligned custom field mappings. The Hubspot Bridge will alert users of errors and provides logs to identify and correct such issues easily but the understanding the rules below is the key to avoiding such problems in the first place.

Field types should match in Sugar and Hubspot: When setting up a custom mapping the following statements should almost always be true:

  1. The field exists in both SugarCRM and Hubspot

  2. The field is of the same type in both systems

If however the field types differ between Sugar and Hubspot you may run into issues. As an example let's say you plan to sync the “Number of Employees” field bidirectionally, you have the following fields:

  • SugarCRM: Employees_c (text)

  • Hubspot: Number_of_employees (integer)

In this example a user the Sugar field will accept a text value like “over 500” however this would be rejected by Hubspot where the integer field only accepts numeric values resulting in an error in the Hubspot Bridge and a record that cannot sync.

Dropdown field values must match in Sugar and Hubspot: If you plan to sync a dropdown field between the systems it is important that the values in the picklists match exactly, if they do not then you may receive errors resulting in records not syncing.

As an example lets say you have an “Industry” dropdown field in both Sugar and hubspot that you plan to sync bidirectionally with values like those in the table below:

Industry (SugarCRM)

Industry (Hubspot)

Government

Government

Manufacturing

Manufacturing

Agriculture

Agriculture

(error) Transport

(error) Logistics

Retail

Retail

(error) Non-Profit

(error) Non profit

(error) Software

Highlighted in the table above are are some mismatches between the two dropdown type fields that would result in errors. Let's consider some of those a little closer:

  1. Transport-Logistics: in this case the picklist values are clearly different and while these may mean the same thing they will be considered invalid by the sync and result in an error.

  2. Non-Profit-Non Profit: While these two values look the same there is a subtle difference between the two. Again since no exact match is found in the corresponding systems picklist the record will error.

  3. Software: Here there simply is no corresponding value for “Software” in the hubspot picklist and records with this industry value will not be able to sync to Hubspot.

One of the most common reasons for errors are due to new dropdown/picklist values being added in one system and then not added to the corresponding dropdown in the other.

Logs

The

Recent Sync Runs

Sync Logs

Integration Logs

FAQs

Q. When does the sync start running?

A. There are a few prerequisites that need to be in place before the integration can begin syncing records (below), assuming these are all in place and then the sync will begin as soon as you save the Integration settings in the Hubspot Bridge with at least Sync Setting enabled.

  • SugarCRM: Hubspot integration plugin installed to SugarCRM

  • Hubspot Bridge:

    • License Key set

    • Hubspot API key set

    • Sugar authentication details set

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.