Send Transactions and Sales Value from ServiceTitan to WhatConverts

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

Before You Begin

Make sure you have:

Create Your Invoices Workflow

To build your Zapier workflow for sending invoices 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 Invoice" 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 invoice data.

Step 2: Filter by Total Value

  1. Click the "+" button to add a new step.
  2. Search for and select "Filter by Zapier".
  3. Set up the filter condition:
    • Field: Map the "Total" field from Step 1 (ServiceTitan trigger)
    • Condition: Select "greater than"
    • Value: Enter 0
  4. This ensures only invoices with a positive total value proceed through the workflow.

Send Transactions and Sales Value from ServiceTitan to WhatConverts

Step 3: Filter by Job ID

  1. Add another "Filter by Zapier" step.
  2. Set up the filter condition:
    • Field: Map the "Job ID" from Step 1
    • Condition: Select "exists"
  3. This ensures the invoice has an associated job before proceeding.

Send Transactions and Sales Value from ServiceTitan to WhatConverts-1

Step 4: Search for Customer Information

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

Step 5: Search for Customer Contact Information

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

Step 6: 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 one field:
    • Field name: contact_info, then map "Customer Contacts Value" from Step 5
  4. In the "Code" field, paste this JavaScript:
    JavaScript
    const contactInfo = (inputData.contact_info || '').split(',');
     
    // Prepare the output object with the expected fields
    output = {
      Phone: contactInfo[0] || '',
      Email: contactInfo[1] || '',
      MobilePhone: contactInfo[2] || ''
    };
  5. Test this step to verify the contact information is properly formatted.

Send Transactions and Sales Value from ServiceTitan to WhatConverts-2

Step 7: Search for Job Information

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

Step 8: Search for Job Type Details

  1. Add another ServiceTitan step.
  2. Choose "Search Job Types" as the action.
  3. In the "Job Type ID" field, map the "Job Type ID" from Step 7.
  4. Test this step to retrieve the job type name and details

Step 9: 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.

Understand Sales Value Tracking

When an invoice is sent from ServiceTitan to WhatConverts through this workflow, the invoice total appears in the "Sales Value" field in WhatConverts. This allows you to track revenue attribution and understand which marketing sources generate the highest-value customers. If WhatConverts has previously tracked a marketing interaction with this customer, you'll be able to see which marketing channel ultimately led to this sale.

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