30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

MailerPress Pro Save WooCommerce Email Template

mailerpress-pro/save-woocommerce-email-template attaches a MailerPress campaign as the template for a specific WooCommerce transactional email type.

A transactional email override points an email type at a MailerPress campaign, so the campaign becomes the template that email renders with. That is how a password reset ends up looking like the rest of the brand.

At a glance

Abilitymailerpress-pro/save-woocommerce-email-template
ToolsetMailerPress Pro — toolset/mailerpress-pro
GroupMailerPress Pro › WooCommerce Emails
RequiresAcrossAI Pro, plus MailerPress with its Pro add-on active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableNot idempotent — each call changes the row set, so re-running is not a no-op
Ships inAcrossAI Pro 0.9.16 and later

How it works

The campaign has to carry the tokens that email type needs. An order confirmation without the order details is a branded email containing nothing the customer wanted — and it will not error, because MailerPress renders whatever the campaign contains.

That failure mode is worse on the shop side than the WordPress side, because the missing content is commercially meaningful: an order number, a line-item list, a delivery address.

So a test send after saving is not optional diligence here. mailerpress-pro/send-test-woocommerce-email renders the configured template against placeholder order data and delivers it.

Order status emails fire on state changes rather than on demand, which means a broken template is discovered by a real customer at a real moment unless it was tested.

Requires WooCommerce to be active.

Not idempotent in the sense that saving is a state change.

Input

NameTypeRequiredWhat it is
typestringYesThe WooCommerce email type.
campaign_idintegerFor customThe campaign to render as the template.
statusstringNoThe override state.

What comes back

NameTypeWhat it is
typestringThe email type.
statusstringIts state afterwards.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Use our branded template for order confirmations.

It resolves to one call:

{
  "ability": "mailerpress-pro/save-woocommerce-email-template",
  "parameters": {
    "type": "customer_processing_order",
    "campaign_id": 22,
    "status": "custom"
  }
}

Worth knowing

  • A campaign missing the order tokens renders a branded email with no order in it.
  • These fire on order state changes — a broken one is found by a customer.
  • Test after every save.
  • Requires WooCommerce active.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading