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.
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
Every morning, ClickRuntime collects yesterday's orders from your Shopify store.
It totals orders and revenue, works out the average order value and finds the top products.
It compares the figures with the day before, which it remembers.
AI can add a one-line note on how the day went.
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
Build your own
Need it to work differently?
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
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?
Can it go to my business partner as well?
Is the comparison note written by AI?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get a daily email about low Shopify stock
Each morning you get an email listing products that will run out soon at their current pace, plus any that are not selling.
See how it worksCatch Shopify pricing and discount mistakes
Each morning you get an email if any price dropped below your floor, changed sharply, or a discount code is larger than your rules allow.
See how it worksGet emailed when Shopify orders stop or run late
You get an email if no orders arrive for longer than usual, or if paid orders pass your dispatch deadline without shipping.
See how it worksKeep exploring
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.