> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unifygtm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Field mappings

> Understand how to configure and use HubSpot field mappings in Unify.

## Overview

Unify can sync data between HubSpot objects and Unify objects. However, the
exact fields in HubSpot differ from Unify, so Unify needs to understand how to
sync data between the two systems. This is done using *field mappings*.

## Setup

### Change field mappings

When you first connect your HubSpot instance, Unify will automatically prepare
the field mappings for you. If you use any custom properties in place of
default HubSpot properties, you may want to update the mappings before Unify
starts syncing data.

In the [HubSpot integration settings](https://app.unifygtm.com/dashboard/settings/integrations/hubspot),
look for the **Company** and **Person** field mappings at
the bottom of the page. Select one to view and edit the field configuration.

<Frame caption="Customize which fields are synced to and from HubSpot.">
  <img src="https://mintcdn.com/unify-19/Y_pp7r30tEdafKDG/images/reference/integrations/hubspot/company-field-mapping.png?fit=max&auto=format&n=Y_pp7r30tEdafKDG&q=85&s=ac67ac0a544b106dc1dc157b1c65f21e" width="2304" height="1571" data-path="images/reference/integrations/hubspot/company-field-mapping.png" />
</Frame>

You can return to update these mappings any time in the future, so you don't
need to worry about getting them perfect right off the bat!

### (Optional) Create custom properties

You can write values to default properties and custom properties. To write to
custom properties, they must already exist in HubSpot.

While some of the fields Unify can write exist as standard properties in
HubSpot, many of them do not. In particular, Unify-specific fields (like the
name of the Sequence a person was enrolled in) do not exist in HubSpot by
default. To write these values to HubSpot, you will need to create custom
properties before mapping them.

<Note>
  Here's what the process looks like for adding **Contact** properties. First, in
  HubSpot, navigate to **CRM → Contacts**.

  <Frame>
    <img src="https://mintcdn.com/unify-19/Y_pp7r30tEdafKDG/images/hubspot-7.png?fit=max&auto=format&n=Y_pp7r30tEdafKDG&q=85&s=bcc0b056e9ca14a99f444d9de2ae07f7" alt="HubSpot Home" width="3626" height="1690" data-path="images/hubspot-7.png" />
  </Frame>

  Select **Actions → Edit properties**.

  <Frame>
    <img src="https://mintcdn.com/unify-19/Y_pp7r30tEdafKDG/images/hubspot-8.png?fit=max&auto=format&n=Y_pp7r30tEdafKDG&q=85&s=ce62a906f1697fa03aa461fbf8352de9" alt="HubSpot Contacts" width="3634" height="1688" data-path="images/hubspot-8.png" />
  </Frame>

  Navigate to **Groups → Create group**.

  <Frame>
    <img src="https://mintcdn.com/unify-19/Y_pp7r30tEdafKDG/images/hubspot-9.png?fit=max&auto=format&n=Y_pp7r30tEdafKDG&q=85&s=b219405e8e5bc293f4e443a9387628bd" alt="HubSpot Contact Property Groups" width="3628" height="1686" data-path="images/hubspot-9.png" />
  </Frame>

  Type in the name of the group (recommended title "Unify information") and click
  **Create**.

  <Frame>
    <img src="https://mintcdn.com/unify-19/Y_pp7r30tEdafKDG/images/hubspot-10.png?fit=max&auto=format&n=Y_pp7r30tEdafKDG&q=85&s=df07eed5693cf547cebc6a00c84d45e0" alt="HubSpot Contact Create Property Group" width="3626" height="1678" data-path="images/hubspot-10.png" />
  </Frame>

  Navigate to **Properties → Create property**.

  <Frame>
    <img src="https://mintcdn.com/unify-19/Y_pp7r30tEdafKDG/images/hubspot-11.png?fit=max&auto=format&n=Y_pp7r30tEdafKDG&q=85&s=829423a8d2b2402434a2db732ac9118f" alt="HubSpot Contact Properties" width="3628" height="1686" data-path="images/hubspot-11.png" />
  </Frame>

  When editing the property details, make sure the **Object type** is set properly
  (in this case, to **Contact**) and the **Group** is set to the group you
  created earlier. You can fill in the **Label** and **Description** as desired.

  <Frame>
    <img src="https://mintcdn.com/unify-19/Y_pp7r30tEdafKDG/images/hubspot-12.png?fit=max&auto=format&n=Y_pp7r30tEdafKDG&q=85&s=176a486a4bc99e29f4b12f1b864418e7" alt="HubSpot Contact Create Property" width="3630" height="1764" data-path="images/hubspot-12.png" />
  </Frame>

  Lastly, select the **Field type** and click **Create**.

  <Frame>
    <img src="https://mintcdn.com/unify-19/Y_pp7r30tEdafKDG/images/hubspot-13.png?fit=max&auto=format&n=Y_pp7r30tEdafKDG&q=85&s=48ac7a78694a745bbfbe0d04cdc75077" alt="HubSpot Contact Select Property Type" width="3628" height="1766" data-path="images/hubspot-13.png" />
  </Frame>

  This is what your **Contact** properties filtered to your new group might look
  like after you've added them:

  <Frame>
    <img src="https://mintcdn.com/unify-19/Y_pp7r30tEdafKDG/images/hubspot-14.png?fit=max&auto=format&n=Y_pp7r30tEdafKDG&q=85&s=ab7f38574fd82ed1a8015ebedfba3c72" alt="HubSpot Contact New Properties" width="3626" height="1762" data-path="images/hubspot-14.png" />
  </Frame>

  You can then repeat this process for **Company** properties as well.
</Note>

## Available fields

Below is a full list of the values that can be configured in the field mappings
for each object type. Some of these are standard properties, while others
provide Unify-specific information, such as the name of the Sequence that a
person was enrolled in.

<AccordionGroup>
  <Accordion title="Companies">
    | Field                                  | Description                                                                                                                                                       |
    | -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | **Company Name**<br />*Text*           | Name of the company.                                                                                                                                              |
    | **Domain**<br />*Text*                 | Web domain of the company.                                                                                                                                        |
    | **Address**<br />*Text*                | Physical address of the company.                                                                                                                                  |
    | **State or Province**<br />*Text*      | State, province, region, or territory the company is located in.                                                                                                  |
    | **Country**<br />*Country*             | Country the address is located in.                                                                                                                                |
    | **City**<br />*Text*                   | City, town, or village the company is located in.                                                                                                                 |
    | **Postal Code**<br />*Text*            | Postal code for the company.                                                                                                                                      |
    | **Time Zone**<br />*Text*              | Time zone the company is located in.                                                                                                                              |
    | **Corporate Phone**<br />*Text*        | Corporate phone number for the company.                                                                                                                           |
    | **Status**<br />*Text*                 | Status of the company in the sales lifecycle.                                                                                                                     |
    | **LinkedIn URL**<br />*Text*           | URL to the company's LinkedIn page.                                                                                                                               |
    | **Description**<br />*Text*            | Description of the company.                                                                                                                                       |
    | **Do Not Contact**<br />*Boolean*      | Flag indicating that the company should not be contacted.                                                                                                         |
    | **Founded**<br />*Date*                | Date the company was founded.                                                                                                                                     |
    | **Industry**<br />*Text*               | Industry the company is in.                                                                                                                                       |
    | **Employee Count**<br />*Number*       | Approximate number of employees at the company.                                                                                                                   |
    | **Revenue**<br />*Number*              | Estimated annual revenue of the company.                                                                                                                          |
    | **Revenue Currency**<br />*Text*       | Three-letter ISO 4217 code indicating the revenue value currency type.                                                                                            |
    | **Account Source**<br />*Text*         | Channel this Company record was sourced from.                                                                                                                     |
    | **Unify Metadata**<br />*Text*         | A unique identifier useful for tracking records that Unify writes to.                                                                                             |
    | **Unify Created At**<br />*Date*       | Date and time the record was created by Unify. This will only be populated if Unify created the record; otherwise, it will remain empty.                          |
    | **Unify Updated At**<br />*Date*       | Date and time the record was last updated by Unify.                                                                                                               |
    | **Unify First Written At**<br />*Date* | Date and time the record was first written to by Unify. This will be populated when Unify first creates or updates the record, and it will not change after that. |
    | **Unify Initial Play**<br />*Text*     | Name of the first Unify Play that ran on this record.                                                                                                             |
    | **Unify Initial Play At**<br />*Date*  | Date and time the first Unify Play ran on this record.                                                                                                            |
    | **Unify Most Recent Play**<br />*Text* | Name of the most recent Unify Play that ran on this record.                                                                                                       |
    | **Unify Intent Level**<br />*Text*     | Intent level of the company (either **High**, **Medium**, **Low**, or **None**).                                                                                  |
  </Accordion>

  <Accordion title="People">
    | Field                                                  | Description                                                                                                                                                       |
    | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | **Email**<br />*Text*                                  | Contact email address.                                                                                                                                            |
    | **Address**<br />*Text*                                | Physical address of the person.                                                                                                                                   |
    | **Country**<br />*Country*                             | Country the address is located in.                                                                                                                                |
    | **Postal Code**<br />*Text*                            | Postal code for the person.                                                                                                                                       |
    | **Email Opt Out**<br />*Boolean*                       | Indicates whether the person has opted out of receiving emails.                                                                                                   |
    | **Status**<br />*Text*                                 | Status of the person in the sales lifecycle.                                                                                                                      |
    | **First Name**<br />*Text*                             | First name of the contact.                                                                                                                                        |
    | **First Name Suffix**<br />*Text*                      | Suffix of the first name of the contact.                                                                                                                          |
    | **Last Name**<br />*Text*                              | Last name of the contact.                                                                                                                                         |
    | **Title**<br />*Text*                                  | Job title or position of the contact.                                                                                                                             |
    | **Mobile Phone**<br />*Text*                           | Mobile phone number of the contact.                                                                                                                               |
    | **Work Phone**<br />*Text*                             | Work phone number of the contact.                                                                                                                                 |
    | **Corporate Phone**<br />*Text*                        | Corporate phone number of the contact.                                                                                                                            |
    | **LinkedIn URL**<br />*Text*                           | LinkedIn profile URL of the contact.                                                                                                                              |
    | **Do Not Call**<br />*Boolean*                         | Indicates whether the contact should receive phone calls or not.                                                                                                  |
    | **Do Not Email**<br />*Boolean*                        | Indicates whether the contact should receive emails or not.                                                                                                       |
    | **EU Resident**<br />*Boolean*                         | Indicates whether the contact is a resident of the European Union.                                                                                                |
    | **Lead Source**<br />*Text*                            | Channel this Person record was sourced from.                                                                                                                      |
    | **Last Activity Date**<br />*Date*                     | Date of the last activity or engagement with the contact.                                                                                                         |
    | **Unify Metadata**<br />*Text*                         | A unique identifier useful for tracking records that Unify writes to.                                                                                             |
    | **Unify Created At**<br />*Date*                       | Date and time the record was created by Unify. This will only be populated if Unify created the record; otherwise, it will remain empty.                          |
    | **Unify Updated At**<br />*Date*                       | Date and time the record was last updated by Unify.                                                                                                               |
    | **Unify First Written At**<br />*Date*                 | Date and time the record was first written to by Unify. This will be populated when Unify first creates or updates the record, and it will not change after that. |
    | **Unify Initial Play**<br />*Text*                     | Name of the first Unify Play that ran on this record.                                                                                                             |
    | **Unify Initial Play At**<br />*Date*                  | Date and time the first Unify Play ran on this record.                                                                                                            |
    | **Unify Most Recent Play**<br />*Text*                 | Name of the most recent Unify Play that ran on this record.                                                                                                       |
    | **Unify Most Recent Play At**<br />*Date*              | Date and time the most recent Unify Play ran on this record.                                                                                                      |
    | **Unify Initial Sequence**<br />*Text*                 | Name of the first Unify Sequence this person was enrolled in.                                                                                                     |
    | **Unify Initial Sequence At**<br />*Date*              | Date and time this person was first enrolled in a Unify Sequence.                                                                                                 |
    | **Unify Initial Sequence Step At**<br />*Date*         | Date and time this person first completed a step in a Unify Sequence.                                                                                             |
    | **Unify Most Recent Sequence**<br />*Text*             | Name of the most recent Unify Sequence this person was enrolled in.                                                                                               |
    | **Unify Most Recent Sequence At**<br />*Date*          | Date and time this person was most recently enrolled in a Unify Sequence.                                                                                         |
    | **Unify Most Recent Sequence Step At**<br />*Date*     | Date and time this person most recently completed a step in a Unify Sequence.                                                                                     |
    | **Unify Most Recent Sequence Status**<br />*Text*      | Status of the most recent enrollment for this person. The statuses shown on enrollments in Unify are the same values that will be written to HubSpot.             |
    | **Unify Initial Reply Classification**<br />*Text*     | High-level classification of the initial reply received from a person. It will be either "Positive", "Objection", "Neutral", "Automated", or "Negative".          |
    | **Unify Most Recent Reply Classification**<br />*Text* | High-level classification of the most recent reply received from a person. It will be either "Positive", "Objection", "Neutral", "Automated", or "Negative".      |
    | **Unify Initial Reply Tags**<br />*Text*               | Comma-separated list of classification tags of the initial reply received from a person. For example, "Willing to Meet, Needs More Info".                         |
    | **Unify Most Recent Reply Tags**<br />*Text*           | Comma-separated list of classification tags of the most recent reply received from a person. For example, "Willing to Meet, Needs More Info".                     |
  </Accordion>
</AccordionGroup>
