Skip to content

Daily sales next to ad spend

Orders and order value for each of the last 7 days next to each campaign's Meta spend, so a sudden drop or a spend spike shows at once.

Reads only: your AI looks, and changes nothing.

Ask your AI

Using Tera Ads, how many orders did my store take each day this week, and how did that track my Meta ad spend?

Works in Claude, ChatGPT, Cursor, VS Code and Claude Code once Tera Ads is connected. Save the SKILL.md file in your assistant's skills folder to make it a repeatable skill.

The tools it calls, in order

  1. 1.get_store_sales

    Orders and order value for each of the last 7 completed days.

    {"days":7}
  2. 2.get_meta_performance

    Each campaign's daily spend and Meta-attributed results over the same days.

    {"days":7}
  3. 3.get_latest_report

    Whether a Tera Ads report is ready, with how many findings.

    {}

A real run on our demo store

We ran this chain through the Tera Ads MCP server on November 23, 2026, on Tera Ads' demo store: a sample shop and ad account with made-up numbers in US dollars. These are the answers the tools gave.

Orders yesterday
10
Order value yesterday
$703
Findings in the latest report
4
Answer 1: get_store_sales

“rows” had 7 items; the first 6 are shown.

{
  "rows": [
    {
      "day": "2026-11-22",
      "currency": "USD",
      "orders": 10,
      "booked_value": 703.09,
      "paid_status_order_value": 702.11,
      "recorded_refund_value": 0,
      "latest_import_at": "2026-11-23T00:10:00+00:00"
    },
    {
      "day": "2026-11-21",
      "currency": "USD",
      "orders": 9,
      "booked_value": 656.65,
      "paid_status_order_value": 631.39,
      "recorded_refund_value": 0,
      "latest_import_at": "2026-11-22T00:10:00+00:00"
    },
    {
      "day": "2026-11-20",
      "currency": "USD",
      "orders": 6,
      "booked_value": 430.29,
      "paid_status_order_value": 415.5,
      "recorded_refund_value": 6.45,
      "latest_import_at": "2026-11-21T00:10:00+00:00"
    },
    {
      "day": "2026-11-19",
      "currency": "USD",
      "orders": 8,
      "booked_value": 581.36,
      "paid_status_order_value": 562.41,
      "recorded_refund_value": 0,
      "latest_import_at": "2026-11-20T00:10:00+00:00"
    },
    {
      "day": "2026-11-18",
      "currency": "USD",
      "orders": 9,
      "booked_value": 611.61,
      "paid_status_order_value": 609.9,
      "recorded_refund_value": 0,
      "latest_import_at": "2026-11-19T00:10:00+00:00"
    },
    {
      "day": "2026-11-17",
      "currency": "USD",
      "orders": 6,
      "booked_value": 435.25,
      "paid_status_order_value": 425.68,
      "recorded_refund_value": 0,
      "latest_import_at": "2026-11-18T00:10:00+00:00"
    }
  ],
  "partial": false,
  "row_limit": 100,
  "date_from": "2026-11-16",
  "date_before": "2026-11-23",
  "date_basis": "source calendar dates before current UTC date",
  "data_mode": "persisted_not_live",
  "warning": "Booked order value and paid-status order value are not verified collected cash, bank settlement or profit. Refunds are reported separately; currencies are never combined."
}
Answer 2: get_meta_performance

“rows” had 21 items; the first 6 are shown.

{
  "rows": [
    {
      "campaign_id": "110000000000001",
      "campaign_name": "Best sellers | Sales",
      "date": "2026-11-22",
      "status": "ACTIVE",
      "spend": 73.68,
      "impressions": 6179,
      "clicks": 96,
      "purchases": 2,
      "revenue": 135.22,
      "snapshot_taken_at": "2026-11-23T01:00:00+00:00",
      "currency": "USD"
    },
    {
      "campaign_id": "110000000000002",
      "campaign_name": "New arrivals | Advantage+",
      "date": "2026-11-22",
      "status": "ACTIVE",
      "spend": 38.62,
      "impressions": 3253,
      "clicks": 40,
      "purchases": 1,
      "revenue": 68.84,
      "snapshot_taken_at": "2026-11-23T01:00:00+00:00",
      "currency": "USD"
    },
    {
      "campaign_id": "110000000000003",
      "campaign_name": "Retargeting | Site visitors",
      "date": "2026-11-22",
      "status": "ACTIVE",
      "spend": 19.41,
      "impressions": 1329,
      "clicks": 33,
      "purchases": 1,
      "revenue": 66.34,
      "snapshot_taken_at": "2026-11-23T01:00:00+00:00",
      "currency": "USD"
    },
    {
      "campaign_id": "110000000000001",
      "campaign_name": "Best sellers | Sales",
      "date": "2026-11-21",
      "status": "ACTIVE",
      "spend": 68.45,
      "impressions": 5435,
      "clicks": 74,
      "purchases": 2,
      "revenue": 135.51,
      "snapshot_taken_at": "2026-11-22T01:00:00+00:00",
      "currency": "USD"
    },
    {
      "campaign_id": "110000000000002",
      "campaign_name": "New arrivals | Advantage+",
      "date": "2026-11-21",
      "status": "ACTIVE",
      "spend": 44.47,
      "impressions": 3300,
      "clicks": 43,
      "purchases": 1,
      "revenue": 63.9,
      "snapshot_taken_at": "2026-11-22T01:00:00+00:00",
      "currency": "USD"
    },
    {
      "campaign_id": "110000000000003",
      "campaign_name": "Retargeting | Site visitors",
      "date": "2026-11-21",
      "status": "ACTIVE",
      "spend": 19.54,
      "impressions": 1429,
      "clicks": 37,
      "purchases": 2,
      "revenue": 126.81,
      "snapshot_taken_at": "2026-11-22T01:00:00+00:00",
      "currency": "USD"
    }
  ],
  "partial": false,
  "row_limit": 100,
  "date_from": "2026-11-16",
  "date_before": "2026-11-23",
  "date_basis": "source calendar dates before current UTC date",
  "freshness": "Inspect snapshot_taken_at for each row; this call does not sync providers.",
  "currency_warning": "Unknown currencies must not be added together; no cross-currency total is computed.",
  "data_mode": "persisted_not_live",
  "revenue_definition": "Meta-attributed purchase value, not store receipts or net profit"
}
Answer 3: get_latest_report
{
  "cycle_id": "demo-2026-11-23",
  "status": "completed",
  "started_at": "2026-11-23T06:00:00+00:00",
  "completed_at": "2026-11-23T06:04:12+00:00",
  "available": true,
  "profit_status": "unverified",
  "diagnosis_count": 4,
  "recommendation_count": 3,
  "note": "Full report text is available in Tera Ads; no customer-level or free-text content is exported.",
  "dashboard_url": "https://teraads.co/dashboard"
}

Run it on your own store

Connect your Meta ads and Shopify store free, then add Tera Ads to your AI with one address. You choose for each connection whether it reads only, asks you first or makes changes.

More workflows

This workflow as plain text for AI agents: https://teraads.co/workflows/daily-sales-check.md