Skip to main content
The Hint Patient to Hubspot Contact Sync workflow keeps HubSpot contacts in sync with patients in Hint. When a patient changes in Hint, Morf creates or updates the matching HubSpot contact with their name, email, phone and address. It also writes their membership details to six custom properties. You can use those properties to build lists, segments and marketing emails.
Hint sends a patient event to the Morf workflow, which updates the HubSpot contact's built-in properties and six custom Hint Membership propertiesHint sends a patient event to the Morf workflow, which updates the HubSpot contact's built-in properties and six custom Hint Membership properties
The template is already in your list of workflows. Setting it up takes about 10 minutes and has four steps:

1. Install the Morf app

Add Morf from the Hint marketplace so Morf receives patient updates.

2. Connect HubSpot

Create a HubSpot private app and add its access token to Morf.

3. Create custom properties

Add the six Hint Membership properties with Breeze or by hand.

4. Publish the workflow

Turn on the template and check a test patient syncs.

Before you start

  • Hint: You need to be an admin in Hint so you can install marketplace apps.
  • HubSpot: You need to be a Super Admin, or have permission to create private apps and to Edit property settings for contacts.
  • Compliance: The sync sends patient membership information to HubSpot. Check with your compliance lead that your HubSpot account is approved for this data.

1. Install the Morf app from the Hint marketplace

Installing the Morf app lets Morf receive patient updates from Hint.
  1. Sign in to Hint as an admin.
  2. Open the Hint marketplace and search for Morf.
  3. Click Install, select the correct org in Morf and approve the requested permissions.
When the install finishes, Hint appears as a connected integration on the Integrations page of your Morf dashboard.

2. Connect your HubSpot account to Morf

Morf writes to HubSpot using the access token from a HubSpot private app.

Create a private app in HubSpot

  1. In HubSpot, click the Settings gear icon in the top navigation bar.
  2. In the left sidebar, go to Integrations → Private Apps, then click Create a private app.
  3. Name the app Morf Health.
  4. Open the Scopes tab and add:
    • crm.objects.contacts.read
    • crm.objects.contacts.write
    • crm.schemas.contacts.read
  5. Click Create app, then copy the access token from the Auth tab.
For more detail, see HubSpot’s guide to creating a private app.

Add the token to Morf

  1. In the Morf dashboard, go to the Integrations page and click + Integration in the top right.
  2. Select Hubspot App Access Token and click Continue.
  3. Paste the access token and click Connect.
If you use separate staging and production organizations in Morf, connect the token in each one.

3. Create the custom properties in HubSpot

The standard fields (name, email, phone, address, city, state and zip) go into HubSpot’s built-in contact properties, so you don’t need to set those up. You do need to create six custom contact properties for the membership details. You can create them with HubSpot’s Breeze assistant, or by hand. Either way, check the result against the property reference before you publish.
The sync writes to each property’s internal name, not its label. The internal names must match the table below exactly. HubSpot doesn’t let you change an internal name after the property is created. If one is wrong, delete the property and create it again.

Property reference

The two dropdowns need these options. The internal value of each option must exactly match the lowercase value Hint sends, or HubSpot rejects the update for that contact. You can use any label you like.
  1. In HubSpot, open Breeze from the top navigation bar.
  2. Copy the prompt below, paste it into Breeze and send it.
  3. Review what Breeze plans to create and confirm.
  4. Go to Settings → Data Management → Properties, filter by the Hint Membership group, and check each internal name and dropdown value against the property reference. Fix anything that doesn’t match using the manual steps.
Use the status values to build active lists, such as “Active members”, “Pending sign-ups to nudge” and “Inactive members for win-back”.

4. Publish the workflow

  1. In the Morf dashboard, open Workflows and select [Template] Hint Patient to Hubspot Contact Sync.
  2. Open the Build tab. Check that the HubSpot actions show your connected HubSpot account.
  3. Click Publish.
The workflow now runs every time a patient is created or updated in Hint. See workflow statuses for how to pause it later.

Check that it works

  1. Update a test patient in Hint.
  2. Open that contact in HubSpot. The Hint Membership fields should fill in within a few minutes.
  3. Open the contact’s Actions → View property history to confirm the values came from the integration.
You can also follow each run in Morf on the Monitoring page.

Sync more Hint data (optional)

The template sends a standard set of fields, but Hint holds much more about each patient. If you’d like to sync additional data to hubspot, you can create a HubSpot custom contact property for it, then map it in the workflow.

Choose the Hint field

The Hint Patient event lists every field you can use. Each field shows the expression you’ll use in the workflow. Some common additions:
Some Hint fields are protected health information, such as insurance details, date of birth and sex. Check with your compliance lead before you send any new field to HubSpot.

Create the property in HubSpot

Create a contact property with the same steps as in step 3, and put it in the Hint Membership group. You choose the label and internal name. Write the internal name down, because you’ll pick it in the workflow in the next step. To use Breeze, adapt this prompt:
If you pick a dropdown field type, each option’s internal value must exactly match the value Hint sends. If a value Hint sends has no matching option, HubSpot rejects the update for that contact. When you aren’t sure which values Hint uses, use single-line text instead.

Map the field in the workflow

  1. In the Morf dashboard, open Workflows and select [Template] Hint Patient to Hubspot Contact Sync.
  2. Open the Build tab and click the HubSpot Create or Update Contact action.
  3. Under Properties, add a row.
  4. Pick your new HubSpot property from the list. If it isn’t there, check that you created it as a contact property.
  5. Enter the expression for the Hint field, such as preferred_language.
  6. Click Publish.
For dates and numbers, copy the pattern the template already uses for Membership Start Date or Past Due Amount. For anything more complex, see Common Expression Language or contact Morf support. Update a test patient in Hint to check the new field fills in, just as you did in Check that it works.

Troubleshooting