Gravity Forms icon

Gravity Forms

Interact with Gravity Forms to manage forms and entries

Entry → Create

AI-generated

Summary

Create a new entry (submission) in a specified Gravity Forms form by providing field values and optional file uploads and metadata.

Inputs

  • Form Name or ID (required) — Select or specify the Gravity Forms form to submit the entry to.
  • Field Input Method (required) — Choose whether to enter field values using simple field ID-value pairs or as a JSON object.
  • Field Values — For 'Simple' input method: specify multiple field IDs and their corresponding values.
  • Field Values (JSON) — For 'JSON' input method: provide all field values as a JSON object with field IDs as keys.
  • File Upload Fields — Optionally upload files to file upload fields either by referencing previous node binary data or providing file URLs.
  • Additional Fields — Set optional metadata for the entry such as creator user ID, IP address, status (active, spam, trash), source URL, read/starred flags, and user agent string.

Output shape

a single JSON object representing the newly created entry as returned by the Gravity Forms API

The JSON response includes all submitted field values and metadata. If file uploads are included, field values for those fields contain the uploaded file information or URLs. Errors during file processing or API calls will throw, unless 'Continue on Fail' is enabled, in which case error messages are returned alongside results.

Examples

Example 1: Create an entry with simple fields

Form ID selected, Field Input Method set to 'Simple', and multiple field ID-value pairs defined for standard and file upload fields (files provided as binary or URLs).

Example 2: Create an entry with JSON

Form ID selected, Field Input Method set to 'JSON', and field values provided as a JSON object mapping field IDs to values.

Discussion