mailerpress/get-workflow-ab-test-results returns A/B test results for one workflow: open rate, click rate and conversion rate per version, the declared winner, and the winning criteria.
automationId is the workflow’s automation ID, not the workflow row ID.
At a glance
| Ability | mailerpress/get-workflow-ab-test-results |
| Toolset | MailerPress — toolset/mailerpress |
| Group | MailerPress › Workflows |
| Requires | AcrossAI Pro, plus MailerPress active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Pro 0.9.16 and later |
How it works
Those are two different identifiers on the same object, and passing the wrong one returns nothing rather than erroring — which reads as “no A/B test” on a workflow that has one.
mailerpress/get-workflow returns both, which is where to get the right one.
The winning criteria is the field that makes the winner interpretable. A version winning on open rate and a version winning on conversion rate are different claims, and the second is the one that usually matters.
A declared winner on a small sample is a coin toss with a label. MailerPress declares one according to its own rules rather than to a significance test, so the version counts are worth reading alongside.
The bare array MailerPress returns is wrapped into an object for consistency.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
automationId | integer | Yes | The workflow’s automation ID — not the workflow row ID. |
What comes back
| Name | Type | What it is |
|---|---|---|
ab_tests | array | Per version: open rate, click rate, conversion rate, plus the winner and criteria. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present 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:
Which version of that automation won?
It resolves to one call:
{
"ability": "mailerpress/get-workflow-ab-test-results",
"parameters": {
"automationId": 88
}
}Worth knowing
- Two IDs exist on a workflow. The wrong one returns nothing and reads as no test.
- The winning criteria decides what the win means.
- A winner on a small sample is not a significant result.
- The bare array is wrapped.
Related abilities
- MailerPress Get Workflow — where both IDs come from
- MailerPress Get Workflow Stats — the volume behind the rates
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category