Fridays at 17:00
Weekly revenue summary from Stripe
Every Friday at 17:00 you get an email with the week's revenue, new customers and cancellations.
- Runs
- Fridays at 17:00
- Apps
- Stripe, Email to you
- AI
- Not needed
- Access
- Stripe read-only restricted key; email to you
Send this to your assistant
Create a ClickRuntime automation: every Friday at 5pm, email me this week's Stripe revenue, the number of new customers and how many subscriptions were cancelled.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Most founders and finance leads know their revenue roughly, but not this week's number, how it compares with last week, or how many customers cancelled. Getting those numbers means logging into Stripe, setting date filters and doing the sums by hand, so it often doesn't happen until the end of the month.
This template does the sums for you every Friday and sends them to your inbox: revenue, new customers and cancellations, with the change from last week. You end each week knowing exactly where the business stands.
What you get out of it
Spot trends early
A drop in revenue or a rise in cancellations shows up in the first week, not at the end of the quarter, when it is much harder to fix.
No dashboards to check
The numbers arrive in your inbox. Nobody has to remember to open Stripe or build a report.
One consistent number
The same calculation runs every week, so comparisons are fair and the team stops arguing about which figure is right.
Easy to share
Forward the email to co-founders or investors, or ask your assistant to send it to the whole team.
Safe with your Stripe data
A read-only key is enough. The automation can't issue refunds, change prices or touch customers.
How it works
What happens, step by step
On Friday at 17:00 in your timezone, the script reads the week's charges and subscriptions from Stripe.
It totals revenue and counts new customers and cancellations.
It emails you the numbers, compared with the previous week.
Before it runs live
- Save a restricted Stripe key (read-only) as STRIPE_API_KEY
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 Stripe and Email to you steps into one automation
Under the hood
The code that runs this automation
import stripe, time
from clickruntime import on_trigger, notify, state, credentials
@on_trigger
def run(event):
stripe.api_key = credentials.secret("STRIPE_API_KEY")
since = int(time.time()) - 7 * 86400
charges = stripe.Charge.list(created={"gte": since}, limit=100).auto_paging_iter()
revenue = sum(c.amount for c in charges if c.paid and not c.refunded) / 100
new = len(stripe.Customer.list(created={"gte": since}, limit=100).data)
cancelled = len(stripe.Subscription.list(status="canceled", created={"gte": since}).data)
last = state.get("revenue") or revenue
state.set("revenue", revenue)
change = (revenue - last) / last * 100 if last else 0
notify.email_me("Weekly numbers",
f"Revenue: ${revenue:,.0f} ({change:+.1f}%)\nNew customers: {new}\nCancelled: {cancelled}")FAQ
Common questions
Is my Stripe key safe?
Can it post to Slack instead?
Can I add other numbers, like refunds or MRR?
Can it run on a different day or monthly?
Which currency does it use?
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
Get yesterday's revenue every morning
Each morning you see yesterday's charges, refunds and new subscriptions in one message.
See how it worksGet a monthly revenue report
On the 1st you get last month's gross, refunds, net and new vs cancelled subscriptions, compared with the month before.
See how it worksSee overdue invoices every week
Each Monday you get open invoices past their due date, oldest first.
See how it worksKeep exploring
Set up “Weekly revenue summary from Stripe” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.