Newsletter campaign performance
email_campaign_performanceNewsletter campaigns sent in the period, ranked by revenue per recipient: subject, send time, channel, audience note, recipients, clicks, attributed orders, revenue, whether it was discount-led and the verdict; for a two-subject test subjectB and abWinner; plus one insight comparing discount-led and content campaigns. campaign_id gives one campaign (the period is then ignored). For «which subject lines worked best?». how_to_read in the result gives the counting rules.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "email_campaign_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Period end, exclusive (default: now) as an ISO-8601 date or datetime, e.g. 2026-09-01. | |
| from | No | Period start (default: 30 days ago) as an ISO-8601 date or datetime, e.g. 2026-09-01. | |
| channel | No | b2b = orders from business customers, b2c = orders from consumers. Default all. | |
| campaign_id | No | One campaign; omit for every campaign sent in the period. | |
| merchant_id | No | Shop id; optional with one shop (list_shops). |