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

Gravity Forms FreeScout Premium Add-on Setup Guide

Updated 7 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Get your FreeScout API key
  4. The settings page
  5. The address, the key and the test button
  6. Add a FreeScout feed to a form
  7. The subject and the customer
  8. The message
  9. Mailbox, type and status
  10. A condition, if you want one
  11. What a visitor sees
  12. The note on each entry
  13. Privacy and security
  14. In short

Video walkthrough

Gravity Forms FreeScout Add-On Setup Guide: Helpdesk Conversations from Forms (WordPress Side)
Video setup guide: Gravity Forms FreeScout Watch on YouTube

The Gravity Forms FreeScout Premium Add-on turns a Gravity Forms submission into a FreeScout helpdesk conversation. When someone sends your form, the add-on creates a conversation in the mailbox you choose, attaches it to the customer who wrote in, and writes their message as the opening thread. Your support team then replies from FreeScout as they would to any other ticket, with the whole request already in front of them.

FreeScout is a free, self-hosted helpdesk, so your conversations stay on your own server. This add-on talks to your FreeScout over its API: you give it your FreeScout address and an API key, and it maps your form fields to the subject, the message, the customer email and name, the mailbox, the conversation type and the status. Nothing is sent anywhere except the FreeScout address you set.

What you need

  • WordPress with Gravity Forms 2.9 or newer.
  • PHP 7.4 or newer.
  • An active license key for this add-on.
  • A self-hosted FreeScout with the API & Webhooks module installed, and an API key.

If Gravity Forms is missing or older than 2.9, the add-on shows a notice in the WordPress admin and does nothing else, so a form is never left half connected.

Get your FreeScout API key

The FreeScout API is provided by the free API & Webhooks module. In FreeScout, open Manage → Modules, install and activate API & Webhooks, then open Manage → API and create a new key. Give it a name you will recognise, such as the name of your website, and copy the key. Treat it like a password: anyone who has it can read and write conversations in your helpdesk.

You also need the numeric id of the mailbox new conversations should land in. Open the mailbox in FreeScout and read the number in the address, for example /mailbox/2/ means the mailbox id is 2. Most helpdesks have one mailbox, so this is usually just a single number you set once.

The settings page

Install and activate the add-on like any plugin, after Gravity Forms. Then open Forms → Settings → FreeScout. This one page holds the license key and your FreeScout connection: the address, the API key and a default mailbox.

The FreeScout settings page in Gravity Forms: license key, FreeScout address, API key, default mailbox id and a Test connection button
The settings page: your FreeScout address, API key, default mailbox and the Test connection button.

The address, the key and the test button

Enter your FreeScout address, for example https://help.yourcompany.com. Use the root of the helpdesk, not a path such as /api. Only an https address is accepted, and an address that points to a private or local network is refused, so a key is never sent somewhere it should not go. Paste the API key next. The key is stored encrypted at rest, so the plain value is never left sitting in the database. After it is saved it is shown masked, and you can replace it at any time.

Set a default mailbox id, the mailbox that new conversations go to when a feed does not name its own. Then press Test connection. The add-on asks FreeScout for your mailboxes and shows them, so you can confirm the address and key work and that the mailbox id is right, before a visitor ever submits the form. If a key is wrong or the address cannot be reached, a clear message tells you, and your API key never appears in that message.

If you prefer not to keep the key in the database at all, define the GFFS_API_KEY constant in wp-config.php. When it is set, the add-on uses it instead of the stored key and the settings page says so.

Add a FreeScout feed to a form

The add-on works through feeds, so you decide which forms create conversations and how each one is mapped. Open a form, go to Settings → FreeScout and add a feed.

The FreeScout feed settings in Gravity Forms: name, subject, customer email, first and last name, message, entry link, mailbox id, type and status
A feed maps your fields to the subject, customer, message, mailbox, type and status.

The subject and the customer

Give the feed a name for your own reference, then write the subject. Merge tags work, so a subject such as {Subject:3} uses what the visitor typed, and you can mix in fixed text and other fields. The subject becomes the title of the conversation in FreeScout, on one line up to 255 characters.

The customer email is the address the conversation is attached to. Use the merge tag of your form’s email field, for example {Email:2}. This matters: FreeScout groups conversations by customer, so getting the email right keeps every request from the same person together. If the email is missing or not valid, nothing is created and a note on the entry explains why. The optional first name and last name fields let FreeScout show a proper name instead of just an address; map them to your name field, for example {Name (First):1.3} and {Name (Last):1.6}.

The message

The message is the first thread of the conversation, written as if the customer sent it. The default value is {all_fields}, which writes a tidy list of every answer on the form, so your team sees the whole submission at once. You can write your own text, mix in merge tags, and place {all_fields} where you like. Text a visitor typed is always sent as plain text, never run as a merge tag, so a form answer can never pull in another value by accident. Leave the entry link option on to add the form name and a link back to the Gravity Forms entry at the end of the message.

Mailbox, type and status

The mailbox id on the feed sends this form’s conversations to a particular mailbox; leave it empty to use the default from the settings. The type marks the conversation as email, phone or chat, which is handy when a form represents a call-back request or a live-chat hand-off. The status sets whether the new conversation is active, pending or closed. An Active conversation shows up in the normal queue for your team to pick up.

Conversations are created as imported, which means FreeScout does not send an auto-reply or notification email to the customer. That is the right behaviour for a web form: the visitor already saw your confirmation, so they are not emailed a second time.

A condition, if you want one

Each feed can carry a condition, so a conversation is created only when the submission matches. For example, create a conversation only when a “How can we help?” field is set to Support, and let sales enquiries go elsewhere. A form can have more than one feed, each with its own mapping and mailbox, so one form can serve several teams.

What a visitor sees

Nothing changes for the person filling in the form. They complete it and see your normal confirmation; the conversation is created quietly behind the scenes. There is no FreeScout branding on the form and no extra step for the visitor.

A front-end Gravity Form for contacting support with name, email, subject, priority and a message field
An ordinary contact form; the conversation is created behind the scenes on submit.

The note on each entry

After each submission the add-on leaves a note on the Gravity Forms entry. When the conversation is created, the note gives its number and a link straight to it in FreeScout, so you can open the ticket from the entry. The link is also kept with the entry, ready to show in a column or an export.

A Gravity Forms entry screen with the field values and a note confirming the FreeScout conversation was created with its number and link
The entry keeps a note with the conversation number and a link into FreeScout.

If a call cannot be made, the entry is still saved and the note explains what went wrong: a missing mailbox, an email that was not valid, or a message from FreeScout such as an unknown mailbox or a key that was refused. A failed call never blocks the submission, so you never lose a visitor’s message because the helpdesk was briefly unavailable, and your API key never appears in any note.

Privacy and security

The add-on only ever contacts the FreeScout address you set. Your API key travels in a request header, never in a web address, and it is encrypted before it is stored, never shown again, never written to a note and never written to a log. The connection is made over https with certificate checking on, and a redirect to another host is never followed, so a key cannot be led away to a different server. Conversation data is sent to your own FreeScout and nowhere else.

In short

Point the add-on at your FreeScout, add an API key and a default mailbox, and map a feed’s subject, customer email and message. From then on, every matching submission becomes a helpdesk conversation your team can answer, with the whole request in front of them and a link back to the entry, while your data stays on your own server.

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