Skip to content

Daily

Get yesterday's WooCommerce sales each morning

One email each morning gives yesterday's sales total and number of orders.

Runs
Daily
Apps
WooCommerce
AI
Not needed
Access
read

Send this to your assistant

Create a ClickRuntime automation: every morning at 8am, email me yesterday's WooCommerce sales total and order count.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

Shop owners running WooCommerce want to know how yesterday went, but the answer is spread across screens. The Orders page shows individual orders, the Analytics page loads slowly, and totals depend on filters and date ranges. Many owners end up checking sporadically, and a bad day, such as a broken checkout that cut orders in half, is noticed a week later when the monthly figures look odd.

Each morning the automation calls the WooCommerce sales report for yesterday, formats the key figures such as orders, gross sales, refunds and items sold, and emails them to you. It is waiting in your inbox before the day starts.

It suits owners, managers and marketers who want a quick daily pulse without logging in. Quiet days and busy days look the same in the Orders list until you count, which is exactly why a summary helps.

What you get out of it

  • Notice a bad day immediately

    If orders dropped by half, the next morning's email shows it. A broken checkout found in a day costs far less than one found in a week. Orders dropping to zero on a weekday is the kind of thing a daily number exposes instantly.

  • See the effect of campaigns

    After an email blast or an ad change, yesterday's figures show whether it moved sales, so you can adjust while the campaign is still running. Over a few weeks you learn which promotions actually bring orders and which only generate clicks.

  • A daily record without effort

    Every email is a dated snapshot that you can search later, handy for comparing this Tuesday with last month's Tuesdays. Looking back across months, the trail of daily figures is a handy way to see seasonality.

  • Share the numbers with partners

    Forward the digest to a business partner or accountant, and they have the same figures without needing a login. Neither of them needs to log in or learn the admin to see how the shop is doing.

  • Start the day informed

    A short email with the previous day's results replaces a dashboard visit, which is easier to keep as a habit than something you have to remember to open. A habit that takes no effort is more likely to last than a task that depends on remembering.

How it works

What happens, step by step

  1. Every morning, ClickRuntime pulls yesterday's sales report from your WooCommerce store.

  2. It reads the total sales and the number of orders.

  3. You get a short email with yesterday's sales figures.

Before it runs live

  • Connect WooCommerce

What you get

RunsDaily
Get yesterday's WooCommerce sales each morningtoday, 9:00Succeeded
Email · Yesterday's salesSales for 2026-10-18: 2,418.60 Orders: 37

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other WooCommerce steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
daily_sales_digest.pyexample
from datetime import date, timedelta
from clickruntime import on_trigger, credentials, http, notify

STORE = "https://yourstore.com/wp-json/wc/v3"

@on_trigger
def run(event):
    auth = (credentials.secret("WC_CONSUMER_KEY"), credentials.secret("WC_CONSUMER_SECRET"))
    day = (date.today() - timedelta(days=1)).isoformat()
    report = http.get(f"{STORE}/reports/sales", auth=auth,
                      params={"date_min": day, "date_max": day}).json()[0]
    notify.email_me(f"Sales for {day}: {report['total_sales']}",
                    f"Orders: {report['total_orders']}\nTotal sales: {report['total_sales']}\n"
                    f"Items sold: {report['total_items']}")
    return {"orders": report["total_orders"], "total": report["total_sales"]}

FAQ

Common questions

Which figures are in the digest?
The WooCommerce sales report supplies total sales, number of orders, items sold, refunds and shipping, among others. The email shows the ones you find useful, and you can ask for more or fewer. Ask for margins if you track them.
Which time zone defines yesterday?
It uses the store's time zone from WooCommerce settings, so a day matches the one you see in your admin. If your store and your location differ, tell your AI assistant. That keeps daily totals consistent.
Does the report include cancelled or failed orders?
The sales report counts orders in paid statuses, so cancelled and failed ones are generally excluded. That keeps the figures close to what you actually earned, rather than what was merely attempted. This is the usual choice for reporting.
What permissions does it need?
read. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (daily). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Get yesterday's WooCommerce sales each morning” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.