Skip to content
Gravity Forms logo

Connectors / Operations · HTTP Connector

Gravity Forms integration and API

Create a form and create an entry in Gravity Forms, and start a workflow when Gravity Forms sends “Form submitted”.

What can you do with Gravity Forms on Tray.ai?

Gravity Forms is a WordPress plugin for building web forms and storing the entries people submit through them. Tray.ai connects to Gravity Forms through the HTTP Connector, so your workflows can call the Gravity Forms API alongside the rest of your stack.

  • When Gravity Forms sends “Form submitted”, create a lead in your CRM.
  • Search entries each day and send new requests to your help desk.
  • Update an entry once your team has followed up, so the status stays current.
Connects through
HTTP Connector
Authentication
Basic authentication
Base URL
https://{your-site}/wp-json/gf/v2

Set it up

Connect Gravity Forms to Tray.ai

Each step uses Gravity Forms's own API details, from its documentation.

Save Gravity Forms's username and password

Save the credentials Gravity Forms gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://{your-site}/wp-json/gf/v2 as the base URL. Or paste a cURL example from Gravity Forms's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “Get a form”

It's one of 11 documented actions, under Forms. The response comes back as data the next step can map into your other apps.

Start workflows from Gravity Forms events

Give Gravity Forms the URL of a Tray.ai webhook trigger. “Form submitted” can then start a workflow.

Workflows to build with Gravity Forms

Connect Gravity Forms with Salesforce and Zendesk

Each one uses actions and events from Gravity Forms's own API documentation.

Send Gravity Forms entries to Salesforce as leads

When

Form submitted

Then

  1. Get an entry
  2. Create a lead in Salesforce with the form answers

With Salesforce

Create Zendesk tickets from Gravity Forms support requests

When

Form submitted

Then

  1. Create a ticket in Zendesk with the request details
  2. Update an entry with the ticket number

With Zendesk

Apps you can build on Gravity Forms data

Internal tools your team can build with an AI assistant, each one using Gravity Forms calls from its API documentation.

Form entry review queue

Lists new entries for a form and lets staff update each entry's details.

Submission inbox

Shows every form submission as it arrives so the right team can pick it up.

Give your AI agents Gravity Forms tools

Build an MCP server on Gravity Forms in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Create a form
  • Create an entry
  • Get a form
  • Update a form
  • Delete a form
  • Submit a form
  • Validate a form
  • Search entries

What the Gravity Forms API covers

2 resources and 11 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Forms

  • Create a form
  • Get a form
  • Update a form
  • Delete a form
  • Submit a form
  • Validate a form

Entries

  • Create an entry
  • Search entries
  • Get an entry
  • Update an entry
  • Delete an entry

Events Gravity Forms can send to a Tray.ai webhook trigger

  • Form submitted

Checked against Gravity Forms's own documentation on 2026-10-22

docs.gravityforms.com/rest-api-v2

Frequently asked questions

What can a Tray.ai workflow do in Gravity Forms?

The Gravity Forms API documents 11 actions across 2 resources (Forms, Entries). For example: Create a form; Create an entry. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Gravity Forms?

The Gravity Forms API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Gravity Forms events can start a Tray.ai workflow?

Gravity Forms sends one event to a webhook URL, for example: Form submitted. A Tray.ai webhook trigger receives them and starts a workflow.

See Gravity Forms working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.