ClickCease Send Appointments from ServiceTitan to WhatConverts - Help Center - WhatConverts

Send Appointments from ServiceTitan to WhatConverts

Create a Zapier workflow that automatically sends appointment data from ServiceTitan to WhatConverts.

Before You Begin

Make sure you have:

Create Your Appointments Workflow

To build a Zapier workflow for sending appointments from ServiceTitan to WhatConverts:

Step 1: Set Up the Trigger

  1. Log in to your Zapier account.
  2. In the left-hand menu, click "+ Create", then click "Zaps".
  3. Use the AI Copilot to enter the integration you are setting up, or click the "Trigger Box" and search for "ServiceTitan".
  4. Choose "New Appointment" as the trigger event.
  5. Click "Continue".
  6. Connect your ServiceTitan account using your Tenant ID, Client ID, and Client Secret.
  7. Test the trigger to verify the connection works and review sample appointment data.

Step 2: Format the Created Date

  1. Click the "+" button to add a new step.
  2. Search for and select "Formatter by Zapier".
  3. Choose "Date/Time" as the event.
  4. Select "Format" as the transform option.
  5. In the "Input" field, map the "Created On" field from the ServiceTitan trigger.
  6. Set "To Format" to "MMMM DD YYYY".
  7. Set both "To Timezone" and "From Timezone" to "UTC".
  8. Test this step.

Send Appointments from ServiceTitan to WhatConverts

Step 3: Search for Appointment Details

  1. Add a new step and select "ServiceTitan" as the app.
  2. Choose "Search Appointments" as the action.
  3. In the "Appointments IDs" field, map the "ID" field from Step 1 (the ServiceTitan trigger).
  4. Test this step to retrieve detailed appointment information.

Step 4: Format the Appointment Start Time

  1. Add a new "Formatter by Zapier" step.
  2. Choose "Date/Time" as the event and "Format" as the transform.
  3. In the "Input" field, map the "Appointments Start" field from Step 3.
  4. Set "To Timezone" to "US/Eastern" (or your local timezone).
  5. Set "To Format" to "MMMM DD YYYY HH:mm:ss".
  6. Set "From Timezone" to "UTC".
  7. Test this step.

Send Appointments from ServiceTitan to WhatConverts-1

Step 5: Search for Customer Information

  1. Add a new ServiceTitan step.
  2. Choose "Search Customers" as the action.
  3. In the "Customers ID" field, map the "Appointments Customer ID" from Step 3.
  4. Test this step to retrieve customer details.

Step 6: Search for Customer Contact Information

  1. Add another ServiceTitan step.
  2. Choose "Search Customer Contacts" as the action.
  3. In the "Customer ID" field, map the "Customers ID" from Step 5.
  4. Test this step to retrieve contact details (phone, email, etc.).

Step 7: Process Contact Information with Code

  1. Add a "Code by Zapier" step.
  2. Choose "Run Javascript" as the action.
  3. In the "Input Data" section, add two fields:
    • Field name: data_value, then map "Customers Contact Value" from Step 6
    • Field name: data_type, then map "Customers Contact Type" from Step 6
  4. In the "Code" field, paste this JavaScript:
    JavaScript
    const dataValues = (inputData.data_value || '').split(',');
    const dataTypes = (inputData.data_type || '').split(',');
     
    // Prepare an output object to hold the enumerated fields
    output = {};
     
    // Loop through the values and types to create the output
    dataValues.forEach((value, index) => {
      const type = dataTypes[index] || 'UnknownType';
      const key = `${type}${output[type] ? Object.keys(output).filter(k => k.startsWith(type)).length + 1 : ''}`;
      output[key] = value.trim();
    });
  5. Test this step to verify the contact information is properly formatted.

Send Appointments from ServiceTitan to WhatConverts-2

Step 8: Search for Job Information

  1. Add a new ServiceTitan step.
  2. Choose "Search Jobs" as the action.
  3. In the "Type" field, map the "Appointments Job ID" from Step 3.
  4. Test this step to retrieve job details.

Step 9: Analyze Job Type with AI

  1. Add an "AI by Zapier" step.
  2. Select "openai" as the provider.
  3. Set the model to "openai/gpt-4o-mini".
  4. In the "Input fields" section, add these fields:
    • Field name: JobTypeID, then map "Jobs Job Type Id" from Step 8
    • Field name: AppointmentID, then map "Appointments ID" from Step 3
    • Field name: Appointment_bookID, then map "Appointments Book ID" from Step 3
    • Field name: Appointment_booktime, then map "Appointments Start" from Step 3
  5. In the "Prompt" field, enter:
    None
    As a job management system, your task is to identify and utilize the most recently booked job type from the provided list of job types. Please ensure that the job type selected is the latest based on the booking date. The output should be formatted as follows:
     
    1. Clearly specify the name of the job type.
    2. Include any relevant details associated with that job type, such as booking date, client name, or job description.

     
    For example, if the list includes "Job A" booked on January 1, 2023, and "Job B" booked on January 5, 2023, the output should be:
     

    - Job Type: Job B
    - Booking Date: January 5, 2023
    - Client Name: [Client Name]
    - Job Description: [Job Description]
     
    Make sure to replace the placeholders with actual details from the job type.

  6. Set "Return as an array of objects?" to "false".
  7. Test this step.

Send Appointments from ServiceTitan to WhatConverts-3

Step 10: Search for Job Type Details

  1. Add a new ServiceTitan step.
  2. Choose "Search Job Types" as the action.
  3. In the "Job Type ID" field, map the "Job Type" from Step 9 (the AI analysis output).
  4. Test this step.

Step 11: Create Lead in WhatConverts

  1. Add a "WhatConverts" step.
  2. Choose "Create Lead" as the action.
  3. Connect your WhatConverts account using your Profile ID and Secret Token.
  4. Map the fields into WhatConverts as needed.
  5. Test this step to create a test lead in WhatConverts.
  6. Verify the lead appears correctly in your WhatConverts account.

Activate Your Workflow

Once you've successfully tested all steps:

  1. Review the entire workflow to ensure all mappings are correct.
  2. Click "Publish" to activate the Zap.
  3. Monitor the first few appointments that come through to ensure everything works as expected.

Related Topics

Get a FREE presentation of WhatConverts

One of our marketing experts will give you a full presentation of how WhatConverts can help you grow your business.

Schedule a Demo
ready to get marketing clarity?

Grow your business with WhatConverts

14 days free trial Easy setup Dedicated support
G2 Best Results Summer 2025 Badge
G2 Best Relationship Summer 2025 Badge
G2 Best Usability Summer 2025 Badge
G2 Most Implementable Summer 2025 Badge
G2 Momentum Leader Summer 2025 Badge