Skip to content

Collects as they arrive, acts daily

Get a 6pm count of shipped orders and postage

Every evening you know how many orders left today and how much the shipping cost altogether.

Runs
Collects as they arrive, acts daily
Apps
ShipStation
AI
Not needed
Access
API key + secret

Send this to your assistant

Create a ClickRuntime automation: keep track of each ShipStation shipment as it happens, and every day at 6pm email me how many orders shipped and the total shipping cost.

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

At the end of a busy day in a small warehouse, the owner asks how many orders went out and what the postage came to. Nobody knows without opening ShipStation, filtering by ship date and adding up the shipping costs by hand. So the number is guessed, or checked only on Friday, and a day where only half the usual orders shipped passes without comment. The backlog builds overnight, and customers who were promised next-day dispatch find out when the tracking never moves.

Throughout the day the automation stores each shipment as ShipStation reports it. At 6 pm it totals the orders shipped and the postage paid, and emails you the count and the cost. Collecting as events arrive means the figures are complete when the summary is sent. Small fulfillment teams and online sellers use it as an end-of-day check on what actually left the building.

What you get out of it

  • A slow shipping day is noticed that evening

    If only 40 orders shipped against a normal 100, the summary shows it at 6 pm. You can arrange extra help for the next morning before customers start asking where their orders are.

  • Postage cost tracked daily

    The daily postage figure makes a jump from, say, $2.10 to $3.40 per order visible quickly. That might mean a wrong carrier default or a pile of heavy parcels, and it is cheaper to fix on day one.

  • Staff productivity in plain numbers

    Orders shipped per day gives a fair basis for staffing. Owners can see whether a new packing process improved throughput, rather than relying on how busy the warehouse felt. A packer who moved from 60 to 90 orders a day after a layout change has numbers to show for it.

  • A dated record for reconciliation

    Each summary records the count and cost for a specific day. When the carrier invoice arrives, you can compare it day by day and identify discrepancies promptly. If the carrier invoice differs from your daily totals, you can find the specific day that disagrees.

  • Peace of mind at close of business

    Knowing what shipped lets you end the day without wondering. Managers who leave at 6 pm know whether the promises to customers were kept, and what tomorrow's starting backlog looks like.

How it works

What happens, step by step

  1. Each time ShipStation reports that orders have shipped, ClickRuntime notes the order numbers and shipping cost.

  2. At 6pm it adds up how many orders shipped today and the total shipping cost.

  3. You get one email with both figures, and the tally then starts fresh for tomorrow.

Before it runs live

  • Connect ShipStation
  • Paste your automation's link into the other app's webhook settings

What you get

RunsCollects as they arrive, acts daily
Get a 6pm count of shipped orders and postagetoday, 9:00Succeeded
Email · Shipped todayShipped today: 58 orders, $412.30 58 orders shipped with $412.30 in shipping.

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

  • Act only on the items that match your own rules, and skip the rest
  • 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 ShipStation 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_shipped_summary.pyexample
from clickruntime import on_event, on_trigger, credentials, http, state, notify

@on_event
def handle(event):
    body = event.json or {}
    if body.get("resource_type") != "SHIP_NOTIFY":
        return {"skipped": True}
    auth = (credentials.secret("SHIPSTATION_API_KEY"), credentials.secret("SHIPSTATION_API_SECRET"))
    shipments = http.get(body["resource_url"], auth=auth).json()["shipments"]
    today = state.get("today") or {"orders": [], "cost": 0.0}
    for s in shipments:
        today["orders"].append(s["orderNumber"])
        today["cost"] += s["shipmentCost"] or 0
    state.set("today", today)
    return {"stored": len(shipments)}

@on_trigger
def run(event):  # 6pm daily
    today = state.get("today") or {"orders": [], "cost": 0.0}
    count = len(set(today["orders"]))
    notify.email_me(f"Shipped today: {count} orders, ${today['cost']:,.2f}",
                    f"{count} orders shipped with ${today['cost']:,.2f} in shipping.")
    state.delete("today")
    return {"orders": count}

FAQ

Common questions

How does it collect shipments during the day?
ShipStation sends a notification each time a shipment is created, and the automation records it. At 6 pm it adds up what was recorded for that day, so nothing depends on polling at a particular time.
What if a shipment is voided after it was counted?
A voided label is reported by ShipStation as a separate event. The summary can subtract voided shipments so the cost reflects postage actually used, though a void made after 6 pm will appear in the next day's figures.
Can I change the time of the summary?
Yes. 6 pm is only a default, so choose the time that matches your last carrier pickup and set the time zone to your own. Shifting it to 5 pm or 8 pm is a small edit, shown for your approval before it applies.
What permissions does it need?
API key + secret. 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 checks. Checks that find nothing new 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 6pm count of shipped orders and postage” from your assistant

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