WPForms
App · 5 actions
Read WordPress forms, check submission totals, and start workflows from new entries.
Actions
| Action | What it does |
|---|---|
| Get a form | Read a form and its field definitions. |
| Get a form entry | Read the field answers from one saved submission. |
| Get form statistics | Read totals and see whether entry details are available. |
| List form entries | Read completed entries or select a special entry status. |
| List forms | List forms by publishing status. |
Get a form
Read a form and its field definitions.
Inputs
- Form
form_idnumberRequired - The form to read.At least 1.
- Include fields
include_fieldstrue/false - Include the form fields.
Outputs
dataobject- The response from WPForms.
Example output
{
"data": {
"created": "example",
"fields": [
{}
],
"id": 1,
"modified": "example",
"settings": {},
"status": "example",
"title": "example"
}
}Get a form entry
Read the field answers from one saved submission.
Inputs
- Entry ID
entry_idnumberRequired - The entry ID from List form entries.At least 1.
Outputs
dataobject- The response from WPForms.
Example output
{
"data": {
"date": "example",
"fields": {},
"form_id": 1,
"id": 1,
"starred": true,
"status": "example",
"viewed": true
}
}Get form statistics
Read totals and see whether entry details are available.
Inputs
- Form
form_idnumberRequired - The form to read.At least 1.
Outputs
dataobject- The response from WPForms.
Example output
{
"data": {
"entries_available": true,
"form_id": 1,
"starred_entries": 1,
"total_entries": 1,
"unread_entries": 1
}
}List form entries
Read completed entries or select a special entry status.
Inputs
- Form
form_idnumberRequired - The form to read.At least 1.
- Status
statustext - Leave empty for completed entries.One of:
partial,abandoned,spam,trash. - Type
typetext - Filter by whether an entry has been read or starred.One of:
read,unread,starred. - Include fields
include_fieldstrue/false - Include submitted answers.
- Limit
limitnumber - Maximum records to return.From 1 to 100.
- Offset
offsetnumber - Number of records to skip.At least 0.
Outputs
dataobject- The response from WPForms.
Example output
{
"data": {
"entries": [
{
"date": "example",
"form_id": 1,
"id": 1,
"starred": true,
"status": "example",
"viewed": true
}
],
"form_id": 1,
"next_offset": 1,
"total": 1
}
}List forms
List forms by publishing status.
Inputs
- Status
statustext - The publishing status to list.One of:
publish,draft,trash. - Limit
limitnumber - Maximum records to return.From 1 to 100.
- Offset
offsetnumber - Number of records to skip.At least 0.
Outputs
dataobject- The response from WPForms.
Example output
{
"data": {
"forms": [
{
"created": "example",
"id": 1,
"modified": "example",
"status": "example",
"title": "example"
}
],
"next_offset": 1,
"total": 1
}
}