Skip to content

Collects as they arrive, acts daily

See yesterday's abandoned carts each morning

One email lists the carts shoppers left, with customer, items and value, plus the total at stake.

Runs
Collects as they arrive, acts daily
Apps
BigCommerce
AI
Not needed
Access
Carts read-only (Information & settings read for hooks)

Send this to your assistant

Create a ClickRuntime automation: keep track of abandoned carts in my BigCommerce store and every morning at 8am email me each cart's customer, items and total, with the combined value at the top.

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 BigCommerce store owner knows that carts are abandoned, but not who, what or how much. Checking the abandoned cart list each morning means clicking through carts one at a time, and most days it does not happen. A shopper who left a 480 dollar order behind at 11 pm gets no follow-up, the store never learns that one product's shipping cost drove people away, and recoverable revenue is lost without a note.

When a cart is abandoned, BigCommerce sends a webhook, and ClickRuntime stores the cart ID. Each morning it fetches every stored cart with the customer, items and total, emails you the list and the total value, then clears the stored IDs. You begin the day with a clear view of what was left behind.

Owners with a small team and no marketing automation can use the list to follow up personally.

What you get out of it

  • Recoverable sales are followed up

    A personal email to a shopper who left a large cart can bring the order back. Even a small recovery rate pays for the minutes it takes. Even a small recovery rate pays for the minutes that a personal email takes.

  • Patterns in what people leave behind appear

    If the same product or a high shipping cost appears in many abandoned carts, you have a reason to change it. The list is a free source of conversion insight.

  • The value of lost sales is visible

    A daily total shows how much money sat in carts. Seeing a number such as 1,900 dollars makes it easier to justify time on checkout improvements. A number such as 1,900 dollars makes it easier to justify time spent on checkout improvements.

  • No daily clicking through carts

    One email replaces opening each cart in the admin. The time saved goes to following up with customers or improving the store. That time goes to following up with shoppers or improving the store itself.

  • Checkout problems are spotted quickly

    A sudden jump in abandoned carts might point to a broken payment method or a shipping error. You notice the day after, not at month end. You notice the day after the problem starts, not at the end of the month.

How it works

What happens, step by step

  1. Throughout the day, each time BigCommerce reports an abandoned cart, ClickRuntime notes it down.

  2. Every morning at 8, it looks up each saved cart to see who the customer is, what was in it and what it was worth.

  3. You get one email with the number of abandoned carts, their total value and a line for each cart.

  4. The list is then cleared so the next email only covers new carts.

Before it runs live

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

What you get

RunsCollects as they arrive, acts daily
See yesterday's abandoned carts each morningtoday, 9:00Succeeded
Email · Abandoned carts3 abandoned carts, $412.00 in total - dana@acme.example: 2× Merino beanie (USD 64.00)

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 BigCommerce 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_abandoned_cart_digest.pyexample
from clickruntime import on_event, on_trigger, credentials, http, state, notify

API = "https://api.bigcommerce.com/stores/your-store-hash/v3"

@on_event
def remember(event):
    carts = state.get("carts") or []
    cart_id = event.json["data"]["id"]
    if cart_id not in carts:
        state.set("carts", carts + [cart_id])
    return {"stored": cart_id}

@on_trigger
def digest(event):
    headers = {"X-Auth-Token": credentials.secret("BIGCOMMERCE_TOKEN"), "Accept": "application/json"}
    lines, total = [], 0.0
    for cart_id in state.get("carts") or []:
        resp = http.get(f"{API}/carts/{cart_id}", headers=headers)
        if resp.status_code == 404:
            continue  # converted or expired
        cart = resp.json()["data"]
        items = ", ".join(f"{i['quantity']}× {i['name']}" for i in cart["line_items"]["physical_items"])
        total += cart["cart_amount"]
        lines.append(f"- {cart.get('email') or 'guest'}: {items} ({cart['currency']['code']} {cart['cart_amount']:,.2f})")
    state.set("carts", [])
    if lines:
        notify.email_me(f"{len(lines)} abandoned carts, ${total:,.2f} in total", "\n".join(lines))
    return {"carts": len(lines), "value": total}

FAQ

Common questions

Does it include customers' email addresses?
When a shopper has entered their email at checkout, the cart includes it and the digest shows it, so you can write to them. Carts from visitors who left before entering an email appear without contact details.
What counts as an abandoned cart?
BigCommerce marks a cart as abandoned after a period of inactivity once the shopper has begun checkout. The webhook fires at that point, and ClickRuntime stores the cart. Carts that are later completed as orders can be removed from the list.
Why store the cart IDs instead of listing them in the morning?
The webhook tells ClickRuntime about each abandonment as it happens, and the details are fetched at send time. This ensures the digest has current cart contents and avoids the need to search the whole cart list every morning.
What permissions does it need?
Carts read-only (Information & settings read for hooks). 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 “See yesterday's abandoned carts each morning” from your assistant

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