# ServiceTitan + ChatGPT (OpenAI) Integrations: Connect with Zapier MCP
> zapier.com/apps/servicetitan/integrations/chatgpt
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate ServiceTitan and ChatGPT (OpenAI) in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · analyze_images_responses_api`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "chatgpt", owner: "me" });

const { data } = await zapier.runAction({
  app: "chatgpt",
  actionType: "write",
  action: "analyze_images_responses_api",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action chatgpt write analyze_images_responses_api \
  --inputs '{}'
```

## ServiceTitan

### Identity
ServiceTitan is a mobile, cloud-based software platform that helps home services companies streamline operations, improve customer service, and increase sales.

- App slug: servicetitan
- Operations published here: 103 (24 events, 53 functions, 26 queries)

### Authentication
Zapier connects to ServiceTitan via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection servicetitan
```

### Capabilities

#### Events (24)

Events fire when something happens in ServiceTitan. Use them to start a run.

##### New Project
Triggers when there's a new project.

- Type: read · Key: `getProjects`
- Requires: nothing
- Optional: ids, customerId, locationId, jobId, status, targetCompletionDateBefore, targetCompletionDateOnOrAfter, startsBefore, startsOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "getProjects" })`
- CLI: `npx zapier-sdk run-action servicetitan read getProjects`

##### New Appointment
Triggers when there's a new appointments.

- Type: read · Key: `listAppointments`
- Requires: nothing
- Optional: appointmentsIds, jobId, projectId, number, status, technicianId, customerId, startsOnOrAfter, startsBefore, modifiedBefore, modifiedOnOrAfter, createdOnOrAfter, createdBefore
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listAppointments" })`
- CLI: `npx zapier-sdk run-action servicetitan read listAppointments`

##### New Booking
Triggers when there's a new booking for a booking provider.

- Type: read · Key: `listBookings`
- Requires: bookingProvider
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listBookings" })`
- CLI: `npx zapier-sdk run-action servicetitan read listBookings`

##### New Business Unit
Triggers when there's a new Business Unit.

- Type: read · Key: `listBusinessUnits`
- Requires: nothing
- Optional: active, modifiedOnOrAfter, modifiedBefore
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listBusinessUnits" })`
- CLI: `npx zapier-sdk run-action servicetitan read listBusinessUnits`

##### New Call
Triggers when a new call is created.

- Type: read · Key: `listCalls`
- Requires: nothing
- Optional: modifiedOnOrAfter, modifiedBefore, active
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listCalls" })`
- CLI: `npx zapier-sdk run-action servicetitan read listCalls`

##### New Customer
Triggers when there's a new customers.

- Type: read · Key: `listCustomers`
- Requires: nothing
- Optional: customerIds, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter, name, street, unit, city, state, zip, country, phone, active, externalDataApplicationGuid, externalDataKey, externalDataValues, tagTypeIds, tagTypeMatchCondition
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listCustomers" })`
- CLI: `npx zapier-sdk run-action servicetitan read listCustomers`

##### New Employee
Triggers when there's a new employee.

- Type: read · Key: `listEmployees`
- Requires: nothing
- Optional: employeeIds, name, active, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listEmployees" })`
- CLI: `npx zapier-sdk run-action servicetitan read listEmployees`

##### New Estimate
Triggers when there's a new estimate.

- Type: read · Key: `listEstimates`
- Requires: nothing
- Optional: ids, jobId, projectId, jobNumber, soldById, soldByEmployeeId, active, status, totalGreater, totalLess, soldAfter, soldBefore, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listEstimates" })`
- CLI: `npx zapier-sdk run-action servicetitan read listEstimates`

##### New Form Submissions
Triggers when there's a new Form Submission.

- Type: read · Key: `listFormSubmissions`
- Requires: nothing
- Optional: formIds, active, status, submittedOnOrAfter, submittedBefore, ownerType
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listFormSubmissions" })`
- CLI: `npx zapier-sdk run-action servicetitan read listFormSubmissions`

##### New Invoice
Triggers when there's a new invoices.

- Type: read · Key: `listInvoices`
- Requires: nothing
- Optional: ids, statuses, batchId, batchNumber, jobId, businessUnitId, customerId, totalGreater, totalLess, invoicedOnBefore, invoicedOnOrAfter, reviewStatuses, assignedToIds, modifiedOnOrAfter, modifiedBefore
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listInvoices" })`
- CLI: `npx zapier-sdk run-action servicetitan read listInvoices`

##### New Job or Project Note
Triggers when there's a new job or project note.

- Type: read · Key: `listJobOrProjectNotes`
- Requires: nothing
- Optional: entity
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listJobOrProjectNotes" })`
- CLI: `npx zapier-sdk run-action servicetitan read listJobOrProjectNotes`

##### New Job
Triggers when there's a new job.

- Type: read · Key: `listJobs`
- Requires: nothing
- Optional: ids, number, projectId, jobStatus, appointmentStatus, jobTypeId, businessUnitId, customerId, locationId, technicianId, appointmentStartsBefore, appointmentStartsOnOrAfter, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter, completedBefore, completedOnOrAfter, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listJobs" })`
- CLI: `npx zapier-sdk run-action servicetitan read listJobs`

##### New Lead Notes
Triggers when there's a new note on a lead.

- Type: read · Key: `listLeadNotes`
- Requires: leadId
- Optional: includeTotal
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listLeadNotes" })`
- CLI: `npx zapier-sdk run-action servicetitan read listLeadNotes`

##### New Lead
Triggers when there's a new lead.

- Type: read · Key: `listLeads`
- Requires: nothing
- Optional: ids, modifiedBefore, modifiedOnOrAfter, customerId, isProspect, withoutCustomer, status, customerCity, customerState, customerZip, customerCreatedOnOrAfter, customerCreatedBefore, customerModifiedOnOrAfter, sort
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listLeads" })`
- CLI: `npx zapier-sdk run-action servicetitan read listLeads`

##### New Location
Triggers when there's a new location.

- Type: read · Key: `listLocations`
- Requires: nothing
- Optional: locationIds, customerId, city, state, zip, active, modifiedBefore, modifiedOnOrAfter, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listLocations" })`
- CLI: `npx zapier-sdk run-action servicetitan read listLocations`

##### New Equipment
Triggers when new equipment is added.

- Type: read · Key: `listNewEquipments`
- Requires: nothing
- Optional: ids, modifiedOnOrAfter, modifiedOnOrBefore, active
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listNewEquipments" })`
- CLI: `npx zapier-sdk run-action servicetitan read listNewEquipments`

##### New Non Job
Triggers when there's a new non job.

- Type: read · Key: `listNonJobs`
- Requires: nothing
- Optional: ids, technicianId, startsOnOrAfter, startsOnOrBefore, timesheetCodeId, activeOnly, showOnTechnicianSchedule, createdOnOrAfter, createdBefore
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listNonJobs" })`
- CLI: `npx zapier-sdk run-action servicetitan read listNonJobs`

##### New Payment
Triggers when there's a new payment.

- Type: read · Key: `listPayments_v2`
- Requires: nothing
- Optional: appliedToInvoiceIds, appliedToReferenceNumber, statuses, businessUnitIds, transactionType, customerId, totalGreater, totalLess, modifiedBefore, modifiedOnOrAfter, createdBefore, createdOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listPayments_v2" })`
- CLI: `npx zapier-sdk run-action servicetitan read listPayments_v2`

##### New Purchase Order
Triggers when a new purchase order is created.

- Type: read · Key: `listPurchaseOrder`
- Requires: nothing
- Optional: purchaseOrderIds, status, number, jobId, technicianId, projectId, createdOnOrAfter, createdBefore, modifiedOnOrAfter, modifiedBefore, dateOnOrAfter, dateBefore, sentOnOrAfter, sentBefore
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listPurchaseOrder" })`
- CLI: `npx zapier-sdk run-action servicetitan read listPurchaseOrder`

##### New Technician
Triggers when there's a new technician.

- Type: read · Key: `listTechnicians`
- Requires: nothing
- Optional: technicianIds, name, active, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listTechnicians" })`
- CLI: `npx zapier-sdk run-action servicetitan read listTechnicians`

##### Updated Call
Triggers when a call is updated.

- Type: read · Key: `listUpdatedCalls`
- Requires: nothing
- Optional: modifiedOnOrAfter, modifiedBefore, active
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listUpdatedCalls" })`
- CLI: `npx zapier-sdk run-action servicetitan read listUpdatedCalls`

##### Updated Equipment
Triggers when an equipment is updated.

- Type: read · Key: `listUpdatedEquipments`
- Requires: nothing
- Optional: ids, modifiedOnOrAfter, modifiedOnOrBefore, active
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listUpdatedEquipments" })`
- CLI: `npx zapier-sdk run-action servicetitan read listUpdatedEquipments`

##### Updated Estimate
Triggers when an estimate is updated.

- Type: read · Key: `listUpdatedEstimates`
- Requires: nothing
- Optional: ids, jobId, projectId, jobNumber, soldById, soldByEmployeeId, active, status, totalGreater, totalLess, soldAfter, soldBefore, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listUpdatedEstimates" })`
- CLI: `npx zapier-sdk run-action servicetitan read listUpdatedEstimates`

##### Updated Job
Triggers when a job is updated.

- Type: read · Key: `listUpdatedJobs`
- Requires: nothing
- Optional: ids, number, projectId, jobStatus, appointmentStatus, jobTypeId, businessUnitId, customerId, locationId, technicianId, appointmentStartsBefore, appointmentStartsOnOrAfter, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter, completedBefore, completedOnOrAfter, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "read", action: "listUpdatedJobs" })`
- CLI: `npx zapier-sdk run-action servicetitan read listUpdatedJobs`

#### Functions (53)

Functions change something in ServiceTitan.

##### Apply Tag to Customer
Apply Tag Types to customer

- Type: write · Key: `applyTagTypes`
- Requires: nothing
- Optional: customerIds, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "applyTagTypes" })`
- CLI: `npx zapier-sdk run-action servicetitan write applyTagTypes`

##### Assign Technicians
Assign technicians to an existing appointment

- Type: write · Key: `assignTechnician`
- Requires: jobAppointmentId, technicianIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "assignTechnician" })`
- CLI: `npx zapier-sdk run-action servicetitan write assignTechnician`

##### Attach Job
Attaches Job to the specified project.

- Type: write · Key: `attachJob`
- Requires: projectId, jobId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "attachJob" })`
- CLI: `npx zapier-sdk run-action servicetitan write attachJob`

##### Cancel Appointment
Cancels an appointment.

- Type: write · Key: `cancelAppointment`
- Requires: appointmentId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "cancelAppointment" })`
- CLI: `npx zapier-sdk run-action servicetitan write cancelAppointment`

##### Create Appointment
Adds a new appointment to an existing job.

- Type: write · Key: `createAppointment`
- Requires: jobId, start, end
- Optional: arrivalWindowStart, arrivalWindowEnd, technicianIds, specialInstructions
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createAppointment" })`
- CLI: `npx zapier-sdk run-action servicetitan write createAppointment`

##### Create Booking Contact
Adds a contact to an existing booking

- Type: write · Key: `createBookingContact`
- Requires: bookingProvider, bookingId, type, value
- Optional: memo
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createBookingContact" })`
- CLI: `npx zapier-sdk run-action servicetitan write createBookingContact`

##### Create Booking
Creates a new booking

- Type: write · Key: `createBookings`
- Requires: bookingProvider, source, name, summary, isFirstTimeClient, externalId
- Optional: street, unit, city, state, zip, country, type_contact_1, value_contact_1, memo_contact_1, type_contact_2, value_contact_2, memo_contact_2, customerType, start, campaignId, businessUnitId, jobTypeId, priority, isSendConfirmationEmail
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createBookings" })`
- CLI: `npx zapier-sdk run-action servicetitan write createBookings`

##### Create Customer
Creates a new customer

- Type: write · Key: `createCustomer`
- Requires: name, location_name, location_street, location_city, location_state, location_zip, location_country, street, city, state, zip, country
- Optional: type, doNotMail, doNotService, location_unit, location_latitude, location_longitude, unit, latitude, longitude, type_contact_1, value_contact_1, memo_contact_1, type_contact_2, value_contact_2, memo_contact_2, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createCustomer" })`
- CLI: `npx zapier-sdk run-action servicetitan write createCustomer`

##### Create Customer Contact
Adds a contact to an existing customer

- Type: write · Key: `createCustomerContacts`
- Requires: customerId, type, value
- Optional: memo
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createCustomerContacts" })`
- CLI: `npx zapier-sdk run-action servicetitan write createCustomerContacts`

##### Create Customer Note
Creates a new customer note

- Type: write · Key: `createCustomerNote`
- Requires: text
- Optional: customerId, pinToTop, addToLocations
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createCustomerNote" })`
- CLI: `npx zapier-sdk run-action servicetitan write createCustomerNote`

##### Create Employee
Creates a new employees

- Type: write · Key: `createEmployee`
- Requires: name, email, accountCreationMethod, roleId, positions
- Optional: mobilePhoneNumber, phoneNumber, login, businessUnitId, aadUserId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createEmployee" })`
- CLI: `npx zapier-sdk run-action servicetitan write createEmployee`

##### Create Estimate
Creates a new estimate

- Type: write · Key: `createEstimate`
- Requires: estimateName
- Optional: summary, tax, status, soldBy, name, url, jobId, projectId, locationId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createEstimate" })`
- CLI: `npx zapier-sdk run-action servicetitan write createEstimate`

##### Create Installed Equipments
Creates a new Installed Equipment

- Type: write · Key: `createInstalledEquipments`
- Requires: locationId
- Optional: name, installedOn, serialNumber, memo, manufacturer, model, cost, manufacturerWarrantyStart, manufacturerWarrantyEnd, serviceProviderWarrantyStart, serviceProviderWarrantyEnd, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3, alias_1, fileName_1, type_1, alias_2, fileName_2, type_2, alias_3, fileName_3, type_3, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createInstalledEquipments" })`
- CLI: `npx zapier-sdk run-action servicetitan write createInstalledEquipments`

##### Create Invoice Adjustment
Creates a new Invoice Adjustment

- Type: write · Key: `createInvoiceAdjustment`
- Requires: adjustmentToId
- Optional: number, typeId, invoicedOn, subtotal, tax, summary, royaltyStatus, royaltyDate, royaltySentOn, royaltyMemo, reviewStatus, exportId, assignedToId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createInvoiceAdjustment" })`
- CLI: `npx zapier-sdk run-action servicetitan write createInvoiceAdjustment`

##### Create Job
Creates a new job

- Type: write · Key: `createJob`
- Requires: customerId, locationId, businessUnitId, jobTypeId, priority, campaignId, start, end
- Optional: projectID, estimateID, arrivalWindowStart, arrivalWindowEnd, technicianIds, summary, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createJob" })`
- CLI: `npx zapier-sdk run-action servicetitan write createJob`

##### Create Job Attachments
Add attachments to a job

- Type: write · Key: `createJobAttachments`
- Requires: id, filename, file
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createJobAttachments" })`
- CLI: `npx zapier-sdk run-action servicetitan write createJobAttachments`

##### Create Job or Project Note
Creates a new note in a job or project

- Type: write · Key: `createJobOrProjectNote`
- Requires: text, entity
- Optional: pinToTop
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createJobOrProjectNote" })`
- CLI: `npx zapier-sdk run-action servicetitan write createJobOrProjectNote`

##### Create Lead
Create Lead (EXISTING Customer/Location)

- Type: write · Key: `createLead`
- Requires: campaignId, summary
- Optional: customerId, locationId, businessUnitId, jobTypeId, tagTypeIds, priority, callReasonId, followUpDate
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createLead" })`
- CLI: `npx zapier-sdk run-action servicetitan write createLead`

##### Create Lead Attribution Booking
Creates a new lead attribution booking

- Type: write · Key: `createLeadAttributionBooking`
- Requires: bookingId, landingPageUrl, referrerUrl
- Optional: gclid, fbclid, msclkid, utmSource, utmMedium, utmCampaign, utmAdgroup, utmTerm, utmContent, googleAnalyticsClientId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createLeadAttributionBooking" })`
- CLI: `npx zapier-sdk run-action servicetitan write createLeadAttributionBooking`

##### Create Lead Attribution Call
Creates a new lead attribution call

- Type: write · Key: `createLeadAttributionCall`
- Requires: landingPageUrl, referrerUrl, customerPhoneNumber, forwardingPhoneNumber, trackingPhoneNumber, callStartedOnUtc
- Optional: gclid, fbclid, msclkid, utmSource, utmMedium, utmCampaign, utmAdgroup, utmTerm, utmContent, googleAnalyticsClientId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createLeadAttributionCall" })`
- CLI: `npx zapier-sdk run-action servicetitan write createLeadAttributionCall`

##### Create Lead Attribution Form
Creates a new lead attribution form

- Type: write · Key: `createLeadAttributionForm`
- Requires: leadId, landingPageUrl, referrerUrl
- Optional: gclid, fbclid, msclkid, utmSource, utmMedium, utmCampaign, utmAdgroup, utmTerm, utmContent, googleAnalyticsClientId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createLeadAttributionForm" })`
- CLI: `npx zapier-sdk run-action servicetitan write createLeadAttributionForm`

##### Create Lead Follow Up
Creates a lead follow up

- Type: write · Key: `createLeadFollowUp`
- Requires: leadId, followUpDate
- Optional: text, pinToTop
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createLeadFollowUp" })`
- CLI: `npx zapier-sdk run-action servicetitan write createLeadFollowUp`

##### Create Lead Form
Create Lead (NO Customer/Location)

- Type: write · Key: `createLeadForm`
- Requires: name
- Optional: email, phoneNumber, street, unit, city, state, zip, country, summary
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createLeadForm" })`
- CLI: `npx zapier-sdk run-action servicetitan write createLeadForm`

##### Create Lead Note
Creates a new note in a lead

- Type: write · Key: `createLeadNote`
- Requires: leadId, text
- Optional: pinToTop
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createLeadNote" })`
- CLI: `npx zapier-sdk run-action servicetitan write createLeadNote`

##### Create Location
Creates a new location

- Type: write · Key: `createLocation`
- Requires: name, customerId
- Optional: street, unit, city, state, zip, country, latitude, longitude, type_contact_1, value_contact_1, memo_contact_1, type_contact_2, value_contact_2, memo_contact_2, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createLocation" })`
- CLI: `npx zapier-sdk run-action servicetitan write createLocation`

##### Create Location Contact
Adds a contact to an existing location

- Type: write · Key: `createLocationContact`
- Requires: locationId, type, value
- Optional: memo
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createLocationContact" })`
- CLI: `npx zapier-sdk run-action servicetitan write createLocationContact`

##### Create Non Job Appointments
Creates a new non job appointments

- Type: write · Key: `createNonJobAppointments`
- Requires: technicianId, start, duration, name, timesheetCodeId
- Optional: summary, clearDispatchBoard, clearTechnicianView, removeTechnicianFromCapacityPlanning, daysOfWeek, repeat, frequency, interval, endType
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createNonJobAppointments" })`
- CLI: `npx zapier-sdk run-action servicetitan write createNonJobAppointments`

##### Create Payroll Adjustments
Creates new payroll adjustments

- Type: write · Key: `createPayrollAdjustments`
- Requires: employeeType, employeeId, postedOn
- Optional: amount, memo, activityCodeId, invoiceId, hours, rate
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createPayrollAdjustments" })`
- CLI: `npx zapier-sdk run-action servicetitan write createPayrollAdjustments`

##### Create Project
Creates a new project

- Type: write · Key: `createProject`
- Requires: locationId
- Optional: estimateId, jobId, name, summary, statusId, subStatusId, startDate, targetCompletionDate, actualCompletionDate, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createProject" })`
- CLI: `npx zapier-sdk run-action servicetitan write createProject`

##### Create Purchase Order
Create a new purchase order

- Type: write · Key: `createPurchaseOrder`
- Requires: vendorId, typeId, businessUnitId, inventoryLocationId, addressDescription, street, unit, city, state, zip, country, impactsTechnicianPayroll, date, requiredOn, tax, shipping, skuId, description, vendorPartNumber, quantity, cost
- Optional: jobId, technicianId, projectId, vendorInvoiceNumber, memo
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createPurchaseOrder" })`
- CLI: `npx zapier-sdk run-action servicetitan write createPurchaseOrder`

##### Create Sub Task
Creates a new sub task

- Type: write · Key: `createSubTask`
- Requires: id, isClosed, name, assignedToId
- Optional: dueDateTime
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createSubTask" })`
- CLI: `npx zapier-sdk run-action servicetitan write createSubTask`

##### Create Task
Creates a new task

- Type: write · Key: `createTask`
- Requires: reportedById, assignedToId, isClosed, name, businessUnitId, employeeTaskTypeId, employeeTaskSourceId, reportedDate, completeBy, priority
- Optional: employeeTaskResolutionId, involvedEmployeeIdList, customerId, jobId, projectId, description
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createTask" })`
- CLI: `npx zapier-sdk run-action servicetitan write createTask`

##### Create Technician
Creates a new technician

- Type: write · Key: `createTechnician`
- Requires: name, accountCreationMethod, roleId, positions, licenseType
- Optional: phoneNumber, email, login, businessUnitId, aadUserId, team, dailyGoal, burdenRate, bio, memo, jobFilter, jobHistoryDateFilter, street, unit, city, state, zip, country, latitude, longitude
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "createTechnician" })`
- CLI: `npx zapier-sdk run-action servicetitan write createTechnician`

##### Detach Job
Detaches Job from the project.

- Type: write · Key: `detachJob`
- Requires: jobId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "detachJob" })`
- CLI: `npx zapier-sdk run-action servicetitan write detachJob`

##### Dismiss Lead
Dismisses a lead by id

- Type: write · Key: `dismissLead`
- Requires: leadId, dismissingReasonId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "dismissLead" })`
- CLI: `npx zapier-sdk run-action servicetitan write dismissLead`

##### Hold Appointment
Puts the appointment on hold.

- Type: write · Key: `holdAppointment`
- Requires: appointmentId, reasonId, memo
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "holdAppointment" })`
- CLI: `npx zapier-sdk run-action servicetitan write holdAppointment`

##### Remove Hold Appointment
Removes hold from the appointment.

- Type: write · Key: `removeHoldAppointment`
- Requires: appointmentId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "removeHoldAppointment" })`
- CLI: `npx zapier-sdk run-action servicetitan write removeHoldAppointment`

##### Reschedule Appointment
Reschedules an appointment.

- Type: write · Key: `rescheduleAppointment`
- Requires: appointmentId, start, end
- Optional: arrivalWindowStart, arrivalWindowEnd
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "rescheduleAppointment" })`
- CLI: `npx zapier-sdk run-action servicetitan write rescheduleAppointment`

##### Unassigns Technicians
Unassigns the list of technicians from the appointment

- Type: write · Key: `unassignTechnicians`
- Requires: jobAppointmentId, technicianIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "unassignTechnicians" })`
- CLI: `npx zapier-sdk run-action servicetitan write unassignTechnicians`

##### Update Customer
Updates an existing customer

- Type: write · Key: `updateCustomer`
- Requires: nothing
- Optional: customerId, name, type, doNotMail, doNotService, street, unit, city, state, zip, country, latitude, longitude, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3, active, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateCustomer" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateCustomer`

##### Update Employee
Updates an existing employee

- Type: write · Key: `updateEmployee`
- Requires: employeeId
- Optional: name, mobilePhoneNumber, phoneNumber, email, login, businessUnitId, roleId, positions, aadUserId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateEmployee" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateEmployee`

##### Employee Account Actions
Performs standard actions with the account

- Type: write · Key: `updateEmployeeAccountActions`
- Requires: employeeId, action
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateEmployeeAccountActions" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateEmployeeAccountActions`

##### Update Estimate Items
Updates the items in an estimate by id

- Type: write · Key: `updateEstimateItems`
- Requires: estimateId, description
- Optional: skuId, skuName, parentItemId, isAddOn, quantity, unitPrice, skipUpdatingMembershipPrices, itemGroupName, itemGroupRootId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateEstimateItems" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateEstimateItems`

##### Update Installed Equipments
Updates an existing Installed Equipment.

- Type: write · Key: `updateInstalledEquipments`
- Requires: nothing
- Optional: installedEquipmentsId, name, installedOn, serialNumber, memo, manufacturer, model, cost, manufacturerWarrantyStart, manufacturerWarrantyEnd, serviceProviderWarrantyStart, serviceProviderWarrantyEnd, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3, alias_1, fileName_1, type_1, alias_2, fileName_2, type_2, alias_3, fileName_3, type_3, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateInstalledEquipments" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateInstalledEquipments`

##### Update Invoice
Updates an invoice by id

- Type: write · Key: `updateInvoice`
- Requires: invoiceId
- Optional: number, typeId, invoicedOn, subtotal, tax, summary, royaltyStatus, reviewStatus, royaltyDate, royaltySentOn, royaltyMemo, exportId, assignedToId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateInvoice" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateInvoice`

##### Update Invoice Items
Updates the items in an invoice by id

- Type: write · Key: `updateInvoiceItems`
- Requires: invoiceId
- Optional: item_type
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateInvoiceItems" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateInvoiceItems`

##### Update Job
Updates a job by id

- Type: write · Key: `updateJob`
- Requires: id
- Optional: customerId, locationId, businessUnitId, projectID, estimateID, jobTypeId, priority, campaignId, summary, shouldUpdateInvoiceItems, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateJob" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateJob`

##### Update Lead
Updates a lead by id

- Type: write · Key: `updateLead`
- Requires: leadId
- Optional: campaignId, priority, businessUnitId, jobTypeId
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateLead" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateLead`

##### Update Location
Updates a location

- Type: write · Key: `updateLocation`
- Requires: nothing
- Optional: locationId, customerId, name, active, taxZoneId, street, unit, city, state, zip, country, latitude, longitude, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateLocation" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateLocation`

##### Update Project
Updates a project by id

- Type: write · Key: `updateProject`
- Requires: nothing
- Optional: projectId, name, summary, statusId, subStatusId, startDate, targetCompletionDate, actualCompletionDate, typeId_1, value_1, typeId_2, value_2, typeId_3, value_3
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateProject" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateProject`

##### Update Purchase Order
Update an existing purchase order

- Type: write · Key: `updatePurchaseOrder`
- Requires: purchaseOrderId, vendorId, typeId, businessUnitId, impactsTechnicianPayroll, date, requiredOn, tax, shipping
- Optional: inventoryLocationId, jobId, technicianId, projectId, street, unit, city, state, zip, country, vendorInvoiceNumber, memo
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updatePurchaseOrder" })`
- CLI: `npx zapier-sdk run-action servicetitan write updatePurchaseOrder`

##### Update Technician
Updates an existing technician

- Type: write · Key: `updateTechnician`
- Requires: technicianId
- Optional: name, phoneNumber, email, login, businessUnitId, roleId, positions, aadUserId, licenseType, team, dailyGoal, burdenRate, bio, memo, jobFilter, jobHistoryDateFilter, street, unit, city, state, zip, country, latitude, longitude
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateTechnician" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateTechnician`

##### Technician Account Actions
Performs standard actions with the account

- Type: write · Key: `updateTechnicianAccountActions`
- Requires: technicianId, action
- SDK: `runAction({ app: "servicetitan", actionType: "write", action: "updateTechnicianAccountActions" })`
- CLI: `npx zapier-sdk run-action servicetitan write updateTechnicianAccountActions`

#### Queries (26)

Queries read from ServiceTitan and return data. They change nothing.

##### Search Appointment Assignments
Gets a list of appointment assignments

- Type: search · Key: `searchAppointmentAssignments`
- Requires: nothing
- Optional: appointmentsIds, jobId, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchAppointmentAssignments" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchAppointmentAssignments`

##### Search Appointments
Search appointments

- Type: search · Key: `searchAppointments`
- Requires: nothing
- Optional: appointmentsIds, jobId, projectId, technicianId, customerId
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchAppointments" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchAppointments`

##### Search Booking Providers
Searches Booking Providers

- Type: search · Key: `searchBookingProviders`
- Requires: nothing
- Optional: bookingProviderIds, name, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchBookingProviders" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchBookingProviders`

##### Search Business Unit
Search Business Units

- Type: search · Key: `searchBusinessUnits`
- Requires: nothing
- Optional: businessUnitId
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchBusinessUnits" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchBusinessUnits`

##### Search Campaigns
Search Campaigns

- Type: search · Key: `searchCampaigns`
- Requires: nothing
- Optional: campaignId
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchCampaigns" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchCampaigns`

##### Search Categories
Get the categories in your pricebook.

- Type: search · Key: `searchCategories`
- Requires: nothing
- Optional: categoryType
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchCategories" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchCategories`

##### Search Customer Contacts
Search Customer Contacts

- Type: search · Key: `searchCustomerContact`
- Requires: nothing
- Optional: customerId
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchCustomerContact" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchCustomerContact`

##### Search Customers
Search for customers that match a query.

- Type: search · Key: `searchCustomers`
- Requires: nothing
- Optional: customerIds, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter, name, street, unit, city, state, zip, country, phone, active, externalDataApplicationGuid, externalDataKey, externalDataValues, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchCustomers" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchCustomers`

##### Search Discount and Fees
Get data on all of the discounts or fees in the pricebook.

- Type: search · Key: `searchDiscountAndFees`
- Requires: nothing
- Optional: discountAndFeesIds, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter, active, externalDataApplicationGuid, externalDataKey, externalDataValues
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchDiscountAndFees" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchDiscountAndFees`

##### Search Employee
Searches an Employee

- Type: search · Key: `searchEmployees`
- Requires: nothing
- Optional: employeeIds, name, active, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchEmployees" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchEmployees`

##### Search Equipments
Get data on all of the equipment in the pricebook.

- Type: search · Key: `searchEquipments`
- Requires: nothing
- Optional: equipmentsIds, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter, active, externalDataApplicationGuid, externalDataKey, externalDataValues
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchEquipments" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchEquipments`

##### Search Estimates
Search Estimates

- Type: search · Key: `searchEstimates`
- Requires: nothing
- Optional: ids, jobId, projectId, soldById, soldByEmployeeId, status, totalGreater, totalLess, soldAfter, soldBefore
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchEstimates" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchEstimates`

##### Search Installed Equipments
Search an Installed Equipment by Id or Location

- Type: search · Key: `searchInstalledEquipments`
- Requires: nothing
- Optional: ids, locationIds
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchInstalledEquipments" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchInstalledEquipments`

##### Search Invoices
Search Invoices

- Type: search · Key: `searchInvoices`
- Requires: nothing
- Optional: ids, number, status, jobId, jobNumber, batchId, batchNumber, customerId
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchInvoices" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchInvoices`

##### Search Jobs
Search Jobs

- Type: search · Key: `searchJobs`
- Requires: type
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchJobs" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchJobs`

##### Search Job Types
Search job types

- Type: search · Key: `searchJobType`
- Requires: nothing
- Optional: jobTypeId
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchJobType" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchJobType`

##### Search Leads
Search Leads

- Type: search · Key: `searchLead`
- Requires: nothing
- Optional: leadId
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchLead" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchLead`

##### Search Location
Searches a Location

- Type: search · Key: `searchLocation`
- Requires: nothing
- Optional: customerId, tagTypeIds
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchLocation" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchLocation`

##### Search Materials
Get details on materials in the pricebook.

- Type: search · Key: `searchMaterials`
- Requires: nothing
- Optional: materialIds, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter, active, externalDataApplicationGuid, externalDataKey, externalDataValues
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchMaterials" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchMaterials`

##### Search Projects
Search projects

- Type: search · Key: `searchProject`
- Requires: nothing
- Optional: ids, customerId, locationId, invoiceId, technicianId, jobId, appointmentId
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchProject" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchProject`

##### Search Purchase Order
Search a purchase order.

- Type: search · Key: `searchPurchaseOrder`
- Requires: nothing
- Optional: purchaseOrderIds, status, number, jobId, technicianId, projectId, createdOnOrAfter, createdBefore, modifiedOnOrAfter, modifiedBefore, dateOnOrAfter, dateBefore, sentOnOrAfter, sentBefore
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchPurchaseOrder" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchPurchaseOrder`

##### Search Services
Get data on all of the services in the pricebook

- Type: search · Key: `searchServices`
- Requires: nothing
- Optional: servicesIds, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter, active, externalDataApplicationGuid, externalDataKey, externalDataValues
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchServices" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchServices`

##### Search Tag Types
Search tag types

- Type: search · Key: `searchTagTypes`
- Requires: nothing
- Optional: active, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchTagTypes" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchTagTypes`

##### Search Technician
Searches a Technician

- Type: search · Key: `searchTechnicians`
- Requires: nothing
- Optional: technicianIds, name, active, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchTechnicians" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchTechnicians`

##### Search Vendors
Searches vendors

- Type: search · Key: `searchVendors`
- Requires: nothing
- Optional: vendorIds, active, externalDataApplicationGuid, externalDataKey, externalDataValues, createdBefore, createdOnOrAfter, modifiedBefore, modifiedOnOrAfter
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "searchVendors" })`
- CLI: `npx zapier-sdk run-action servicetitan search searchVendors`

##### Search All Location Contacts
Search All Location Contacts

- Type: search · Key: `search_all_location_contacts`
- Requires: nothing
- Optional: locationId
- SDK: `runAction({ app: "servicetitan", actionType: "search", action: "search_all_location_contacts" })`
- CLI: `npx zapier-sdk run-action servicetitan search search_all_location_contacts`

## ChatGPT (OpenAI)

### Identity
ChatGPT is an AI tool built by OpenAI that enables conversational automation.

- App slug: chatgpt
- Operations published here: 27 (21 functions, 5 queries, 1 search-or-write action)

### Authentication
Zapier connects to ChatGPT (OpenAI) via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection chatgpt
```

### Capabilities

#### Functions (21)

Functions change something in ChatGPT (OpenAI).

##### Analyze Images
(Recommended) Upload an image(s) and send a message or question about it. Powered by Responses API.

- Type: write · Key: `analyze_images_responses_api`
- Requires: images
- Optional: user_message, max_tokens
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "analyze_images_responses_api" })`
- CLI: `npx zapier-sdk run-action chatgpt write analyze_images_responses_api`

##### Analyze Image Content With Vision (Legacy)
Upload an image and send a message or question about it. Powered by Chat Completions API.

- Type: write · Key: `analyze_image_content_with_vision`
- Requires: images
- Optional: user_message, max_tokens
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "analyze_image_content_with_vision" })`
- CLI: `npx zapier-sdk run-action chatgpt write analyze_image_content_with_vision`

##### Analyze Text
(Recommended) Summarize, classify, and analyze text. Powered by Responses API.

- Type: write · Key: `analyze_text_responses_api`
- Requires: text_to_analyze, model, analysis_type
- Optional: info_1
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "analyze_text_responses_api" })`
- CLI: `npx zapier-sdk run-action chatgpt write analyze_text_responses_api`

##### Analyze Text Sentiment (Legacy)
Generate an analysis of the overall sentiment of a block of text. Powered by Chat Completions API.

- Type: write · Key: `analyze_text_sentiment`
- Requires: text_to_analyze, model
- Optional: info_1, max_tokens, temperature
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "analyze_text_sentiment" })`
- CLI: `npx zapier-sdk run-action chatgpt write analyze_text_sentiment`

##### Ask Questions (Beta)
Asks yes or no, pick one, or scale questions about text or images, and returns each answer with a confidence score. Powered by the Decisions API (beta).

- Type: write · Key: `ask_questions`
- Requires: nothing
- Optional: beta_info, content, images, yes_no_questions, pick_one_name, pick_one_question, pick_one_options, scale_name, scale_question, scale_levels, min_confidence, when_unsure
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "ask_questions" })`
- CLI: `npx zapier-sdk run-action chatgpt write ask_questions`

##### Conversation (Legacy)
Sends a Chat to OpenAI and generates a Completion, optionally storing messages as we do. Powered by Chat Completions API.

- Type: write · Key: `chat_completion_memory`
- Requires: user_message, model
- Optional: use_latest_stable_model, memory_key, user_name, assistant_name, system_message, max_tokens, temperature, top_p, info_2
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "chat_completion_memory" })`
- CLI: `npx zapier-sdk run-action chatgpt write chat_completion_memory`

##### Check Moderations
Classifies if text is potentially harmful.

- Type: write · Key: `check_moderations`
- Requires: model
- Optional: copy, text_to_classify, images
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "check_moderations" })`
- CLI: `npx zapier-sdk run-action chatgpt write check_moderations`

##### Classify Text (Legacy)
Classify your text into one of your provided categories. Powered by Chat Completions API.

- Type: write · Key: `classify_text`
- Requires: text_to_classify, categories, model
- Optional: max_tokens, temperature, top_p
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "classify_text" })`
- CLI: `npx zapier-sdk run-action chatgpt write classify_text`

##### Conversation
(Recommended) Send a chat to OpenAI, optionally storing messages for continuous conversation. This enhanced action can also help with web search, file search, and advanced tooling such as MCP. Powered by Responses API.

- Type: write · Key: `conversation_responses_api`
- Requires: model, user_message
- Optional: instructions, info_2, use_prompt_template, images, file_clarification, files, max_tokens, tool_choice, parallel_tool_calls, max_tool_calls, tools, response_format, advanced_warning, memory_key, prompt_cache_key, safety_identifier, metadata
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "conversation_responses_api" })`
- CLI: `npx zapier-sdk run-action chatgpt write conversation_responses_api`

##### Create Embedding
Generate vector embeddings for text input.

- Type: write · Key: `create_embedding`
- Requires: input
- Optional: model, dimensions, encoding_format
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "create_embedding" })`
- CLI: `npx zapier-sdk run-action chatgpt write create_embedding`

##### Create Image Edit
Creates a new image by editing an existing image with a prompt.

- Type: write · Key: `create_image_edit`
- Requires: image, prompt
- Optional: mask, model, user
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "create_image_edit" })`
- CLI: `npx zapier-sdk run-action chatgpt write create_image_edit`

##### Create Transcription
Creates a new transcription, using Whisper, from an audio or video file.

- Type: write · Key: `create_transcription`
- Requires: file
- Optional: prompt, response_format, timestamp_granularities, language, temperature
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "create_transcription" })`
- CLI: `npx zapier-sdk run-action chatgpt write create_transcription`

##### Create Video
Create a new video generation job using Sora. Returns a video job ID that can be used to check the render status.

- Type: write · Key: `create_video`
- Requires: prompt
- Optional: model, seconds, size
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "create_video" })`
- CLI: `npx zapier-sdk run-action chatgpt write create_video`

##### Extract Structured Data (Legacy)
Sends unstructured text and returns structured data using OpenAI's "Function Calling" capability. Powered by Chat Completions API.

- Type: write · Key: `extract_structured_data`
- Requires: prompt, model, description, arguments
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "extract_structured_data" })`
- CLI: `npx zapier-sdk run-action chatgpt write extract_structured_data`

##### Extract Structured Data
(Recommended) Improved structured data extraction with better formatting options and more reliable schema adherence. Powered by Responses API.

- Type: write · Key: `extract_structured_data_responses_api`
- Requires: prompt, model, description, arguments
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "extract_structured_data_responses_api" })`
- CLI: `npx zapier-sdk run-action chatgpt write extract_structured_data_responses_api`

##### Generate An Image
Generates an image using a relevant OpenAI model.

- Type: write · Key: `generate_image`
- Requires: prompt
- Optional: model, user
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "generate_image" })`
- CLI: `npx zapier-sdk run-action chatgpt write generate_image`

##### Send Prompt
Sends a prompt to OpenAI and generates a completion.  Note:  this uses the legacy OpenAI Completions API. We recommend using  Conversation  or  Conversation With Assistant  actions instead, which are powered by the latest OpenAI APIs.

- Type: write · Key: `send_prompt`
- Requires: model, prompt
- Optional: info_1, info_2, temperature, max_tokens, stop, top_p, frequency_penalty, presence_penalty
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "send_prompt" })`
- CLI: `npx zapier-sdk run-action chatgpt write send_prompt`

##### Summarize Text (Legacy)
Enter a block of text and generate a summary. Powered by Chat Completions API.

- Type: write · Key: `summarize_text`
- Requires: text_to_summarize, model
- Optional: max_tokens, temperature, top_p
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "summarize_text" })`
- CLI: `npx zapier-sdk run-action chatgpt write summarize_text`

##### Convert Text to Speech
Converts a given text to speech.

- Type: write · Key: `text_to_speech`
- Requires: model, input, voice
- Optional: info_1, info_2, response_format, speed
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "text_to_speech" })`
- CLI: `npx zapier-sdk run-action chatgpt write text_to_speech`

##### Create Translation
Creates a new translation.

- Type: write · Key: `translation`
- Requires: file
- Optional: prompt, response_format, temperature
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "translation" })`
- CLI: `npx zapier-sdk run-action chatgpt write translation`

##### Write an Email
Writes the content of an email based on your provided prompt for use in a subsequent step.

- Type: write · Key: `write_email`
- Requires: name, email, from, prompt, tone, type, model
- Optional: info_3, max_tokens, temperature, top_p
- SDK: `runAction({ app: "chatgpt", actionType: "write", action: "write_email" })`
- CLI: `npx zapier-sdk run-action chatgpt write write_email`

#### Queries (5)

Queries read from ChatGPT (OpenAI) and return data. They change nothing.

##### Find Conversation
Find a conversation for native OpenAI conversation management.

- Type: search · Key: `find_conversation`
- Requires: conversation_id
- SDK: `runAction({ app: "chatgpt", actionType: "search", action: "find_conversation" })`
- CLI: `npx zapier-sdk run-action chatgpt search find_conversation`

##### Find File
Finds a file by filename.

- Type: search · Key: `find_file`
- Requires: filename_to_search_for
- Optional: file_purpose_to_search_for
- SDK: `runAction({ app: "chatgpt", actionType: "search", action: "find_file" })`
- CLI: `npx zapier-sdk run-action chatgpt search find_file`

##### Find Response
Find a stored Responses API result by response ID for audit trails and debugging.

- Type: search · Key: `find_response`
- Requires: response_id
- SDK: `runAction({ app: "chatgpt", actionType: "search", action: "find_response" })`
- CLI: `npx zapier-sdk run-action chatgpt search find_response`

##### Get Video
Retrieve the status and details of a video generation job created with Sora. Use this to check if a video is ready for download.

- Type: search · Key: `get_video`
- Requires: video_id
- SDK: `runAction({ app: "chatgpt", actionType: "search", action: "get_video" })`
- CLI: `npx zapier-sdk run-action chatgpt search get_video`

##### Search Embeddings
This best matches a query string (like "big animal") to a list of document strings (like "mouse", "cat", "buffalo", and "blue whale").

- Type: search · Key: `search_embeddings_v2`
- Requires: query, documents
- SDK: `runAction({ app: "chatgpt", actionType: "search", action: "search_embeddings_v2" })`
- CLI: `npx zapier-sdk run-action chatgpt search search_embeddings_v2`

#### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create File
Find or Create file

- Type: search_or_write · Key: `find_file`
- Requires: filename_to_search_for, file
- Optional: file_purpose_to_search_for, purpose
- SDK: `runAction({ app: "chatgpt", actionType: "search_or_write", action: "find_file" })`
- CLI: `npx zapier-sdk run-action chatgpt search_or_write find_file`

## Frequently asked questions about automating with ServiceTitan and ChatGPT (OpenAI)

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- ServiceTitan integrations: zapier.com/apps/servicetitan/integrations.md
- ChatGPT (OpenAI) integrations: zapier.com/apps/chatgpt/integrations.md
- Full page: zapier.com/apps/servicetitan/integrations/chatgpt
- SDK: npmjs.com/package/@zapier/zapier-sdk