Process Submission 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 →

Process Submission

Write
Ninja Forms Forms ninjaforms/process-submission

Manually re-trigger an action (currently email) for an existing 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 manually replays action processing for a submission that's already been recorded — currently limited to email actions — using the action_settings object supplied (to, email_subject, email_message, etc.). It's useful for an AI assistant asked to resend a confirmation email or send an ad hoc follow-up based on an existing submission's data, without needing to resubmit the form.

See it in action

You ask your AI assistant

"Resend the confirmation email for submission 305 to the same address, with an updated subject line."

Inputs

Name Type Required Description
submission_id integer Yes The numeric ID of the submission.
action_type string Yes Action type to process (currently only 'email' is supported).
action_settings object Yes Settings for the action being processed, e.g. to, email_subject, email_message.

Returns

An object with a 'success' boolean, the 'submission_id', 'form_id', the 'action_type' processed, 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.