What Hatch's ServiceTitan integration is, how it works, and where to begin.
Table of Contents
There's a lot to navigate here! If you're looking for an answer to something specific, this table of contents will take you where you need to go.
- What does the ServiceTitan integration do?
- How do you set up the integration?
- Requirements
- Setup Steps
- Upgrading the App
- Configuration Options
- Best Practices
- When does Hatch sync data to/from ServiceTitan?
- How is ServiceTitan data stored in Hatch?
- Opportunity Models
- Opportunity Creation & Update
- What ServiceTitan data is available in Hatch?
- Resource Selection
- Available Resource Fields
- What are the limitations of the integration?
- Recommended Targeting for Audiences
- FAQ
What does the ServiceTitan integration do?
Hatch offers a native integration with ServiceTitan that you can activate within the App Marketplace (located in your Hatch workspace). This integration syncs contact data from ServiceTitan to Hatch, and can also sync Hatch events to ServiceTitan.
While active, the ServiceTitan integration will sync new and updated ServiceTitan data every 15 minutes. It will also sync Hatch events back to ServiceTitan as soon as they occur (if you have enabled this feature).
To get started, open the App Marketplace in your Hatch workspace and follow the setup instructions below.
How do you set up the integration?
Requirements
You will need the following to set up the integration:
- Hatch account with manager privileges
- ServiceTitan account with admin privileges on your tenant
Setup Steps
Hatch now has an official ServiceTitan App! All users are required to utilize our official ServiceTitan application over a personal application (as per their API terms of use). The Hatch app automatically provides us with the permissions to read or update data in your ServiceTitan tenant. The scopes requested by our app cover all of the possible use cases in Hatch. For reference, the scopes are listed below in the FAQ section.
The following is the set of steps required to activate the integration:
Before you begin, consider reviewing ServiceTitan's documentation around managing client IDs and secrets. However, all of the necessary information is included in the instructions below.
- This first step is manual and will need to be completed in order to proceed with the rest of the setup steps. In order to make the Hatch app available for activation within your ServiceTitan instance, we will need to add your ServiceTitan Tenant ID to our ServiceTItan application. Please send your Tenant ID over to your onboarding representative to complete.
- If you're unsure where to find your Tenant ID, you can find it in ServiceTitan via Settings → Integrations → API Application Access
- Once the Hatch app has been activated for your tenant, you may proceed with setup. In Hatch, open the App Marketplace.
- Under the CRMs filter, click the Connect button for ServiceTitan.
- Proceed through the setup until you reach the connection configuration screen.
- Open the ServiceTitan instance that you want to connect to your Hatch workspace and navigate to Settings → Integrations → API Application Access.
- Click the Connect New App button, accept the terms and conditions (if prompted), and select Hatch from the list of apps.
- With Hatch selected, click Connect.
- Scroll to the bottom of the screen that appears.
- For any select boxes listed, choose No restriction if it is available (if not, select the first available option).
- Click Allow Access.
- On the resulting Application Details screen, copy/paste the Tenant ID and the Client ID into the associated fields on the Hatch configuration screen.
- Click the Generate button next to Client Secret and then click Yes, Continue to generate the secret.
- Copy/paste the Client Secret into the associated field on the Hatch setup screen.
- You may now close any open ServiceTitan pages. All of the remaining steps are completed in Hatch.
- Select which opportunity models you would like to sync with Hatch
- We recommend only enabling one opportunity model per integration.
- Configure your push communications preferences.
- Make sure to complete the full setup and click Finish in order to officially activate your Hatch integration.
- If successfully activated, the integration will begin syncing your last 90 days of data.
How to upgrade the ServiceTitan app
If an application is configured with incorrect scopes or an upgrade to the scopes is required to access new information, you will need to first edit the application in the ServiceTitan dev portal, and then upgrade the connected app within ServiceTitan.
Upgrade the connected Hatch app to the new version:
- Login to your Service Titan account
- Manage API Application Access page: https://go.servicetitan.com/#/Settings/Api-Apps
- In the Hatch App, you should see a message informing about the scope update.
- Click the "upgrade version" button and confirm.
Configuration Options
These options can be set during the integration setup:
Choose the ServiceTitan data that syncs to Hatch:
- Choose which opportunity models the integration should sync from ServiceTitan, and subsequently which data objects to include with the model. We will go into further detail regarding the data objects further down in this article in the section "What ServiceTitan data is available in Hatch?"
- Configure a filter for placeholder emails: if your org utilizes placeholder emails within your ServiceTitan, this filter will prevent contacts from merging in Hatch based on the shared information
Push Events and Communications:
- Choose where outgoing campaign messages should sync — if/where Hatch should create ServiceTitan notes for outgoing campaign message events
- Sync message content for outgoing campaign messages — if the message content should be included in notes created for outgoing campaign message events
- Choose where incoming messages & calls should sync — if/where Hatch should create ServiceTitan notes for incoming messages & calls
- Sync message content for incoming messages & calls — if the message content should be included in notes created for incoming messages & calls
- Choose where outgoing manual messages & calls should sync — if/where Hatch should create ServiceTitan notes for outgoing manual messages & calls
- Sync message content for outgoing manual messages & calls — if the message content should be included in notes created for outgoing manual messages & calls
Configuration Best Practices
- We recommend utilizing the object selector feature in the data configuration to select only the information necessary for your campaigns. While the integration can sync a wide range of information that might seem relevant, it can also make it more difficult to pick out the pieces that are truly important and useable with your campaign strategies. Now you can customize what you want to sync. Read more about this feature here.
When does Hatch sync data to/from ServiceTitan?
ServiceTitan → Hatch
ServiceTitan data can be sync’d to Hatch in the following scenarios. These options are configured during the integration setup.
Keep in mind that syncs occur every 15 minutes for Job and Membership data. Completed calls sync instantly using ServiceTitan webhooks.
- When a Job record is created or updated in ServiceTitan, Hatch syncs the Job record along with any associated data (see below for specific fields)
- When a Membership record is created or updated in ServiceTitan, Hatch syncs the Membership record along with any associated data (see below for specific fields)
- When a call is completed, Hatch syncs a record along with any associated data
Hatch → ServiceTitan
Automatically Book Jobs
Users of Hatch AI can benefit from our calendar integration to automatically book jobs on your schedule. Learn more about how our ServiceTitan scheduler bot in our dedicated calendar integration article.
Sync Communications
Hatch events and/or communications can be sync’d to ServiceTitan in the following scenarios. These options are configured during the integration setup.
Keep in mind that push communications occur instantaneously. There must be a ServiceTitan record in Hatch at the time of the sync in order for it to succeed.
- When a Hatch campaign sends a text/email/voicemail to a contact, Hatch creates a Note for the event on the associated Job, Customer, or Location
- When a contact calls or sends a text/email/voicemail to a Hatch workspace, Hatch creates a Note for the event on the associated Job, Customer, or Location
- When a Hatch user calls or sends a text/email to a contact, Hatch creates a Note for the event on the associated Job, Customer, or Location
- When events occur within a Hatch campaign, Hatch creates a Note for the event on the associated Job, Customer, or Location
- A contact is launched (added) to a Hatch campaign
- A contact is sent the first message of a Hatch campaign
- A contact is removed from a Hatch campaign before it has ended
- A contact completed a Hatch campaign
Below is an example of push communications and push events sent to ServiceTitan Job Notes:
How is ServiceTitan data stored in Hatch?
Opportunity Models
There are two types of Hatch opportunities that the ServiceTitan integration creates:
- Job Opportunity — Created from ServiceTitan Job records, this is the primary opportunity type in our ServiceTitan integration. Additional related data is also included (see below).
- Membership Opportunity — These opportunities are created from ServiceTitan Membership records. Additional related data is also included (see below).
- Inbound Call Opportunity — These opportunities are created when a inbound call is completed in ServiceTitan.
Opportunity Creation & Update
When an opportunity is generated that doesn’t match an existing contact, a new contact will be created. A new opportunity will be added to an existing contact if a match is found.
The integration will replace an existing Hatch opportunity when:
- The sync’d Hatch External ID matches the existing opportunity’s Hatch External ID (see below for how the External ID is mapped)
The integration will create an additional (new) Hatch opportunity when:
- The sync’d Hatch External ID does not match the existing opportunity’s Hatch External ID (see below for how the External ID is mapped)
What ServiceTitan data is available in Hatch?
Selecting Object Resources
The latest version of our integration allows you to select the resources that are most relevant to your campaigns, instead of syncing all possible data by default. This customizability allows you (and your integration) to operate more efficiently.
Both opportunity models have a certain set of required objects that are needed in order for some aspect of Hatch to function. The additional resources are optional. We have defaulted the configuration with the most commonly used optional resources, but users can select or deselect as needed.
What resources will I need?
Good question! We can generalize some use-cases for the optional resources that might give you a better idea.
The resources available with a Job opportunity are these:
Estimates - This will be necessary in order to utilize a sales follow-up strategy.
Appointments - For the most part, the common use cases can be covered using a combination of the Jobs and Estimates resources. The Appointments resource will be primarily useful if using an appointment confirmation or canceled appointments campaign.
Appointment Assignments - Can only be enabled if Appointments is selected. Primarily useful if you are looking to include technician information in one of your campaigns.
Cancel Reasons - Primarily useful if running a canceled appointments campaign (to get these leads back on the schedule).
Tag Types - May be useful for segmenting audiences based on existing ServiceTitan segments
Campaigns - May be useful for segmenting audiences based on existing ServiceTitan segments
Zones - May be useful for location-based targeting, if for some reason your Business Units don't provide enough specificity.
Employees & Technicians - This is only necessary if you are looking to utilize the estimate or membership Sold By information in one of your campaigns.
Invoices - This will be necessary in order to utilize an accounts receivable related campaign. Also useful for targeting contacts for reviews/referrals once work is completed.
Available Resource Fields
In the this section, we will provide a list of the available fields and what object resources those are found on in order to help guide your integration configuration. These fields will become the "details" fields of the Hatch Opportunity.
Some fields below are lists. Data within a list field is sorted by “created date” in descending order. For example, a list of estimates would have the most recently-created estimate listed first.
When accessing a list, you need to provide the index number of the list item that you want. Because this index number will vary, it is shown in the lists below with the placeholder #.
The following fields are available in the Job opportunity details:
Resource | Field Name | Data Type |
The following fields are available in the Membership opportunity details:
Resource | Field Name | Data Type |
Standard Field Mapping
Hatch standard fields are mapped from ServiceTitan detail fields as detailed below.
Job Opportunity
The base object of this opportunity model is the ServiceTitan Job. Therefore, (as an example) the id field would indicate the ID of the ServiceTitan Job record.
Hatch Standard Field | ServiceTitan Detail Field |
---|---|
The value of the first item in the customer:contacts list that has type equal to email | |
External ID | id |
External Contact ID | customer:id |
External Created At | createdOn |
External Updated At (used for Hatch opportunity sorting) |
The most recent date within these fields: |
First Name | If there is no comma in customer:name: The first word in the customer:name value If there is a comma in customer:name: All text after the first comma in the customer:name value |
Last Name | If there is no comma in the customer:name value: Everything after the first word in the customer:name value If there is a comma in the customer:name value: All text before the first comma in the customer:name value |
Phone | The value of the first item in the customer:contacts list that has type equal to mobilePhone IF ABOVE IS MISSING: The value of the first item in the customer:contacts list that has type equal to phone |
Membership Opportunity
The base object of this opportunity model is the ServiceTitan Membership. Therefore, (as an example) the id field would indicate the ID of the ServiceTitan Membership record.
In Membership opportunities, the following Hatch standard fields are mapped from ServiceTitan detail fields:
Hatch Standard Field | ServiceTitan Detail Field |
---|---|
The value of the first item in the customer:contacts list that has type equal to email | |
External ID | id |
External Contact ID | customer:id |
External Created At | createdOn |
External Updated At (used for Hatch opportunity sorting) |
modifiedOn |
First Name | If there is no comma in customer:name: The first word in the customer:name value If there is a comma in customer:name: All text after the first comma in the customer:name value |
Last Name | If there is no comma in the customer:name value: Everything after the first word in the customer:name value If there is a comma in the customer:name value: All text before the first comma in the customer:name value |
Phone | The value of the first item in the customer:contacts list that has type equal to mobilePhone IF ABOVE IS MISSING: The value of the first item in the customer:contacts list that has type equal to phone |
What are the limitations of the integration?
- The ServiceTitan API does not provide information related to the Job's "Opportunity", so Hatch is unable to target audiences based on the follow-up date or status.
Recommended targeting for audiences
We have a template library to help get you started on building audiences. These are what we've found works best to accomplish common use cases. Feel free to use these as a starting point for your own campaigns, but it's always wise to evaluate what targeting strategy works best with your internal processes.
Speed to Lead (Removal Rules)
The goal in mind here is to remove contacts from the STL campaign when a job (appointment) has been scheduled in ServiceTitan. There are a couple ways to achieve this:
FAQ
Where can I find additional resources to assist with building ServiceTitan campaigns?
Check out our blog posts! Here's some examples:
- Improve retention with recurring services integration
- Create an abandoned call campaign to re-engage callers
What API scopes are required by the integration, and are we able to customize them?
The scopes are standardized via our official ServiceTitan application so they are not able to be customized, If there are any scopes your organization does not wish Hatch to have access to, many of the features are optional and can be turned off in which case the integration would not access the related scopes.
- The following Read scopes are required:
- Accounting: Invoices, Invoice Items, Payment Types, Tax Zones
- CRM: Booking Provider Tags, Bookings, Customers, Leads, Locations, Tags
- Dispatch: Appointment Assignments, Capacity, Non-Job Appointments, Zones
- Job Planning and Management: Appointments, Job Cancel Reasons, Job Hold Reasons, Jobs, Job Types
- Memberships: Customer Memberships, Membership Types, Recurring Service Events, Recurring Services, Recurring Service Types
- Marketing: Campaigns, Campaign Categories
- Sales & Estimates: Estimates
- Settings: Business Units, Employees, Tag Types, Technicians, User Roles
- The following Write scopes are required:
- CRM: Customers, Leads, Locations
- Dispatch: Capacity
- Marketing: Campaigns,
- Job Planning and Management: Jobs, Appointments