---
name: klaviyo-weekly-campaign-report
description: "Every Monday: last week's Klaviyo email campaigns with open and click rates and placed-order revenue, against the week before. Use when the user asks for this, or when it runs on a schedule."
---

# Klaviyo weekly campaign report

Every Monday: last week's Klaviyo email campaigns with open and click rates and placed-order revenue, against the week before.

For an online store, the Klaviyo question on Monday is simple: how much did last week's emails sell, and which one did it? Answering it means opening each campaign, checking the attribution metric and adding up revenue by hand, then doing the same for the week before to know whether it was good.

The agent asks Klaviyo's reporting API for all of it in two calls, one per week, using Placed Order as the conversion metric. You get revenue per campaign, rates that match what Klaviyo shows, and a one-line answer to "was it a good week".

## Two ways to get the data

Use the API or MCP route when you have an MCP server, a CLI or an API token for the app. Otherwise, if you can drive a browser the user is signed in to (Claude in Chrome, a Playwright or Chrome DevTools MCP server), use the browser route. Say which one you used.

## Route A: API or MCP server

### What you need

- A Klaviyo private API key with `campaigns:read` and `metrics:read` in `KLAVIYO_API_KEY`.
- Or Klaviyo's official MCP server, connected read-only as a custom connector at `https://mcp.klaviyo.com/mcp?read-only=true` (OAuth; Owner, Admin or Manager role); its `get_campaign_report` tool wraps the same report. The built-in Claude and ChatGPT connectors do not take the read-only parameter.

If something is missing, say what and stop; do not invent numbers.

### Steps

1. **Find the conversion metric** (Klaviyo): List metrics with `GET /api/metrics` and take the ID of "Placed Order" (from your Shopify or other store integration). Save it in the skill so later runs skip this step.
2. **Request last week's campaign values** (Klaviyo): `POST /api/campaign-values-reports` with `timeframe: { start, end }` for last Monday to Sunday, `conversion_metric_id`, `filter: equals(send_channel,"email")` and `statistics: ["recipients", "open_rate", "click_rate", "unsubscribe_rate", "conversions", "conversion_value", "revenue_per_recipient"]`.
3. **Request the week before** (Klaviyo): Same call with the previous week. The reporting endpoints have tight rate limits, so make one call per week rather than one per campaign, and wait out a `429` with its `Retry-After`.
4. **Name the campaigns** (Klaviyo): Look up each `campaign_id` with `GET /api/campaigns/{id}` for its name and send time.
5. **Write the report**: Total revenue, recipients and campaigns for both weeks, then one row per campaign with rates and revenue, sorted by revenue. Flag a campaign whose unsubscribe rate is over twice the week's average.

## Route B: the browser

### What you need

- Signed in to Klaviyo with a user on the right account; the Analyst role is enough to read campaigns and reports.

If something is missing, say what and stop; do not invent numbers.

### Steps

Start at https://www.klaviyo.com/campaigns. The user is signed in already; never type passwords or codes, and ask if a sign-in page appears.

1. **Open the sent campaigns list**: The URL opens Campaigns in the account you used last; switch accounts from the picker at the bottom left if the store is wrong. Filter the list to channel `Email` and status `Sent`, and set the date picker to last Monday through Sunday.
2. **Read each campaign's numbers**: Each row shows recipients, open rate, click rate and placed order revenue. Where a column is missing, open the campaign's report (click the campaign, then **View report**) and read unsubscribe rate and Placed Order revenue from the summary tiles.
3. **Do the week before**: Move the date picker one week back and read the same numbers. If the store sends more than about ten campaigns a week, use **Analytics > Reports** instead: a campaign performance report over the two weeks, exported as CSV.
4. **Write the report**: Total revenue, recipients and campaign count for both weeks, one row per campaign sorted by revenue, revenue per recipient, and a flag on any unsubscribe rate over twice the week's average.

Note: The list shows revenue under the account's attribution settings (Settings > Attribution), the same values the API returns, so both routes agree. A Friday send keeps collecting orders inside the attribution window, so Monday's figure can still grow. For stores with dozens of campaigns a week, the exported report is faster than opening each one.

## The report

- **Revenue from campaigns** last week and the change on the week before.
- **Per campaign**: recipients, open rate, click rate, orders and revenue.
- **Revenue per recipient**, to compare big and small sends fairly.
- **Flags**: unsubscribe spikes.
- One line on which campaign earned its place.

## Post it to Briefkin

When `BRIEFKIN_TOKEN` is set, or `~/.config/briefkin/env` exists (the installer from https://briefkin.dev/docs writes it), also send the result to the user's Briefkin board as one card. Keep the `item_key` the same on every run so the card updates in place, use a new `event_id` per run, and put today's real numbers in place of the example ones. If the request fails, say so once and carry on.

```bash
[ -n "${BRIEFKIN_TOKEN:-}" ] || . ~/.config/briefkin/env
curl -sS -X POST "${BRIEFKIN_URL:-https://briefkin.dev}/v1/events" \
  -H "authorization: Bearer $BRIEFKIN_TOKEN" \
  -H "content-type: application/json" \
  -d @- <<'JSON'
{
  "v": 1,
  "event_id": "klaviyo-weekly-campaign-report/<date of this run, e.g. 2026-10-16>",
  "item_key": "klaviyo-weekly-campaign-report",
  "project": "Acme Store",
  "source": "Klaviyo weekly campaign report skill",
  "kind": "update",
  "title": "$18,240 from 3 email campaigns last week",
  "summary": "Campaign revenue rose **18%** on the week before ($15,410). The VIP early access email earned **$0.80 per recipient**, five times the full-list restock email.",
  "widget": [
    {
      "type": "Table",
      "props": {
        "columns": [
          "Campaign",
          "Recipients",
          "Open rate",
          "Click rate",
          "Revenue"
        ],
        "align": [
          "left",
          "right",
          "right",
          "right",
          "right"
        ],
        "rows": [
          [
            "VIP early access: fall drop",
            12400,
            "52.1%",
            "4.8%",
            "$9,860"
          ],
          [
            "Fall restock is here",
            41200,
            "38.4%",
            "1.9%",
            "$6,130"
          ],
          [
            "Weekly picks #42",
            39800,
            "35.2%",
            "1.2%",
            "$2,250"
          ],
          [
            "Total",
            93400,
            "",
            "",
            "$18,240"
          ]
        ]
      }
    },
    {
      "type": "Callout",
      "props": {
        "text": "Small, targeted sends beat the full list again: the VIP segment is 13% of recipients and 54% of revenue.",
        "tone": "info"
      }
    }
  ]
}
JSON
```

Widgets come from the Briefkin catalog (https://briefkin.dev/v1/catalog). Without a token, just give the user the report.

## Run it on a schedule

Suggested: Mondays at 8:00 (`0 8 * * 1`). From cron, with the agent signed in on that machine:

```bash
0 8 * * 1 claude -p "Run the klaviyo-weekly-campaign-report skill"
# Codex: codex exec, Gemini CLI: gemini -p, Copilot CLI: copilot -p, OpenCode: opencode run
```

Or use the agent's own scheduler (Claude Code routines, Codex automations, Claude or ChatGPT scheduled tasks): https://briefkin.dev/skills/klaviyo-weekly-campaign-report#schedule

Source: https://briefkin.dev/skills/klaviyo-weekly-campaign-report
