🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 15, 2026

How to Send Gravity Forms Entries to Any Webhook or REST API

GravityExtra
How to Send Gravity Forms Entries to Any Webhook or REST API

A form submission is rarely the end of the story. The lead belongs in the CRM, the support request in the help desk, the order in the warehouse system and a short alert in the team chat. When every one of those tools has its own API, copying entries by hand or paying an automation service per task gets slow and expensive quickly.

This guide shows how to send Gravity Forms entries to any webhook or REST API, how to build bodies and headers the receiving service accepts, how to handle authentication safely, and how the Gravity Forms Webhook Add-On saves values from the response, accepts callbacks, retries failed requests and even fills in requests from an OpenAPI document.

Webhooks and REST APIs in Plain Words

A webhook is an address that waits for data: you send it a request and the service reacts, for example by creating a record or posting a message. A REST API is a set of such addresses with rules: which method to use (GET to read, POST to create, PUT or PATCH to change, DELETE to remove), which headers to send, how the body must look and how you prove who you are. A good form integration has to speak both.

Why Connect Gravity Forms to Your Other Tools

  • Speed: the record exists in the other tool seconds after the visitor clicks Submit.
  • Accuracy: no retyping, no lost emails, no forgotten follow-ups.
  • One source: the form collects the data once and every tool gets its own copy in its own format.
  • Closing the loop: the ID or status the other tool returns comes back into the entry, ready for notifications and reports.

Your Options

1. Email notifications and copy-paste

Fine for a handful of entries a week. It does not scale, and nothing tells you when an entry was never copied.

2. Automation services

Third-party automation platforms connect almost anything. Each submission travels through another company, you usually pay per task, and complex bodies, custom headers or reading values back into the entry take extra steps.

3. Custom code

A developer can call any API from a Gravity Forms hook. Building JSON safely from user input, storing keys securely, retrying when the service is down, logging results and sending a request again later all take time to write and maintain, and every change needs a developer.

4. A webhook add-on with a request builder

The middle way: the flexibility of custom code, configured in the Gravity Forms settings, with the data going straight from your site to the service.

What the Webhook Add-On Does

  • Any method and URL: GET, POST, PUT, PATCH and DELETE, merge tags in the URL.
  • Bodies the service accepts: all fields as JSON, selected fields as JSON (with nested keys) or form data, or your own JSON, XML or text body with merge-tag values escaped automatically.
  • Headers and authentication: custom headers and saved profiles for Bearer tokens, Basic authentication and API keys, with write-only secrets.
  • Response values: save an ID or status from the JSON response into entry fields, in time for notifications.
  • Callbacks: a signed callback URL per entry for services that answer later.
  • Reliability: automatic retries for timeouts, 429 and 5xx answers, an email with the data after the final failure, and Send again on each entry.
  • OpenAPI import: pick an operation from the API document and the method, URL and example body are filled in.
  • Conditions: send only the entries that match your rules.

How to Set It Up

Requirements: WordPress 6.5+, Gravity Forms 2.9+, PHP 7.4+ and the add-on installed with an active GravityExtra license.

Step 1: Save the service’s key once

Go to Forms → Settings → Webhook Add-On, choose the authentication type of the service, give the profile a name and paste the token or key. It is stored once and never shown again.

Authentication profile in the add-on settings: type Bearer token, profile name CRM API and a saved secret that is not shown
A saved authentication profile.

Step 2: Describe the request

Open your form, go to Settings → Webhook Add-On and add a feed. Choose the method, paste the URL, pick the profile and add any header the service asks for.

Request section of a feed: POST to an API URL with the CRM API Bearer token profile and an X-Source header with a merge tag
Method, URL, authentication and headers.

Step 3: Build the body

Send all fields, pick the fields and their keys, or write the exact JSON the API documents. Use the merge tag menu to insert answers.

Body section with a custom JSON body built from merge tags, including the callback URL merge tag
A custom JSON body with merge tags.

Step 4: Bring the answer back

Map data.id or any other value from the response to a field. If the service reports back later, enable callbacks and map those values too.

Response section: data.id from the response saved to the CRM ID field, response in the entry note, callback values saved to the Status field
Response and callback values saved to fields.

Step 5: Submit and check

Submit the form once. The entry notes show each request with its status, and the Webhooks box offers Send again.

Entry notes: request sent with status 201 and the response, a second webhook sent, and the callback received
Every request and callback is noted on the entry.

The setup guide covers every option, the limits and troubleshooting.

What’s New in 1.2.0: Check the Answer Before the Entry Is Saved

Until now a webhook ran after the entry was saved, so the service could only be told about a submission, not asked about it. Version 1.2.0 adds an option per feed that sends the request while the form is checked and waits for the answer. When the service says no, the visitor sees its message and nothing is saved. When it says yes, the entry is saved as usual.

Typical uses: a member number or customer ID that must exist, a voucher that must still be valid, a booking slot that must still be free, or an address your system has to accept.

How to switch it on

  1. Open the feed and go to Check Before Saving.
  2. Tick Check the response before the entry is saved and set how long to wait (5 seconds by default, 15 at most).
  3. Say what “valid” means: the status codes (2xx by default) and, if you like, a JSON value such as valid equal to true.
  4. Pick the JSON path of the error text, for example message, and the field that shows it.
  5. Choose what happens when the service cannot be reached: refuse with a message, or let the entry through with a note.
A booking form refused before saving: the message from the member service is shown under the Member number field
The answer of the service, shown under the field.

The option is off for every feed until you tick it, so existing feeds keep sending after the entry is saved, as before. A checked feed does not send a second time after saving unless you tick Also send after save. Each visitor IP address is limited to 30 checks in 10 minutes. The setup guide has every setting and the limits, and the Webhook Add-On page has the plans.

Four Common Scenarios

Leads into a CRM, with the record ID back

A quote form posts a contact to the CRM API with a Bearer token. The CRM answers with the new contact ID, which is saved in a hidden field and used in the team notification as a direct link to the record.

Support requests into a help desk

A support form creates a ticket with an API key in a header. Priority comes from a drop-down, the description from a paragraph field, and quotes or line breaks in the message never break the JSON.

Team alerts in chat

A second feed on the same form sends a short message to a chat webhook with only the name and the company, so the team sees new enquiries the moment they arrive.

Applications scored by an outside service

An application form sends the answers to a scoring service together with {api_callback_url}. Minutes later the service posts the result back, the status lands in the entry, and your workflow continues from there.

Good Practice for Form Webhooks

  • Use one profile per service and a key with only the rights the form needs.
  • Test with a request bin first, then switch the URL to the real API.
  • Keep the response in the note while you set up, then turn it off if the answers are large.
  • Leave retries on so short outages of the other service never lose an entry.
  • Keep the failure email pointed at a shared inbox, not at one person.

Comparison: Ways to Send Entries to an API

Webhook Add-On Automation service Custom code Copy and paste
Any method, headers, JSON / XML / form Yes Usually What you build No
Saved authentication, secrets hidden Yes Yes What you build No
Response values into the entry Yes Extra steps What you build No
Retries and failure email Yes Depends What you build No
Data goes straight to the service Yes No Yes Email copies
Cost One yearly licence per site Per task, monthly Developer time Staff time

Connect Gravity Forms to Any API

Methods, headers, bodies, saved keys, response values, callbacks and retries, all in the Gravity Forms settings.

Frequently Asked Questions

Does it work with automation platforms too?

Yes. Their catch-hook addresses are ordinary webhooks: paste the URL and send all fields as JSON.

Are my API keys safe?

They are stored in your WordPress settings, never shown again after saving and never written to notes, logs or emails. Use keys with only the rights the form needs.

What if the service is down?

Timeouts, 429 and 5xx answers are retried in the background up to three times. After the last attempt the data is emailed to you, and Send again on the entry sends it when the service is back.

Can I send the same entry to several APIs?

Yes. Add one feed per request; each has its own settings and condition.

Can I use the API’s answer in my notification?

Yes. Save the value to a field with response mapping and use that field’s merge tag in the notification.

Can the API refuse a submission?

Yes, from version 1.2.0. Tick “Check the response before the entry is saved” in the feed: the request runs before the entry is saved, and when the answer is not valid the visitor sees the message from your API (as plain text) on the field you chose, and nothing is saved.

I used the add-on before version 1.1. Do I need to set my feeds up again?

No. Existing feeds keep their settings and send to their URL after the update and the license activation. Open and save a feed to use the new options.

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