Daily
Get an evening report of Shippo labels and postage
Each evening you see which labels went out today, grouped by carrier, with what you paid in total.
- Runs
- Daily
- Apps
- Shippo
- AI
- Not needed
- Access
- live API token
Send this to your assistant
Create a ClickRuntime automation: every evening at 7pm, list the Shippo labels I bought today and email me the count and postage cost per carrier, plus the overall total.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Shipping costs are one of the largest expenses for an online seller, yet most owners have only a rough idea of what they spent last week. Labels are bought one at a time in Shippo through the day, by different people or by order tools, and the total only appears when the monthly carrier invoice arrives. A wrong service level, an unneeded express upgrade or a duplicate label has been costing money for weeks by the time anyone sees it.
Each day the automation lists the Shippo transactions created that day, adds up the cost of the labels, and emails you a summary with the count and total postage spent. It runs on the daily schedule you choose. Shop owners, fulfillment managers and bookkeepers use it as a simple daily record of what was shipped and what it cost.
What you get out of it
Postage spend is known daily
You see what shipping cost yesterday, not what it cost last month. A sudden jump caught on day one is an easy conversation, while one found in a monthly invoice is a loss.
Duplicate labels are caught
Two labels for one order, or a test label bought by mistake, show up in the count and total. Voiding a label within the carrier's window recovers the money, and late discovery does not.
Service choices can be reviewed
A day with a high average cost per label suggests overuse of expensive services. Reviewing that pattern lets you adjust defaults, such as using ground rather than express, for orders that do not need it.
Bookkeeping has a daily record
The log gives an accountant a dated record of postage expenses. Reconciling against carrier invoices at month-end is easier when each day's figure is already written down. At month end, matching daily totals to the carrier invoice takes minutes rather than a day of digging.
Workload trends become visible
Counts of labels per day show busy and slow periods. That helps with scheduling staff and with deciding when to buy more packaging before a rush rather than during one.
How it works
What happens, step by step
Every evening, ClickRuntime lists the Shippo shipping labels you bought today.
It looks up the carrier and price of each label and adds them up per carrier.
You get an email with the day's label count and total spend, plus a line for each carrier such as USPS or UPS.
Before it runs live
- Connect Shippo
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
- 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 Shippo steps into one automation
Under the hood
The code that runs this automation
from collections import defaultdict
from datetime import date
from clickruntime import on_trigger, credentials, http, notify
API = "https://api.goshippo.com"
@on_trigger
def run(event):
h = {"Authorization": f"ShippoToken {credentials.secret('SHIPPO_API_TOKEN')}"}
labels = http.get(f"{API}/transactions/", headers=h, params={
"object_created_gte": date.today().isoformat() + "T00:00:00", "object_status": "SUCCESS", "results": 100}).json()["results"]
per_carrier = defaultdict(lambda: [0, 0.0])
for label in labels:
rate = http.get(f"{API}/rates/{label['rate']}", headers=h).json()
c = per_carrier[rate["provider"]]
c[0] += 1; c[1] += float(rate["amount"])
lines = [f"{carrier}: {n} labels, ${cost:,.2f}" for carrier, (n, cost) in per_carrier.items()]
total = sum(cost for _, cost in per_carrier.values())
notify.email_me(f"Shippo today: {len(labels)} labels, ${total:,.2f}", "\n".join(lines) or "No labels today.")
return {"labels": len(labels), "total": total}FAQ
Common questions
Does the total include labels that were refunded?
Which currency is used for the total?
Can I get the list of individual labels too?
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
Hear about failed or returned Shippo parcels
You get an email the moment a tracked package fails delivery or starts heading back to you.
See how it worksKnow the moment your website goes down
Your team hears in Slack when the site stops responding or slows down, and again when it's back.
See how it worksPost a morning briefing to Slack
Your team starts the day with the weather, a reminder or anything else you'd like in #general.
See how it worksKeep exploring
Set up “Get an evening report of Shippo labels and postage” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.
