Gravity Connect OpenAI

Enhance your forms with the magic of AI. Generate text, images, and audio using Gravity Forms fields and data.

“OpenAI” is a registered trademark of OpenAI, LLC. Gravity Wiz and Gravity Connect are not affiliated with, sponsored by, or endorsed by OpenAI, LLC. Using OpenAI with Gravity Connect requires an OpenAI Platform account.

What does the OpenAI Connection do?

The question should be: what can it not do?

This plugin seamlessly integrates Gravity Forms with OpenAI – the leading provider of cutting-edge AI language models. It allows you to send prompts constructed from your form data directly to OpenAI and capture its responses alongside the submission or interactively as the form is being filled.

This includes the ability to generate AI-powered text, images, and even audio!

With OpenAI, you can create:

Features

  • Supports the latest and greatest OpenAI models.
    Access models like GPT-5 and DALL·E 3 directly from your forms.
  • AI text generation and analysis.
    Craft AI text using fields and values. Use AI to analyze submitted entries, edit, rewrite, or automate content moderation.
  • Conjure up enchanting images.
    Bring images to life on the fly using DALL·E.
  • Summon voices for your texts, or texts for your voices.
    Convert speech to text transcripts and generate audio from text within your forms.
  • Security first.
    We communicate securely with OpenAI’s API to ensure only you have access to your data.
  • Money-saving, value packed.
    We don’t set restrictions or charge based on data, syncs, or prompting via Gravity Forms. Your only costs come from OpenAI’s API.
  • Automatic updates.
    Get updates and the latest features right in your dashboard.
  • Legendary support.
    We’re here to help! And we mean it.

Documentation


Terminology

Before we get started, let’s clarify a few important words we’ll use throughout this documentation.

  • Model: AI models are computational algorithms designed to recognize patterns, make decisions, and predict outcomes based on data.
    • Example: GPT-5, DALL·E 3, Whisper.
  • Endpoint: Specific URL within the OpenAI API where you can send requests to access different AI-powered services, like generating text, creating images, or processing audio. Each endpoint is designed for a particular function, allowing you to interact with OpenAI’s models in various ways.
  • Token: Piece of text that an AI processes, ranging from a single character to a whole word. Common words like “apple” are usually one token, while punctuation marks and spaces are also counted as tokens. Some words, like “fantastic,” may be split into multiple tokens depending on the model. Learn more.
  • Threads: Conversation session between an Assistant and a user. Threads store messages and automatically handle truncation to fit content into a model’s context.
  • GCOAI or OpenAI Connection: Both reference this product.

How do I enable this functionality?

After installing and activating the OpenAI Connection, there are two primary methods for integrating it with your form.

  1. OpenAI fields: Use this method if you would like to use AI-generated content within the form itself prior to submission.
  2. OpenAI feeds: Use this method if you would like to generate content or process submitted data with AI after submission.

With either method, the first step will be to connect your OpenAI account to the OpenAI Connection.

Log in or create a new account on OpenAI.
Click on Create new secret key.
Create a new secret key with your preferred settings. We recommend creating a project and associated project secret key for each site.
Go to the OpenAI Connection’s plugin settings and paste your key into the Secret Key setting.

Get started with OpenAI fields

Select an OpenAI field under Advanced Fields.
Customize your prompt.

Learn more about the OpenAI Connection’s fields.

Get started with OpenAI feeds

Navigate to your desired form and click the “OpenAI” item under the “Settings” menu.
Click the “Add New” button to add a new OpenAI feed.
Choose which OpenAI endpoint to use.
Customize your prompt.

Learn more about the OpenAI Connection’s feeds.


Feed Settings

When configuring the OpenAI Connection’s feeds, you will be presented with the following settings.