🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Workiz Integration Setup Guide

Updated 7 min read Gravity Forms Integrations A–Z
On this page
  1. Step 1: Install and License the Add-on
  2. Step 2: Connect the Workiz Developer API
  3. Generate your API credentials
  4. Save and test the connection
  5. Step 3: Create a Workiz Feed
  6. Client details
  7. Service address
  8. Requested time and timezone
  9. Field Mapping Reference
  10. Job details, notes and assignment
  11. Privacy and Data Handling
  12. Conditional Logic
  13. Developer Filter: gravityextra_workiz_lead
  14. Checking Delivery on the Entry Screen
  15. Troubleshooting & FAQ
  16. A request did not reach Workiz. What happens?
  17. The connection says it could not connect, or leads are rejected with a token or secret error.
  18. The lead was created but not assigned.
  19. The appointment time is off by a few hours.
  20. The note says a client name, email or phone is required.
  21. Resource Hub

When a homeowner asks for a repair, the business that calls back first gets the job. The Gravity Forms Workiz Premium Add-on turns every service request on your website into a new lead in Workiz, with the client’s contact details, service address, requested appointment time, job type, job source and notes already filled in. It can even assign the lead to a team member, so your dispatcher or technician sees it right away.

This guide explains how to connect the Workiz Developer API, build a feed, map your fields and handle failed deliveries.

System Requirements & Prerequisites

  • WordPress: Version 6.5 or higher
  • PHP: Version 7.4 or higher
  • Gravity Forms: Version 2.5 or higher
  • Workiz account: The paid Workiz “Developer API” add-on, with an API token and API secret generated
  • GravityExtra license: The Workiz add-on installed, activated and licensed with an active GravityExtra license key

Step 1: Install and License the Add-on

  1. Go to Plugins → Add New → Upload Plugin, upload the add-on ZIP file and click Activate.
  2. Open Forms → Settings → Workiz.
  3. Enter your license key in the Gravity Extra License section and save. The Workiz connection settings appear once the license is active.

Step 2: Connect the Workiz Developer API

Generate your API credentials

API access requires the paid Workiz Developer API add-on. In Workiz open Feature Center → Add-ons → Developer API and click Generate API credentials. After that, your token and secret are available under Settings → Integrations → Developer.

Save and test the connection

  • API Token and API Secret (both required): paste them and click Save Settings. Both are stored in masked password fields.
  • Connection: the add-on reads your Workiz team list to confirm the token works and shows “Connected to Workiz — N active team members.” The result is remembered for a while; click Test connection to check again immediately.
  • Backup email for failed leads: defaults to the site admin email. If Workiz cannot be reached or rejects a lead, the lead details are emailed here. Leave it empty to turn it off.
Workiz Developer API settings connected with API token, API secret and backup email in Gravity Forms
Forms → Settings → Workiz with a successful connection and the Test connection button.

The API secret is checked when a lead is created

Workiz only validates the API secret when a new lead is sent, so a successful connection test confirms the token, not the secret. Submit one sample service request after setup and confirm the lead appears in Workiz.

Step 3: Create a Workiz Feed

Open your service request form, go to Settings → Workiz and click Add New. The button is available once the token and secret are saved.

Client details

Map First Name and Last Name, or a single Full Name field. A full name is split automatically: the last word becomes the last name. Map company, email, phone, phone extension and a second phone as needed. Every lead needs at least a name, an email or a phone number.

Workiz feed client mapping with name, company, email, phone, extension and second phone
Client mapping from the Name, Email, Phone and Company fields.

Service address

Map the parts of a Gravity Forms Address field. US state names such as “Texas” are converted to two-letter codes (TX), and country names to their two-letter country codes.

Workiz feed service address mapping
Service Address mapped from one Address field, including the unit line.

Requested time and timezone

To pass the requested appointment, map a Date field and a Time field for the start, plus an optional end time. If the form collects a date but no start time, Start time when none is given is used (24-hour HH:MM, default 09:00). Choose the Timezone your customers book in; it defaults to the site timezone and is also sent to Workiz as the lead timezone.

Workiz feed requested time mapping with date, start time, default start time and timezone
Requested Time read in the America/Chicago timezone.

Field Mapping Reference

Feed setting Workiz field How it is sent
First Name, Last Name / Full Name FirstName, LastName Full Name is split at the last space
Company, Email, Phone Company, Email, Phone As entered
Phone Extension, Second Phone PhoneExt, SecondPhone As entered
Street Address, Unit / Apt, City, ZIP Address, Unit, City, PostalCode As entered
State, Country State, Country Converted to two-letter codes when recognized
Date + Start Time LeadDateTime Read in the feed timezone and sent in ISO 8601 (UTC)
End Time LeadEndDateTime Only when it is later than the start
Timezone Timezone Named timezone such as America/Chicago
Job Type, Job Source, Referral Company, Service Area JobType, JobSource, ReferralCompany, ServiceArea Text or merge tags; Job Source defaults to Website
Notes / Message + Extra Fields LeadNotes Message first, then one “Label: value” line per extra field
Assign to Team Member Lead assignment Done right after the lead is created

Job details, notes and assignment

Job Type, Job Source, Referral Company and Service Area accept plain text or merge tags, for example {Service Needed:8} to use the visitor’s choice. Values should match the job types, job sources and service areas set up in Workiz. Map the visitor’s message to Notes / Message and add anything else under Extra Fields; each one is added to the lead notes with your label. Pick a person in Assign to Team Member to assign every new lead automatically. The list shows your active Workiz team members.

Workiz feed Job Details with job type merge tag, job source, lead notes, extra fields, team member assignment and conditional logic
Job Details: job type from the Service Needed field, notes, an extra field and automatic assignment.

Privacy and Data Handling

  • Credentials stay private: the API token and secret are kept in masked settings fields and are removed from every entry note, log message and backup email.
  • Backup email contents: the backup email lists the lead fields (contact details, address, requested time and notes), the error and a link to the entry. Send it to a business inbox your team controls.
  • Consent records: the add-on has no dedicated consent setting. If your form asks for SMS or marketing consent, map that checkbox under Extra Fields (for example with the label “SMS consent”) so your team can see the answer in the Workiz lead notes.

Conditional Logic

Enable Conditional Logic and choose Only send when conditions are met to control which requests become Workiz leads. Examples: send only when Service Needed is a service you offer in Workiz, skip requests where “Are you an existing customer?” is Yes, or create two feeds that assign different team members depending on the selected service.

Developer Filter: gravityextra_workiz_lead

The gravityextra_workiz_lead filter lets developers change the lead before it is sent. It passes $lead (the Workiz lead fields), $feed, $entry and $form, and must return the lead array. Your API secret is always added by the add-on itself and cannot be changed through this filter. This example sets the service area from the ZIP code on form 2:

functions.php
PHP
// Choose a Workiz service area from the ZIP code (form 2)
add_filter( 'gravityextra_workiz_lead', function( $lead, $feed, $entry, $form ) {
    if ( (int) $form['id'] !== 2 || empty( $lead['PostalCode'] ) ) {
        return $lead;
    }
    $areas = array( '75093' => 'North Dallas', '75201' => 'Downtown Dallas' );
    $zip   = substr( $lead['PostalCode'], 0, 5 );
    if ( isset( $areas[ $zip ] ) ) {
        $lead['ServiceArea'] = $areas[ $zip ];
    }
    return $lead;
}, 10, 4 );

Checking Delivery on the Entry Screen

Entries from a form with an active Workiz feed show a Workiz box. After a successful send it shows Lead sent, the Workiz Lead UUID and an Open lead in Workiz link. The entry notes record the send and the team member assignment.

Workiz status box on a Gravity Forms entry showing Lead sent, the Workiz lead UUID and an Open lead in Workiz link
The Workiz status box with the lead UUID, a direct link and the Send to Workiz again button.

Resending a delivered entry creates a second lead. Workiz creates a new lead every time it receives a request. For entries marked Not delivered the box shows Send to Workiz again. Once an entry is Lead sent, the button changes to Send again anyway with a notice, and you are asked to confirm before a second lead is created (version 1.0.1 and later).

Gravity Forms entry notes confirming the lead was sent to Workiz and assigned to a team member
Entry notes for the lead and the automatic assignment.

Troubleshooting & FAQ

A request did not reach Workiz. What happens?

The entry is kept, the status becomes Not delivered, a note records the reason (“Workiz did not accept the lead: …”), and the backup email “Workiz lead not delivered — [form name]” is sent with the lead details. Fix the cause, open the entry and click Send to Workiz again. It reruns every active Workiz feed on the form whose conditions match, and is available to users who can edit entries.

The connection says it could not connect, or leads are rejected with a token or secret error.

Confirm that the Developer API add-on is active on your Workiz account and copy the token and secret again from Settings → Integrations → Developer. Save, click Test connection, then resend the affected entries. Remember that the secret is only checked when a lead is created.

The lead was created but not assigned.

Assignment happens after the lead is created. If it fails, the lead stays in Workiz and the entry gets a warning note explaining why. Check that the team member is still active in Workiz and reselect them in the feed; if the team list cannot be loaded, the feed shows a message asking you to check the API token.

The appointment time is off by a few hours.

Set the feed Timezone to the timezone your customers book in. Times from the form are read in that timezone and converted to UTC before they are sent. An end time earlier than the start is ignored.

The note says a client name, email or phone is required.

Workiz needs some way to identify the client. Map at least one of them in the feed and make it required on the form, then resend the entry. A note about the GravityExtra license means leads are paused until the license is active again; Forms → Settings → Logging gives a detailed trace.

Resource Hub

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr