Get Submission Fields is a WordPress ability from Ninja Forms — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Get Submission Fields

Read-only
Ninja Forms Forms ninjaforms/get-submission-fields

Retrieve just the field values (optionally with labels and types) for a submission.

Requires the Ninja Forms plugin on WordPress 6.9+ for the Abilities API (all 32 abilities are registered only when the wp_register_ability() function exists, via NF_Abilities_Integration::load_abilities_api() running on plugins_loaded). Every ability is gated by the same ninja_forms_ability_can_manage_forms() permission callback, requiring the caller to hold WordPress's manage_options capability or Ninja Forms' own nf_edit_forms capability.

What it does

This ability returns a submission's field values, and — when include_labels is set — pairs each value with the field's key, label, and type, which is useful for presenting the submission to a user in a readable way rather than as raw field IDs.

See it in action

You ask your AI assistant

"Get the field values for submission 305, with labels so I can read them clearly."

Inputs

Name Type Required Description
submission_id integer Yes The numeric ID of the submission.
include_labels boolean No Include field keys, labels, and types alongside the values. Defaults to false.

Returns

An object with a 'success' boolean, the 'submission_id', 'form_id', a 'count', a 'fields' object or array, and a 'message'.

Permission

The current user must have WordPress's 'manage_options' capability or Ninja Forms' own 'nf_edit_forms' capability (checked via the shared ninja_forms_ability_can_manage_forms() permission callback).

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.