Import flow template is a WordPress ability from CartFlows — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Import flow template

Write
CartFlows Ecommerce cartflows/import-flow-template

Import a funnel template from the CartFlows cloud library and build a new funnel from it.

Requires the CartFlows plugin on WordPress 6.9+, since abilities only register when WordPress's Abilities API (wp_register_ability / WP_Ability) is available. Every ability additionally requires the current user to hold the 'cartflows_manage_flows_steps' capability. Flow and step lifecycle abilities (publish, unpublish, clone, trash, restore, update, reorder, clone-step, update-step-title) are further gated by the 'cartflows_abilities_api_edit' site option, while settings, checkout, thank-you, optin, email-report, product-mapping, creation, and template-import abilities are gated by the separate 'cartflows_abilities_api_write' option — both default to enabled but let site admins disable write access independently. WooCommerce must also be active for the analytics, checkout, thank-you, optin, and product-flow-mapping abilities, and for importing flow templates.

What it does

This ability imports a template by ID from the CartFlows cloud library and creates a new funnel with all of the template's steps. If CartFlows Pro is not active, any upsell or downsell steps in the template are skipped rather than imported, and are reported separately with a reason. Use list-flow-templates first to find a template ID. Requires WooCommerce.

See it in action

You ask your AI assistant

"Import flow template 12345 from the CartFlows library to create a new funnel."

Inputs

Name Type Required Description
template_id integer Yes Template ID from the CartFlows cloud library (from list-flow-templates).

Returns

An object with the new flow_id, title, a steps array of what was imported (step_id, title, type), and a skipped_steps array (title, type, reason) for any steps that couldn't be imported, such as Pro-only upsell/downsell steps on a site without CartFlows Pro.

Permission

The current user must have the 'cartflows_manage_flows_steps' capability, and the 'cartflows_abilities_api_write' site option (enabled by default) must not be 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.