Gravity Forms
App · 16 actions
Manage Gravity Forms forms and entries on your WordPress site, validate and submit form inputs, read results, and send entry notifications.
Actions
| Action | What it does |
|---|---|
| Create entry | Create entry. |
| Create form | Create form. |
| Delete entry | Delete entry. |
| Delete form | Delete form. |
| Get entry | Get entry. |
| Get form | Get form. |
| Get form field filters | Get form field filters. |
| Get form results | Get form results. |
| List entries | List entries. |
| List form entries | List form entries. |
| List forms | List forms. |
| Send entry notifications | Send entry notifications. |
| Submit form | Submit form. |
| Update entry | Update entry. |
| Update form | Update form. |
| Validate submission | Validate submission. |
Create entry
Create entry.
Inputs
- Form
form_idtextRequired - Select a form or use its ID.
- Field values
field_valuesobjectRequired - Fill in the form fields. Values use Gravity Forms field IDs.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"1": "QA value",
"form_id": "1",
"id": "1"
}
}Create form
Create form.
Inputs
- Title
titletextRequired - The title.
- Fields
fieldslistRequired - Gravity Forms field definitions. Each needs an id, type and label.
- Description
descriptiontext - The description.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"fields": [
{
"id": 1,
"label": "QA value",
"type": "text"
}
],
"id": 1,
"title": "QA form"
}
}Delete entry
Delete entry.
Inputs
- Entry id
entry_idtextRequired - An entry ID returned by a previous step.
- Force
forcenumber - 0 moves to trash; 1 permanently deletes. Defaults to trash.One of:
0,1.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"id": "qa-resource"
}
}
}Delete form
Delete form.
Inputs
- Form
form_idtextRequired - Select a form or use its ID.
- Force
forcenumber - 0 moves to trash; 1 permanently deletes. Defaults to trash.One of:
0,1.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"id": "qa-resource"
}
}
}Get entry
Get entry.
Inputs
- Entry id
entry_idtextRequired - An entry ID returned by a previous step.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"1": "QA value",
"form_id": "1",
"id": "1"
}
}Get form
Get form.
Inputs
- Form
form_idtextRequired - Select a form or use its ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"fields": [
{
"id": 1,
"label": "QA value",
"type": "text"
}
],
"id": 1,
"title": "QA form"
}
}Get form field filters
Get form field filters.
Inputs
- Form
form_idtextRequired - Select a form or use its ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"id": "qa-resource"
}
}
}Get form results
Get form results.
Inputs
- Form
form_idtextRequired - Select a form or use its ID.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"id": "qa-resource"
}
}
}List entries
List entries.
Inputs
- Search
searchobject - Entry search options: status, start_date, end_date and field_filters.
- Paging
pagingobject - Pagination: {"offset":0,"page_size":20}.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"entries": [],
"total_count": 0
}
}List form entries
List form entries.
Inputs
- Form
form_idtextRequired - Select a form or use its ID.
- Search
searchobject - Entry search options: status, start_date, end_date and field_filters.
- Paging
pagingobject - Pagination: {"offset":0,"page_size":20}.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"entries": [],
"total_count": 0
}
}List forms
List forms.
Inputs
None.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"1": {
"entries": "0",
"id": "1",
"title": "QA form"
}
}
}Send entry notifications
Send entry notifications.
Inputs
- Entry id
entry_idtextRequired - An entry ID returned by a previous step.
- Notification ids
notification_idstext - Comma-separated notification IDs. Leave empty to process all configured notifications.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"data": {
"id": "qa-resource"
}
}
}Submit form
Submit form.
Inputs
- Form
form_idtextRequired - Select a form or use its ID.
- Field values
field_valuesobjectRequired - Fill in the submitted form inputs. Submissions run notifications and add-on feeds.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"is_valid": true,
"page_number": 0,
"source_page_number": 1
}
}Update entry
Update entry.
Inputs
- Entry id
entry_idtextRequired - An entry ID returned by a previous step.
- Field values
field_valuesobjectRequired - Fill in the form fields. Values use Gravity Forms field IDs.
- Status
statustext - The status.One of:
active,spam,trash. - Is read
is_readnumber - The is read.One of:
0,1. - Is starred
is_starrednumber - The is starred.One of:
0,1.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"1": "QA value",
"form_id": "1",
"id": "1"
}
}Update form
Update form.
Inputs
- Form
form_idtextRequired - Select a form or use its ID.
- Title
titletext - The title.
- Fields
fieldslist - Gravity Forms field definitions. Each needs an id, type and label.
- Description
descriptiontext - The description.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"fields": [
{
"id": 1,
"label": "QA value",
"type": "text"
}
],
"id": 1,
"title": "QA form"
}
}Validate submission
Validate submission.
Inputs
- Form
form_idtextRequired - Select a form or use its ID.
- Field values
field_valuesobjectRequired - Fill in the submitted form inputs. Submissions run notifications and add-on feeds.
Outputs
responseobject- The complete service response, including resource data and pagination fields.
Example output
{
"response": {
"is_valid": true,
"page_number": 0,
"source_page_number": 1
}
}