Duplicate SureForms Form is a WordPress ability from SureForms — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Duplicate SureForms Form

Write
SureForms Forms sureforms/duplicate-form

Clone an existing SureForms form, including its fields, metadata, and settings, as a new draft.

Requires the SureForms plugin on WordPress 6.9+ (the Abilities API is gated behind function_exists('wp_register_ability'), so it degrades gracefully on WP 6.4-6.8). Abilities only register when the 'srfm_abilities_api' option is enabled in SureForms' AI settings, and every ability requires the current user to have the 'manage_options' capability. Abilities that create or modify data additionally require the 'srfm_abilities_api_edit' option to not be explicitly disabled; abilities that permanently delete data additionally require 'srfm_abilities_api_delete' to not be explicitly disabled.

What it does

This ability delegates to SureForms' existing Duplicate_Form handler to copy a form's full field structure and metadata into a brand-new draft post, appending an optional title_suffix (defaulting to " (Copy)") to the new form's title. The response includes the new form's ID, title, admin edit URL, and ready-to-use shortcode alongside the original form's ID for reference. This lets an AI assistant quickly spin up a variant of an existing form — for A/B testing a different confirmation message, for example — without rebuilding it field by field.

See it in action

You ask your AI assistant

"Duplicate form 5 and call the copy 'Newsletter Signup (v2)'."

Inputs

Name Type Required Description
form_id integer Yes The ID of the form to duplicate.
title_suffix string No Suffix to append to the duplicated form's title. Defaults to " (Copy)".

Returns

An object with original_form_id, new_form_id, new_form_title, edit_url, and shortcode for the duplicate.

Permission

Requires the 'manage_options' capability, the 'srfm_abilities_api' master option enabled, and the 'srfm_abilities_api_edit' gate option must not be explicitly disabled.

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.