Skip to content

Daily

Get a daily Shopify order summary by email

Each morning you get yesterday's orders, revenue, average order value and top products in one short email.

Runs
Daily
Apps
Gmail, Shopify
AI
Optional
Access
read_orders; gmail.send

Send this to your assistant

Create a ClickRuntime automation: every morning at 7, email me yesterday's Shopify orders, revenue, average order value and top 3 products, with a one-line note on how it compares to the day before.

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

A shop owner who also works a day job checks Shopify on their phone several times a day, never quite sure if a day was good or just felt busy. Proper reports need a laptop and time they do not have.

A short summary in the inbox each morning answers the question in ten seconds. Over a few weeks it builds a feel for what a normal day looks like, so a bad one stands out straight away.

What you get out of it

  • The key numbers in ten seconds

    Orders, revenue, average order value and best sellers fit on a phone screen. No dashboard needed.

  • Patterns you start to notice

    Reading the same summary each morning builds a sense of normal. A dip after a site change or a jump after a post is obvious.

  • A note that puts it in context

    A one-line comparison with the day before says whether yesterday was up or down. The numbers come with their meaning.

  • An archive in your inbox

    Every summary stays in your email, searchable by date. Looking up how a day went last year is easy.

How it works

What happens, step by step

  1. Every morning, ClickRuntime collects yesterday's orders from your Shopify store.

  2. It totals orders and revenue, works out the average order value and finds the top products.

  3. It compares the figures with the day before, which it remembers.

  4. AI can add a one-line note on how the day went.

  5. The summary is emailed to you.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect Shopify

What you get

RunsDaily
Get a daily Shopify order summary by emailtoday, 9:00Succeeded
Email · Shopify Tue 14 Oct: 38 orders, 2,140Top products: Oat milk soap (12), Cedar shampoo bar (9). Up 6 orders on Monday.

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
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Gmail and Shopify 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_order_summary_email.pyexample
from datetime import date, timedelta
from collections import Counter
from clickruntime import on_trigger, credentials, http, notify, state, ai

STORE = "your-store.myshopify.com"

def gql(query, variables=None):
    resp = http.post(f"https://{STORE}/admin/api/2025-07/graphql.json", json={"query": query, "variables": variables or {}},
                     headers={"X-Shopify-Access-Token": credentials.connection("shopify", "store")})
    return resp.raise_for_status() or resp.json()["data"]

@on_trigger
def run(event):
    day = date.today() - timedelta(days=1)
    orders = gql("""query($q: String!) { orders(first: 250, query: $q) { nodes { totalPriceSet { shopMoney { amount } }
        lineItems(first: 50) { nodes { title quantity } } } } }""", {"q": f"created_at:>={day} created_at:<{date.today()} -status:cancelled"})["orders"]["nodes"]
    revenue = sum(float(o["totalPriceSet"]["shopMoney"]["amount"]) for o in orders)
    top = Counter()
    for o in orders:
        top.update({li["title"]: li["quantity"] for li in o["lineItems"]["nodes"]})
    text = (f"Orders: {len(orders)}\nRevenue: {revenue:,.2f}\nAverage order: {revenue / max(len(orders), 1):,.2f}\n"
            "Top products: " + ", ".join(f"{t} ({n})" for t, n in top.most_common(3)))
    prev = state.get("prev")
    try:
        text += "\n\n" + ai.generate(f"Yesterday {len(orders)} orders, {revenue:.0f}. Day before: {prev}", system="One short sentence comparing the two days.", max_output_tokens=60).text
    except (ai.AINotIncluded, ai.AILimitReached):
        pass
    notify.email_me(f"Shopify {day:%a %d %b}: {len(orders)} orders, {revenue:,.0f}", text)
    state.set("prev", {"orders": len(orders), "revenue": round(revenue)})
    return {"orders": len(orders)}

FAQ

Common questions

What counts as yesterday?
Midnight to midnight in your store's time zone, so the figures match the Shopify admin.
Can it go to my business partner as well?
Summaries go to your own address. You can set a Gmail filter to forward them, or ask for the automation to send through your connected Gmail to several people.
Is the comparison note written by AI?
Yes, if you turn it on. It is optional; without it you still get all the figures.
What permissions does it need?
read_orders; gmail.send. Nothing else in your accounts is used.
Does it need AI?
No, but you can ask for an AI step (for example a summary). It then uses ClickRuntime's built-in 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 a daily Shopify order summary by email” from your assistant

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