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

Gravity Forms AI Form Builder Premium Add-on Setup Guide

Updated 7 min read Gravity Forms AI
On this page
  1. Video walkthrough
  2. Step 1: Install and Activate Your License
  3. Step 2: Choose the AI Service
  4. Step 3: Create a Form From a Description
  5. What the AI is allowed to create
  6. Step 4: Ask Your Entries
  7. Allowing AI questions for a form
  8. Who Can Do What
  9. Troubleshooting & FAQ
  10. “No API key is set for the AI service.”
  11. “The saved API key cannot be read any more.”
  12. The form does not match what I wanted.
  13. “You reached your hourly limit of AI requests.”
  14. What happens when I uninstall the add-on?

Video walkthrough

Gravity Forms AI Form Builder: Create a Form from One Sentence
Watch: create a Gravity Forms form from one sentence with AI Watch on YouTube

The Gravity Forms AI Form Builder Premium Add-on creates Gravity Forms forms from a plain-language description and answers questions about the entries of your forms. You describe the form, check a preview, change it with another sentence if needed, and create it; the form then opens in the Gravity Forms editor like any other form.

It works with OpenAI, Anthropic (Claude), Google Gemini or any OpenAI-compatible service, such as OpenRouter or a model you run yourself with Ollama. This guide covers installation, the AI service, creating and refining forms, Ask your entries with its per-form opt-in, privacy, limits and troubleshooting.

System Requirements & Prerequisites

  • WordPress: Version 6.5 or higher
  • PHP: Version 7.4 or higher
  • Gravity Forms: Version 2.9 or higher, any licence
  • GravityExtra license: The add-on installed, activated and licensed with an active GravityExtra license key

Step 1: Install and Activate Your License

  1. In WordPress go to Plugins → Add New → Upload Plugin, upload the add-on ZIP file and click Activate.
  2. Go to Forms → Settings → AI Form Builder, enter your key in the Gravity Extra License section and click Activate License.
  3. The page then shows the AI service and Limits sections, and Forms → AI Form Builder appears in the menu.

Step 2: Choose the AI Service

In Forms → Settings → AI Form Builder:

  • Service — OpenAI, Anthropic (Claude), Google Gemini or an OpenAI-compatible service. The choice is saved and the page reloads when you change it.
  • API key — the key of your account at that service. It is stored encrypted and never shown again; the field stays empty and a line under it says whether a key is saved. Type a new key to replace it, or tick Remove the saved key. If you already use the GravityExtra OpenAI, Claude or Gemini add-on, leave it empty: the key saved there is used.
  • Address of the service — only for an OpenAI-compatible service: the address before /chat/completions, for example https://openrouter.ai/api/v1 or http://localhost:11434/v1 for Ollama.
  • Model — leave it empty for the default (gpt-4.1-mini, claude-opus-5-5 or gemini-2.5-flash), or type any model your account can use.
  • Wait at most (seconds) — 60 by default. Designing a long form can take 10 to 30 seconds.

Under Limits: AI requests per user per hour (30), AI requests per day for the whole site (200; the description shows today’s count) and Entries read for a summary (2,000, at most 10,000). Requests are only made when someone presses a button on the AI Form Builder screen.

Step 3: Create a Form From a Description

Open Forms → AI Form Builder. On the Create a form tab, describe what the form is for, who fills it in and what you need to know, for example:

  • “Quote request for a house painting company: type of job, rooms, preferred start date, photos and contact details.”
  • “Two-page job application for a café: personal details, availability per weekday, experience, CV upload and privacy consent.”
  • “Event feedback survey: overall rating, favourite session, what to improve and whether they would come again.”

Click Generate a preview. The preview shows every field with its type, required mark, choices and help text, page breaks and sections, the submit button and the thank-you message. Nothing is created yet.

AI Form Builder preview of a painting quote request form with name, e-mail and phone side by side, job type choices, rooms, start date, photo upload and a message, next to the Create this form and Change something boxes
The preview of a generated form, with the boxes to create it or change it.
  • Change something — type what should change (“add a phone field next to the e-mail and make the message optional”) and click Update the preview. Your instructions are listed under Your instructions; if a change fails, the previous preview is kept.
  • Create this form — edit the title if you like and create the form. It opens in the Gravity Forms editor with a confirmation message and an admin notification with all fields. A title that is already used gets a number, such as “(2)”. The form is not on your site until you add it to a page.
  • Start over — throws the preview away. Previews are kept for 12 hours for the user who made them.

What the AI is allowed to create

The answer of the AI service is checked on your server before you see it. It must be one JSON object with only these keys, and every value must be plain text:

  • Field types: single line text, e-mail, phone, paragraph text, drop down, multi select, radio buttons, checkboxes, number, date, time, name, address, website, consent, section, page break and file upload.
  • Per field: label, required, description, placeholder, choices (2 to 30, for choice fields), half or full width, lowest and highest number (number fields) and maximum length (text fields). At most 40 fields.
  • No HTML, scripts, links with javascript:, HTML entities or merge tags such as {admin_email} anywhere.

If the answer breaks a rule, the add-on asks the service once more and lists the problems. If the second answer is wrong too, nothing is used and you see “The answer of the AI service did not match the form format, so nothing was used” with the reasons under What was wrong; your description stays in the box so you can try again. Fields for passwords, card or bank details and ID numbers are never added; the preview says when one was left out.

Step 4: Ask Your Entries

On the Ask your entries tab (or with Ask AI in the toolbar of a form), choose a form and a period: the last 7, 30 or 90 days, the last 12 months or all time. The Summary card is computed on your site and nothing on it is sent anywhere: the number of entries and a chart per day or month, the count and share of each answer of choice fields, the average, median, lowest, highest and total of number fields, and how many entries answered the other fields.

Ask your entries for a painting quotes form: summary with 6 entries, a chart, bars per job type and room, budget statistics, and an AI answer to the question which type of job is asked for most
The summary computed on the site and an AI answer based on it.

Allowing AI questions for a form

AI questions are off for every form until someone who can edit the form switches them on. Open the form, go to Settings → AI Form Builder and read the privacy notice; it names the service and model in use. Then:

  • Allow AI questions about the entries of this form — each question is sent with the summary only. The tab then shows who switched it on and when.
  • Also share single entries — adds the choice, number and written answers of up to 200 recent entries, with e-mail addresses and phone numbers masked as [email] and [phone]. This lets the AI quote and summarise what people wrote.
  • Never share these fields — ticked fields are only counted as answered or not, in the summary and in single entries.
Form Settings tab AI Form Builder with the privacy notice, the box to allow AI questions, the box to share single entries and the list of fields that are never shared
The per-form opt-in with its privacy notice.

Names, e-mail addresses, phone numbers, postal addresses, websites, uploads, signatures, hidden and admin-only fields, IP addresses and payment fields are never sent. Written answers whose label suggests personal data, such as “Company website” or “Contact person”, are treated like personal fields. The model is told to treat entry text as data and never to follow instructions written in it.

Type a question and click Ask. The answer appears under Answers with the service, the number of entries it is based on and the period. Entry numbers such as #123 link to the entry when that entry was shared. The last five answers are kept for an hour for you; Clear answers removes them.

Who Can Do What

  • Create a form: users with the Gravity Forms capability gravityforms_create_form.
  • Ask your entries: users with gravityforms_view_entries.
  • Allow AI questions for a form: users with gravityforms_edit_forms.
  • AI service, keys and limits: users with gravityforms_edit_settings.

Administrators have all of them. Every action checks the capability, a security token and the licence.

Troubleshooting & FAQ

“No API key is set for the AI service.”

Add a key in Forms → Settings → AI Form Builder, or install and set up the GravityExtra add-on of that service. For an OpenAI-compatible service, the address and the model are needed.

“The saved API key cannot be read any more.”

The security keys of the site (the salts in wp-config.php) changed, so the encrypted key cannot be decrypted. Enter the key again. To keep keys across salt changes, define GFX_AIF_ENCRYPTION_KEY in wp-config.php before saving the key.

The form does not match what I wanted.

Be concrete: say who fills in the form, which choices you need and what is required. Then use Change something for the details. You can always finish the form in the Gravity Forms editor.

“You reached your hourly limit of AI requests.”

Wait for the time shown or raise the limit in the settings. The site-wide daily limit works the same way.

What happens when I uninstall the add-on?

Forms → Settings → Uninstall removes the settings, the encrypted keys, the usage counters and the per-form opt-ins. Forms created with the add-on and their entries stay.

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