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

Start free trial

MailerPress Get Workflow Logs

mailerpress/get-workflow-logs returns a paginated per-job execution log for one workflow.

The status filter accepts only FAILED or COMPLETED.

At a glance

Abilitymailerpress/get-workflow-logs
ToolsetMailerPress — toolset/mailerpress
GroupMailerPress › Workflows
RequiresAcrossAI Pro, plus MailerPress active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

That restriction reflects how MailerPress displays them: EXITED jobs are normalised to FAILED internally for display, so filtering to FAILED returns both genuine failures and deliberate exits.

Which means a long list of “failed” jobs may be a workflow working exactly as designed, with a condition routing most contacts out.

mailerpress/get-workflow-stats counts them separately, so reading the stats alongside the logs is how you tell which you are looking at.

The per-job detail is what identifies a specific contact’s path through the automation — useful when somebody reports receiving the wrong email from a workflow, or nothing at all.

Post-run diagnostics rather than monitoring: the logs exist after jobs run, and a workflow that never triggers has no logs to read.

Input

NameTypeRequiredWhat it is
idintegerYesThe workflow.
statusstringNoFAILED or COMPLETED.
per_pageintegerNoRows per page.

What comes back

NameTypeWhat it is
logsarrayPer-job execution records.
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:

Why did that automation fail for some people?

It resolves to one call:

{
  "ability": "mailerpress/get-workflow-logs",
  "parameters": {
    "id": 21,
    "status": "FAILED"
  }
}

Worth knowing

  • EXITED is normalised to FAILED for display, so the filter returns both.
  • A long FAILED list can be a workflow working as designed.
  • Read the stats alongside to tell them apart.
  • No logs at all means the workflow never triggered.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading