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

Gravity Forms Clio Integration Setup & Usage Guide

Updated 10 min read Gravity Forms Integrations A–Z
On this page
  1. Clio Manage vs Clio Grow: what each feed does
  2. Connecting Clio Manage (OAuth 2.0)
  3. Connecting Clio Grow (Lead Inbox token)
  4. Phone numbers (E.164)
  5. Creating a feed
  6. Clio Manage contact
  7. Clio Manage matter (optional)
  8. Clio Manage note (optional)
  9. Clio Grow inbox lead
  10. Conditions and WP E-Signature
  11. Entry notes: what was sent
  12. Developer filters
  13. Upgrading from version 1.0.x
  14. Frequently asked questions

The Gravity Forms Clio Integration Add-on sends your form entries to Clio. A Clio Manage feed creates a Person or Company contact (name, email, phone, address and custom fields), can update the existing contact with the same email address instead of creating a duplicate, and can also create a matter for the contact and add a note with the entry summary. A Clio Grow feed creates an inbox lead. This guide covers version 1.1.0.

System requirements

  • WordPress: 5.8 or higher
  • Gravity Forms: 2.5 or higher (tested with 2.9.8 and 3.1.2)
  • PHP: 7.4 or higher (tested with 7.4 and 8.3)
  • Clio Manage feeds: a Clio Manage account and a developer application of that account (for the OAuth 2.0 connection)
  • Clio Grow feeds: a Clio Grow account and its Lead Inbox token
  • Add-on license: an active GravityExtra Clio license key

Clio Manage vs Clio Grow: what each feed does

Each feed sends to one product. To send the same form to both, add two feeds (one Clio Manage feed and one Clio Grow feed).

Clio Manage feed Clio Grow feed
Creates A contact (Person or Company); optionally a matter for that contact and a note on the matter or contact An inbox lead
Connection OAuth 2.0 with your Clio developer application (Client ID + Client Secret, then “Connect to Clio”) Lead Inbox token pasted in the settings (no OAuth)
Fields Person: first name, last name; Company: company name. Email (Work, Home or Other), phone (Work, Home, Mobile, Fax, Pager, Skype or Other), address (Work, Home, Billing or Other: street, city, state/province, ZIP/postal code, country), contact custom fields First name, last name, email, phone, message, referring URL, lead source
Existing records Optional: update the contact with exactly the same email address instead of creating a new one Always a new inbox lead
Matter Optional: description (text and merge tags), practice area, responsible attorney, status (Pending, Open or Closed), open date = submission date Not available
Note Optional: subject and text with merge tags ({all_fields} = the whole entry), on the matter or on the contact Not available (put extra answers in the message field)
Phone format E.164 (+15551234567) or as entered E.164 or as entered
Regions United States, Canada, Europe, Australia United States, Canada, Europe, Australia
Conditional logic Yes Yes

Connecting Clio Manage (OAuth 2.0)

  1. In Clio Manage, create a developer application for your account (the Clio developer documentation explains how). Give it the permissions for the data your feeds use: contacts and custom fields for every Clio Manage feed; matters, notes, practice areas and users (for the attorney list) if your feeds create matters or notes.
  2. In WordPress, go to Forms → Settings → Clio Add-On and copy the Redirect URI shown there (it ends with admin-post.php?action=clio_oauth_callback) into your Clio application.
  3. Paste the application’s App Key into Client ID (App Key) and its App Secret into Client Secret (App Secret).
  4. Choose the Clio Region of your account: United States (app.clio.com), Canada (ca.app.clio.com), Europe (eu.app.clio.com) or Australia (au.app.clio.com). The same region is used for Clio Grow (grow.clio.com, ca.grow.clio.com, eu.grow.clio.com, au.grow.clio.com).
  5. Click Save Settings, then Connect to Clio. Log in to Clio and allow access. You come back to the settings page with the message “Clio Manage is connected.” and the status Connected to Clio Manage as <your Clio user> (region <region>).
Clio Manage settings of the Gravity Forms Clio add-on with the connection status
Forms → Settings → Clio Add-On: Clio Manage connection.

Security and tokens

  • Only administrators (users who can manage options or edit Gravity Forms settings) can connect or disconnect Clio. Each connection attempt carries a one-time security value that Clio sends back, so a link from somewhere else cannot connect your site to a different Clio account.
  • Your Clio password is never stored in WordPress. The Client Secret, the Lead Inbox token and the Clio access and refresh tokens are stored in your WordPress database; the secret and the Lead Inbox token are shown as password fields, and the access and refresh tokens are not shown on the settings page.
  • Clio access tokens last 30 days. The add-on renews the access token automatically with the refresh token, before it expires and again if Clio rejects it.
  • If Clio refuses to renew it (for example after access was removed in Clio), every admin page shows “Clio Manage: reconnect needed.” and Clio Manage feeds add an error note to each entry until you click Reconnect to Clio.
  • Disconnect asks for confirmation, revokes the access token at Clio and deletes the tokens from WordPress.

Connecting Clio Grow (Lead Inbox token)

Clio Grow feeds do not use OAuth. Copy the Lead Inbox token from your Clio Grow account into Lead capture token and click Save Settings. Choose the Clio Region above if your account is not in the United States.

Clio Grow lead capture token setting
The Clio Grow Lead Inbox token.

Phone numbers (E.164)

Default country calling code (default 1 = USA/Canada) is used to convert phone numbers that were typed without a + prefix to the E.164 format, for example (555) 123-4567 becomes +15551234567. Numbers that start with + or 00 keep their own country code; for other country codes one leading 0 is removed (with 44, 07700 900123 becomes +447700900123). A number that cannot be converted (fewer than 8 or more than 15 digits) is sent as entered and the entry gets a warning note. Each feed chooses E.164 or As entered in the form.

Creating a feed

  1. Open your form and go to Settings → Clio Add-On.
  2. Click Add New and give the feed a name.
  3. In Send to, choose Clio Manage: contact (+ optional matter and note) or Clio Grow: inbox lead. The feed list shows what each feed sends (for example “Clio Manage contact + matter + note”).

Clio Manage contact

Setting What it does
Contact Type Person or Company.
Map Fields (Person) First Name, Last Name and Email are required; Phone and Address are optional.
Map Fields (Company) Company Name and Email are required; Phone and Address are optional. First and last name are only used as the company name when the Company Name field is empty.
Address Choose a Gravity Forms Address field (the whole field) to send street (address lines 1 and 2), city, state/province, ZIP/postal code and country. Another field type is sent as the street.
Email Type / Phone Type / Address Type The Clio label of the email (Work, Home, Other), phone (Work, Home, Mobile, Fax, Pager, Skype, Other) and address (Work, Home, Billing, Other).
Phone Format E.164 (default) or as entered.
Existing contacts Always create a new contact (default, same as version 1.0.x) or Update the existing contact with the same email address. Update searches Clio and only uses a contact whose email address is exactly the submitted one (a similar email is never used). It adds the phone number and the address when the contact does not have them yet and updates the mapped custom fields; the name in Clio is kept. If several contacts have the email address, the oldest one is updated. If none exists, a new contact is created.
Map Custom Fields Your Clio contact custom fields, listed by name and type. Values are converted to the format Clio expects: picklist = the option with the same label, date = YYYY-MM-DD, numeric = whole number, checkbox = yes/no, currency = amount, text as entered. A value that does not fit (for example no picklist option with that label) is not sent and the entry gets a warning note; the contact is still created.

Custom fields, practice areas and attorneys are read from Clio and kept for 12 hours. Click Refresh lists from Clio on the feed page after you change them in Clio.

Clio Manage contact settings of a Gravity Forms feed
Clio Manage contact: field mapping, types, existing contacts and custom fields.

Clio Manage matter (optional)

Tick Create a matter for the contact to create a matter whose client is the new or updated contact.

  • Matter Description (required by Clio): text and merge tags, for example {Case type:5} - {Name (Last):1.6}. Saving the feed without a description shows “Clio requires a matter description.”
  • Practice Area and Responsible Attorney: chosen from the practice areas and the enabled attorneys of your Clio account, or None.
  • Matter Status: Pending (default), Open or Closed.
  • Open Date: tick to set it to the submission date.
Clio Manage matter options of a Gravity Forms feed
Optional matter with practice area, responsible attorney, status and open date.

Clio Manage note (optional)

Tick Add a note with the entry summary. Choose where it goes (the matter, or the contact when no matter is created; or always the contact), the Note Subject (default “Web form: {form_title}”) and the Note Text (plain text, default {all_fields} = every answer of the entry). The note date is the submission date.

Clio Manage note options of a Gravity Forms feed
Optional note with the entry summary.

Clio Grow inbox lead

  • Map Fields: First Name, Last Name and Message are required; Email and Phone are optional.
  • Referring URL (optional): when it is not mapped or empty, the address of the page with the form is sent.
  • Lead Source: text and merge tags (default “Gravity Forms: {form_title}”).
  • Phone Format: E.164 (default for new feeds) or as entered. Feeds created with version 1.0.x keep sending the phone as entered until you change this setting.
Clio Grow inbox lead settings of a Gravity Forms feed
Clio Grow feed: field mapping, lead source and phone format.

Conditions and WP E-Signature

Tick Enable Condition to send the entry only when your rules match (Gravity Forms conditional logic). If the WP E-Signature add-on for Gravity Forms is active, the feed option WP E-Signature: Enabled sends the entry after the document is signed instead of at submission; the feed condition is checked then as well.

Entry notes: what was sent

Every feed adds a note to the entry with the Clio record ids, for example Clio Manage: contact 1003 created. Matter 1007 (01007-Client) created. Note 1008 added to the matter. or Clio Grow: inbox lead 512 created.

Gravity Forms entry note with the Clio contact, matter and note ids
The entry note lists what was created in Clio.
Note Meaning
Clio Manage: contact not created. HTTP 422: <message> Clio rejected the data; the message is Clio’s own (for example a missing name).
… Reconnect Clio Manage in Forms > Settings > Clio Add-On. Clio no longer accepts the saved access. Click Reconnect to Clio.
… Clio could not be reached (…) Network problem between your site and Clio; nothing was created.
Clio Manage: matter not created. HTTP … The contact was created, the matter was not (for example a practice area that was deleted in Clio: refresh the lists and save the feed).
Clio Manage: custom field “…” not sent (…) Warning: one value did not fit the Clio field; the rest was sent.
Clio Grow: inbox lead not created. HTTP 401 … Check the Lead Inbox token in the settings.
Clio Grow: inbox lead not created. HTTP 422: from_first can’t be blank A required lead field was empty.

The ids are also stored as entry meta: clio_contact_id_<feed id> and clio_matter_id_<feed id>.

Developer filters

Each filter receives the request body and $feed, $entry, $form and must return the body:

  • gf_clio_contact_payload: Clio Manage contact (create or update)
  • gf_clio_matter_payload: Clio Manage matter
  • gf_clio_note_payload: Clio Manage note
  • gf_clio_grow_payload: Clio Grow inbox lead
  • gf_clio_debug_log: return true to write short debug lines (HTTP status codes, endpoints and Clio ids, never form data) to the PHP error log; only works when WP_DEBUG is on.
add_filter( 'gf_clio_contact_payload', function ( $body, $feed, $entry, $form ) {
    $body['data']['title'] = rgar( $entry, '12' ); // Clio contact title from form field 12.
    return $body;
}, 10, 4 );

Upgrading from version 1.0.x

  • Your feeds, settings, license and Clio connection keep working; you do not need to reconnect. The saved tokens are moved out of the settings form into their own database option.
  • Clio Manage feeds send the same contact data as before (picklist and date custom field values are now converted to the format Clio expects). New options (phone, address, existing contacts, matter, note) are off until you set them.
  • Clio Grow feeds keep their mapping and send the phone as entered. They now also send the Lead Inbox token in the field named in Clio’s documentation and a lead source (“Gravity Forms: <form title>”).
  • The feed setting “Please Select Grow Platform” is now called Send to.
  • Errors now add a red error note with Clio’s message instead of a success note.

Frequently asked questions

Does it create matters?

Yes, from version 1.1.0, when you tick “Create a matter for the contact” in a Clio Manage feed. Matter custom fields are not mapped.

Will it create duplicate contacts?

With the default “Always create a new contact” every entry creates a contact, as in 1.0.x. Choose “Update the existing contact with the same email address” to update the contact whose email is exactly the submitted address.

Do I need to re-authorize Clio every 30 days?

No. The add-on renews the access token with the refresh token. You only reconnect if Clio refuses the renewal, and the add-on tells you on every admin page.

Can one form send to Clio Manage and Clio Grow?

Yes, with two feeds on the same form.

Which regions are supported?

United States, Canada, Europe and Australia, for both Clio Manage and Clio Grow.

What is not included?

Tasks, calendar entries, documents and file uploads, time entries and billing, matter custom fields, and Clio Grow custom fields are not sent by this add-on.

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