# HubSpot

Connect **HubSpot** and 42min sends each new booking to your CRM. The person who booked
becomes a HubSpot contact, and the meeting is logged on that contact's timeline. You
connect it from the [**Integrations**](/360/integrations) page.

Only admins can connect HubSpot and change its settings. One connection serves your
whole 42min organization.

## What it does

- **Contacts**: finds the invitee in HubSpot by email. If there is no such contact,
  42min can create one.
- **Contact fields**: fills in the first name, last name and phone, plus any booking
  answers you map.
- **Meetings**: logs each booking as a HubSpot meeting and updates that same meeting
  after a reschedule, cancellation, no-show or host change.
- **Owners**: gives each meeting to the HubSpot user who matches the host.
- **Sync activity**: shows the status of each booking, so you can fix and retry the ones
  that failed.

Information goes one way, from 42min to HubSpot. Editing a record in HubSpot doesn't
change the booking in 42min.

## How to connect

In HubSpot you need to be a **Super Admin** or have the **App Marketplace access**
permission. Without one of them, HubSpot won't let you add an app.

1. Open [**Integrations**](/360/integrations), find **HubSpot** under **CRM**, and click
   **Connect**.
2. Check that the page names the right 42min organization, then click
   **Connect HubSpot**. To use another 42min account, click **Switch 42min account**.
3. HubSpot opens. Choose your HubSpot account and allow the permissions. You have 10
   minutes to finish before you need to start again.
4. You come back to the HubSpot page in 42min. The connection starts as **Paused**, so
   nothing is sent yet.

<Screenshot
  src="/help/screenshots/integrations/hubspot-connect.png"
  alt="The 'Connect HubSpot to 42min' page: the 42min and HubSpot logos, the name of the 42min organization, and the Connect HubSpot and Switch 42min account buttons"
  caption="Step 2: check the organization's name, then click Connect HubSpot."
/>

### Turn on the sync

1. On the **Configuration** tab, pick a **Default meeting owner**. You need one unless
   you turn off **Log new meetings**.
2. Open **Host mappings** and match each host to a HubSpot owner.
3. If you want booking answers in HubSpot, add them under **Contact fields**.
4. Click **Save**, then **Enable synchronization**. The label next to the title changes
   to **Active**.

**Enable synchronization** can't be clicked while you have unsaved changes.

## What gets synced

42min sends bookings made **after** you enable the sync. This covers bookings from your
booking pages, ones your team adds by hand, and ones made through the API. A few kinds
of booking work in their own way:

| Booking | What HubSpot gets |
|---|---|
| Group event | One contact and one meeting for each person who booked |
| Recurring meeting | One meeting for each date |
| Event with several hosts | One meeting, owned by the organizer's HubSpot owner |
| Booking that needs approval or payment | Nothing until it is confirmed |

Some things are never sent:

- bookings made before you enabled the sync, or while it was paused or disconnected,
  even if they are rescheduled later
- bookings imported from Calendly
- guests the invitee added
- routing form answers from people who didn't book

42min doesn't create companies, deals or tickets. It never deletes anything in HubSpot.

### What happens to the meeting

| In 42min | In HubSpot |
|---|---|
| Booked | A new meeting with the event type's name, the time, the location or video link, and the outcome **Scheduled** |
| Rescheduled | The same meeting moves to the new time |
| Canceled | The outcome changes to **Canceled** |
| Marked as a no-show | The outcome changes to **No Show** |
| No-show undone | The outcome goes back to **Scheduled** |
| Host changed | The meeting gets the new host's owner |

42min doesn't mark meetings as completed. A meeting that took place keeps the outcome
**Scheduled** until someone changes it in HubSpot.

## The settings page

Open the HubSpot [**settings**](/360/integrations/hubspot) from the HubSpot row on
Integrations. The label next to the title shows the state of the connection:

| Label | What it means |
|---|---|
| **Active** | New bookings are sent to HubSpot |
| **Paused** | Nothing is sent |
| **Connection broken** | HubSpot no longer accepts the connection. Click **Reconnect HubSpot** |

The number under the title is your HubSpot account ID.

<Screenshot
  src="/help/screenshots/integrations/hubspot-settings.png"
  alt="The HubSpot Integration page on the Configuration tab: an Active label and account number by the title, the Reconnect HubSpot, Replace account and Disconnect HubSpot buttons, four tabs, checkboxes for event types, contacts and meetings, the Contact update policy and Default meeting owner menus, and the Save and Pause synchronization buttons"
  caption="The Configuration tab. The connection buttons are at the top, and Save and Pause synchronization are at the bottom."
/>

### Configuration

- **Include all event types**: untick it to choose which event types to sync.
- **Create missing contacts**: adds a contact when nobody in HubSpot has the invitee's
  email. With it off, the booking waits until the contact exists.
- **Contact update policy**: decides what happens to a contact who is already in HubSpot.
  **Fill empty properties** only fills blanks. **Replace mapped properties** also
  overwrites the properties you chose under **Contact fields**.
- **Log new meetings**: creates the HubSpot meetings. Turn it off to sync contacts only.
  Meetings that were already logged still get updates.
- **Default meeting owner**: owns the meeting when its host isn't matched to anyone.

Changes to the event types and to **Log new meetings** apply to new bookings only.

### Contact fields

First name, last name and phone need no setup. They only fill blanks in HubSpot. To
replace what is already there, map those properties yourself and choose
**Replace mapped properties**.

To send more, click **Add field mapping**. Pick a **booking field** on the left and a
**HubSpot contact property** on the right. A booking field can be:

- the invitee's name or phone
- a question on a booking form
- a question on a routing form
- a UTM value (source, medium, campaign, term or content)

You can map several fields to one property, for example the same question on three event
types. 42min uses the first answer that fits. An unanswered question never clears a
property in HubSpot.

<Screenshot
  src="/help/screenshots/integrations/hubspot-fields.png"
  alt="The Contact fields tab: four rows, each with a booking field on the left, a HubSpot contact property on the right and a Delete button, above an Add field mapping button"
  caption="Contact fields: the booking field is on the left and the HubSpot property it fills is on the right."
/>

Saving a new mapping doesn't change contacts that already synced. The property list
leaves out those that 42min can't or shouldn't change, such as read-only properties, the
email, the lifecycle stage and marketing consent.

### Host mappings

Each person in your organization has a menu of HubSpot owners. 42min doesn't match them
for you, so pick each owner by hand. A host set to **Not assigned** uses the
**Default meeting owner**.

The mapping sets the owner of new meetings and new contacts. A contact who is already in
HubSpot keeps their owner.

## Check the sync

The **Sync activity** tab lists your bookings and their status. It opens on
**Needs attention**, which shows only the bookings with a problem. Change the filter to
**All statuses** to see the rest.

<Screenshot
  src="/help/screenshots/integrations/hubspot-activity.png"
  alt="The Sync activity tab: a status filter with Refresh activity and Retry all matching buttons, a table of bookings with their sync status and action buttons, and the Recent sync log below it"
  caption="Sync activity: each booking has its status and actions. The log below shows what 42min did."
/>

| Status | What it means | What to do |
|---|---|---|
| **Pending** or **Processing** | Waiting to be sent, or being sent | Nothing |
| **Synced** | Sent to HubSpot | Nothing, unless an error shows under it |
| **Retry scheduled** | HubSpot didn't answer or was busy | Nothing. 42min tries again by itself for about 30 hours |
| **Waiting for contact** | No contact has this email, and **Create missing contacts** is off | Add the contact in HubSpot or turn the setting on, then click **Retry booking** |
| **Needs attention** | The sync stopped | Fix the problem shown under the status, then click **Retry booking** |
| **Creation uncertain** | The request was cut off, so HubSpot may or may not have the record | Look in HubSpot first. See the steps below |
| **Skipped** | You took this booking out of the sync | Click **Restore booking** to bring it back |

**Skip booking** stops the sync for one booking. **Retry all matching** retries all the
bookings in the current filter, except skipped ones and those marked
**Creation uncertain**.

### Fix a booking marked Creation uncertain

1. Search HubSpot for the contact and the meeting.
2. If the record is missing, click **Create another record**.
3. If it's there, click **Skip booking**. Clicking **Create another record** now could
   make a duplicate. After you skip it, update that meeting in HubSpot by hand.

### The sync log

**Recent sync log** shows the last 25 sync attempts, with what changed and any error.
42min deletes log entries after 30 days.

## Pause, disconnect or switch accounts

- **Pause synchronization** stops sending. When you click **Resume synchronization**,
  bookings that were already syncing catch up. Bookings made during the pause are left
  out.
- **Reconnect HubSpot** signs in to the same account again and keeps your settings.
  While the connection is broken, new bookings wait and are sent after you reconnect.
- **Replace account** moves you to a different HubSpot account. The new account starts
  paused, with its own settings and mappings. Records in the old account stay there.
- **Disconnect HubSpot** stops the sync and keeps your settings. If you connect the same
  account later, they come back, and you click **Resume synchronization** to start again.
  Records in HubSpot stay there.

Disconnecting in 42min doesn't uninstall the app in HubSpot. To remove it there too,
uninstall 42min from HubSpot's connected apps.

## What 42min asks HubSpot for

- **Read and edit contacts**: to find, create and update contacts, and to log meetings on
  them.
- **Read owners**: to list the HubSpot users you can choose as owners.
- **Read contact properties**: to list the properties you can map.

## Common pitfalls

- **Nothing reaches HubSpot.** Check that the label says **Active**, that the event type
  is included, and that the booking was made after you enabled the sync.
- **The same meeting shows up twice.** HubSpot's own Google, Outlook or Zoom connection
  may be logging it as well. Turn off that logging in HubSpot, or turn off
  **Log new meetings** in 42min.
- **An answer is missing from the contact.** The error "Check the mapped property and its
  value" means the answer didn't fit. For a dropdown property, the answer must match the
  option's **internal value** in HubSpot, which can differ from its label. Number properties need a number, and date
  properties need a date. Fix it, then click **Retry booking**.
- **"Choose an active HubSpot owner."** The owner was removed from HubSpot, or none is
  set. Pick another one, save, then click **Retry booking**.
- **A new HubSpot owner or property isn't listed.** The lists refresh every 5 minutes.
  Wait, then reload the page.
- **"This HubSpot account is connected to another organization."** A HubSpot account can
  be connected to one 42min organization at a time. Disconnect it there first.
- **"The HubSpot record is missing."** Someone deleted the contact or meeting in HubSpot.
  42min doesn't create it again. Restore it in HubSpot and click **Retry booking**, or
  click **Skip booking**.
