Skip to content

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.

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

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

  1. Every evening, ClickRuntime lists the Shippo shipping labels you bought today.

  2. It looks up the carrier and price of each label and adds them up per carrier.

  3. 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

RunsDaily
Get an evening report of Shippo labels and postagetoday, 9:00Succeeded
Email · Shippo labelsShippo today: 23 labels, $187.40 USPS: 17 labels, $109.65 · UPS: 6 labels, $77.75

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 Shippo 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.
new_label_created_log.pyexample
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?
Only if the refund is applied in Shippo before the report runs. The summary reads transactions as they stand, so a label voided later in the day will still be counted until the next report accounts for it.
Which currency is used for the total?
The currency Shippo reports on each transaction, usually your account currency. If you ship in several, totals are listed separately and never mixed. Mixing dollars and pounds in one number would be misleading, so each currency gets its own total line.
Can I get the list of individual labels too?
Yes. The email can include each label with tracking number, carrier, service and cost, in addition to the totals. That makes it easier to spot a single expensive label, though it makes the message longer.
What permissions does it need?
live API token. 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 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.