Skip to content

Collects as they arrive, acts daily

Get today's PayPal sales at 7pm

One evening email gives the number of payments and the totals for the day, by currency.

Runs
Collects as they arrive, acts daily
Apps
PayPal
AI
Not needed
Access
REST app

Send this to your assistant

Create a ClickRuntime automation: keep track of my PayPal payments during the day and at 7pm email me how many there were and the total in each currency.

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 shop owner who takes PayPal payments all day has two bad options for knowing how the day went. Watching a notification for every sale is distracting, and logging into PayPal at night means scrolling a transaction list and adding up amounts across USD, EUR and GBP by hand. Most days the number is never worked out, so a slow Tuesday goes unnoticed until the month-end statement.

Each payment is stored as it arrives, so nothing depends on a day-end query. At 19:00 the stored payments are totaled by currency and sent in one email with the count and the sum for each currency. The store is then cleared, so tomorrow's digest begins from zero and never double counts an old sale.

It suits small online sellers, course creators and consultants who want a single end-of-day figure instead of a stream of pings.

What you get out of it

  • One number replaces constant checking

    Instead of glancing at PayPal throughout the day, you read a single email at seven. That frees attention during work hours while still telling you exactly how much money came in before you close up.

  • Currencies are never mixed up

    Totals are kept separate for each currency, so euros are not quietly added to dollars. The figures in the email match what will appear in each PayPal balance, which makes reconciliation far less error-prone.

  • A daily record for the books

    A dated email each evening builds a simple archive of daily takings. When your accountant asks what you earned in a given week, you can add up emails rather than rebuild it from exports.

  • Spot a slow day while it still matters

    Seeing a sharp drop in sales count the same evening lets you check a broken checkout link or a paused ad campaign right away, rather than discovering a week of lost orders at month end.

  • No double counting from clearing the store

    Because the stored payments are emptied after the digest is sent, each sale appears in exactly one email. That keeps running totals trustworthy when you compare days or weeks. A tidy day-by-day trail also makes weekly comparisons honest.

How it works

What happens, step by step

  1. Throughout the day, ClickRuntime notes down each completed PayPal payment as it arrives.

  2. At 7 pm it counts the payments and adds them up by currency.

  3. You get one email with today's payment count and the total in each currency.

  4. The saved payments are then cleared, ready for tomorrow.

Before it runs live

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

What you get

RunsCollects as they arrive, acts daily
Get today's PayPal sales at 7pmtoday, 9:00Succeeded
Email · PayPal todayPayPal today: 23 payments USD: 2,184.00 · EUR: 410.50

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 PayPal 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_sales_digest_paypal.pyexample
from collections import defaultdict
from clickruntime import on_event, on_trigger, state, notify

@on_event
def remember(event):
    body = event.json
    if body.get("event_type") != "PAYMENT.CAPTURE.COMPLETED":
        return {"stored": False}
    payments = state.get("payments") or {}
    amount = body["resource"]["amount"]
    payments[body["resource"]["id"]] = [amount["currency_code"], amount["value"]]  # keyed, so retries don't double count
    state.set("payments", payments)
    return {"stored": True}

@on_trigger
def digest(event):
    payments = state.get("payments") or {}
    totals = defaultdict(float)
    for currency, value in payments.values():
        totals[currency] += float(value)
    lines = [f"{currency}: {total:,.2f}" for currency, total in sorted(totals.items())]
    notify.email_me(f"PayPal today: {len(payments)} payments", "\n".join(lines) or "No payments today.")
    state.set("payments", {})
    return {"payments": len(payments), "totals": dict(totals)}

FAQ

Common questions

Does the digest include refunds?
The digest totals the payments it receives, so a refund is not netted against that day's sales unless refunds are also fed into the store. If you want net figures, tell your AI assistant to subtract refunds in the same email.
What happens on a day with no sales?
You can have it send a short note stating zero payments, or skip sending when the store is empty. Many sellers like the zero note because it confirms that the check still ran and nothing broke.
Can I change the digest time from 19:00?
Yes, the send time is a single setting, and it follows the schedule you choose. Let your AI assistant know a time such as 21:00 in your local zone and approve the updated version when it appears.
What permissions does it need?
REST app. 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 today's PayPal sales at 7pm” from your assistant

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