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

Gravity Forms JobTread Integration Setup Guide

Updated 8 min read Gravity Forms Integrations A–Z
On this page
  1. Step 1: Install and License the Add-on
  2. Step 2: Connect Your JobTread Organization
  3. Create a grant key
  4. Save the add-on settings
  5. Step 3: Create a JobTread Feed
  6. What to create in JobTread
  7. Contact and location
  8. Job name, description and message
  9. Field and Custom Field Mapping
  10. Privacy and Data Handling
  11. Conditional Logic
  12. Developer Hooks
  13. Checking Delivery on the Entry Screen
  14. Troubleshooting & FAQ
  15. A submission did not reach JobTread. What happens?
  16. Will Send to JobTread again create duplicates?
  17. The Organization field is a text box instead of a drop-down.
  18. A new JobTread custom field does not appear in the feed.
  19. The note says a customer or contact name is required.
  20. Resource Hub

When a homeowner fills in the project inquiry form on your website, someone on your team usually has to retype the same details into JobTread: the customer, the contact, the job site and the job itself. The Gravity Forms JobTread Premium Add-on does that for you. Every submission becomes a JobTread customer, contact, location and (optionally) a job, and the visitor’s message is posted as a comment so your estimator sees the full request in one place.

This guide covers connecting your JobTread organization, building a feed, mapping fields and custom fields, conditional logic, developer hooks, and what to do when a submission does not arrive.

System Requirements & Prerequisites

  • WordPress: Version 6.5 or higher
  • PHP: Version 7.4 or higher
  • Gravity Forms: Version 2.5 or higher
  • JobTread account: A JobTread user who can create grant keys and has access to the organization that should receive new customers
  • GravityExtra license: The JobTread add-on installed, activated and licensed with an active GravityExtra license key

Step 1: Install and License the Add-on

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

Step 2: Connect Your JobTread Organization

Create a grant key

JobTread connects outside apps with a grant key. Create one in JobTread at app.jobtread.com/profile/grants (the add-on settings link straight to this page). The key is shown only once, so copy it right away. Grant keys that are not used for 3 months expire; if the connection stops working after a long quiet period, create a new key and paste it in.

Save the add-on settings

  • Grant Key (required): paste the key. It is stored in a masked password field. A green check appears next to it when JobTread accepts the key.
  • Test connection: checks the key you typed, even before saving, and lists the organizations it can access.
  • Organization: after you save a valid key, this becomes a drop-down of your JobTread organizations. If the key can access only one organization it is selected automatically. You can also paste an organization ID.
  • Backup email for failed submissions: defaults to the site admin email. If JobTread cannot be reached or rejects a record, the inquiry details are emailed here so no project inquiry is lost. Leave it empty to turn the backup email off.
JobTread API settings in Gravity Forms with grant key, successful connection test, organization and backup email
Forms → Settings → JobTread after a successful connection test, with the organization selected.

Step 3: Create a JobTread Feed

Open your inquiry form, go to Settings → JobTread and click Add New. The button is available once a grant key has been saved. A form can have more than one feed, for example one per service area.

What to create in JobTread

  • Create in JobTread: choose Customer, contact, location and job (the default) or Customer, contact and location (no job) if your team creates jobs manually after a site visit.
  • Reuse an existing customer with the same name: on by default. Before creating a customer, the add-on looks for a JobTread customer with exactly the same name in the selected organization and adds the new contact, location and job to it.
  • Post the message as a comment: on by default. The message is added as a comment on the job, or on the customer when no job is created.
JobTread feed settings with feed name, create mode, reuse customer and comment options and customer name mapping
The top of the feed: what to create, the two options and the Customer Name mapping.

Contact and location

Map a Gravity Forms Name field to Full Name (whole field), or use First Name and Last Name. Customer Name is optional: leave it empty for homeowners and the contact name is used as the customer name, or map a Company field for commercial clients. For Job Site Address, map an Address field (whole field) or a single text field with the full address; line breaks become commas. Location Name defaults to the address.

JobTread contacts have no built-in email or phone inputs, so the add-on saves them in contact custom fields. Choose the fields in Save Email in Contact Field and Save Phone in Contact Field. The drop-downs list the contact custom fields of your organization, and fields named like email or phone are preselected.

JobTread feed contact mapping with name, email and phone, contact custom fields for email and phone, and job site address
Contact and Location mapping. Email and phone are stored in JobTread contact custom fields.

Job name, description and message

Job Name accepts merge tags, for example {Project Type:6} - {Name (Last):1.6}. JobTread limits job names to 30 characters, so longer names are shortened; an empty value uses the customer name. Job Description is optional and also accepts merge tags. Map your project details field to Project Details / Message.

JobTread feed Job and Message section with job name merge tags, job description and message mapping
Job & Message: merge tags build a short, searchable job name.

Field and Custom Field Mapping

The table shows where each value ends up in JobTread. Empty values are skipped.

Feed setting JobTread record Notes
Customer Name Customer (account) name Falls back to the contact name. A customer or contact name is required.
Full Name, or First + Last Name Contact name Falls back to the customer name
Job Title Contact title Optional
Email / Phone Contact custom fields Saved in the fields chosen under Save Email / Save Phone in Contact Field
Job Site Address Location address Location name defaults to the address, then the customer name
Job Name / Job Description Job Name shortened to 30 characters; skipped in the no-job mode
Project Details / Message Comment Subject “Website inquiry: [form title]”; email and phone are appended to the message
Contact / Customer / Job Custom Fields Custom field values Pick a JobTread custom field, or add a custom key and paste the custom field ID

Under Custom Fields, map any extra form fields to JobTread custom fields on the contact, the customer or the job, such as a lead source on the customer or the project type and budget on the job.

JobTread feed custom field maps for contact, customer and job custom fields with conditional logic
Custom Fields: Lead Source on the customer, Project Type and Estimated Budget on the job.

Privacy and Data Handling

  • What is sent: only the values you map in the feed. Unmapped form fields never leave your site.
  • Grant key: stored in a masked settings field, sent to JobTread only inside the request body, and never written to entry notes or backup emails.
  • Backup email contents: the customer, contact, title, email, phone, address, job name and message, the error, any records already created and a link to the entry. Send it to a business mailbox your team controls.
  • Consent: if you ask visitors for marketing consent, store the answer in a JobTread custom field with the custom field maps so your team can see it next to the customer.

Conditional Logic

Turn on Conditional Logic at the bottom of the feed and choose Only send when conditions are met. Useful examples:

  • Send only when Project Type is a service you offer, and route the rest to email.
  • Use two feeds with different create modes: create a job right away for “Bathroom Remodel”, but only customer, contact and location for “Home Addition” projects that need a site visit first.
  • Skip inquiries outside your service area with a “Service area” drop-down or radio field on the form.

Developer Hooks

The add-on exposes these hooks:

  • gravityextra_jobtread_data (filter): the values collected from the entry before anything is sent. Arguments: $data, $feed, $entry, $form. Keys include customer, contact, email, phone, address, job_name, job_description, message and the custom field arrays cf_contact, cf_customer, cf_job.
  • gravityextra_jobtread_account_input, _contact_input, _location_input, _job_input, _comment_input (filters): the input of each create step. Arguments: $input, $feed, $entry, $form, $ids (the records created so far).
  • gravityextra_jobtread_find_customer_query (filter): the lookup used by the reuse option. Arguments: $query, $organization_id, $name.
  • gravityextra_jobtread_sent (action): fires after a submission is fully sent. Arguments: $ids, $feed, $entry, $form.

The example below adds the page the visitor came from to the comment and logs the new job ID.

functions.php
PHP
// Add the source page to the JobTread comment
add_filter( 'gravityextra_jobtread_data', function( $data, $feed, $entry, $form ) {
    $source = rgar( $entry, 'source_url' );
    if ( $source !== '' ) {
        $data['message'] .= ' Submitted from: ' . $source;
    }
    return $data;
}, 10, 4 );

// Keep a record of the job created for each entry
add_action( 'gravityextra_jobtread_sent', function( $ids, $feed, $entry, $form ) {
    if ( ! empty( $ids['job'] ) ) {
        error_log( 'Entry ' . $entry['id'] . ' created JobTread job ' . $ids['job'] );
    }
}, 10, 4 );

Checking Delivery on the Entry Screen

Entries from a form with an active JobTread feed show a JobTread box in the sidebar with the status (Sent to JobTread, Not delivered or Not sent), the ID of every record that was created and a Send to JobTread again button. Each attempt is also recorded in the entry notes.

JobTread status box on a Gravity Forms entry showing Sent to JobTread with customer, contact, location, job and comment IDs
A successful send: all five JobTread records and their IDs.

Troubleshooting & FAQ

A submission did not reach JobTread. What happens?

The entry is saved as usual, the status changes to Not delivered, an entry note explains which record failed (for example “JobTread could not create the location”) and the backup email “JobTread inquiry not delivered — [form title]” is sent with the inquiry details. Fix the cause, open the entry and click Send to JobTread again.

JobTread status box showing Not delivered with the customer and contact already created and a Send to JobTread again button
After a failure the records already created are listed and kept.

Will Send to JobTread again create duplicates?

No. The ID of every record is saved on the entry as soon as JobTread creates it. Sending again skips those records and continues from the step that failed, using the existing customer and contact as parents. If everything was already created, the note reads “Already in JobTread … Nothing new was created.”

The Organization field is a text box instead of a drop-down.

The drop-down appears after a valid grant key has been saved. Click Test connection; if it fails, create a new grant key (unused keys expire after 3 months), paste it and save.

A new JobTread custom field does not appear in the feed.

Organizations and custom fields are cached for about 10 minutes. Wait a few minutes and reload the feed, or add a custom key and paste the custom field ID. If the list cannot be loaded at all, the feed says so and still accepts custom IDs.

The note says a customer or contact name is required.

Map the Name field (or Customer Name) in the feed and make it required on the form. Entries without any name are not sent; add the name to the entry and send it again. If nothing happens for some entries, also check the feed’s conditional logic and that the GravityExtra license is active.

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