The moment it happens
Get a Slack alert with the MRR lost when a customer cancels
Every cancellation is flagged with how much monthly revenue it removes, so account owners can step in.
- Runs
- The moment it happens
- Apps
- Chargebee
- AI
- Not needed
- Access
- read-only
Send this to your assistant
Create a ClickRuntime automation: when a Chargebee subscription is cancelled, post the customer, plan and the MRR we lose to #churn in Slack.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Subscription businesses on Chargebee do not lose revenue in one dramatic event. They lose it through small cancellations and downgrades spread across the month, each recorded in Chargebee and none announced to the people who could do something about it. A customer who downgrades from the Business plan to Starter is a warning that nobody reads until the revenue report shows the dip.
When a Chargebee subscription is cancelled or its plan changes to a lower one, Chargebee notifies ClickRuntime straight away and a message goes to your channel. It carries the customer, the plan and the type of change, so the team knows who left or shrank and when, without opening Chargebee.
Customer success and finance teams in SaaS and membership businesses watch this feed more closely than any report.
What you get out of it
Save attempts happen while the customer is reachable
A personal reply within hours of a cancellation, or even before it takes effect, can change a mind. A discount or a quick call recovers a share of customers who would otherwise be gone for good.
Downgrades are treated as early warnings
A customer moving to a cheaper plan often signals trouble, such as low usage or budget pressure. Reaching out then is far better than waiting for a full cancellation. That makes pacing against targets possible before month end, when corrective action still counts.
Revenue impact is visible immediately
Seeing each change as it happens shows the real pace of churn. Finance learns of shrinking recurring revenue during the month, not weeks later. Contacting someone shortly after they cancel gives a much better chance of learning the real reason, and honest feedback about price or missing features guides product decisions.
Reasons can be collected promptly
Contacting someone soon after they cancel gives a much better chance of learning why. Honest feedback about price, missing features or support guides product decisions. Product and sales can respond to a pattern, such as a pricing change or a weak feature, and not only to single accounts.
Patterns are noticed across customers
Several cancellations on the same plan or from the same segment stand out in a channel. Product and sales can respond to the pattern, not just to individual losses. A short note from the right person can still bring back a customer who was only comparing options.
How it works
What happens, step by step
When a customer cancels a subscription in Chargebee, Chargebee tells ClickRuntime straight away.
ClickRuntime works out how much monthly recurring revenue the cancellation loses.
A message goes to your #churn Slack channel with the customer, the plan and the revenue lost.
Before it runs live
- Connect Chargebee
- Paste your automation's link into the other app's webhook settings
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
- 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 Chargebee steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, notify
def from_chargebee(event):
return event.header("Authorization") == credentials.secret("CHARGEBEE_WEBHOOK_AUTH") # "Basic ..." set on the webhook
@on_event
def handle(event):
if not from_chargebee(event):
return {"posted": False, "reason": "unauthorised"}
body = event.json
if body["event_type"] != "subscription_cancelled":
return {"posted": False}
c, sub = body["content"]["customer"], body["content"]["subscription"]
name = c.get("company") or f"{c.get('first_name', '')} {c.get('last_name', '')}".strip() or c["email"]
plan = sub["subscription_items"][0]["item_price_id"]
notify.slack(f"📉 {name} cancelled *{plan}*. MRR lost: {sub['currency_code']} {sub.get('mrr', 0) / 100:,.2f}",
channel="#churn")
return {"subscription": sub["id"]}FAQ
Common questions
Does it alert on cancellations scheduled for the end of a billing period?
How is a downgrade detected?
Can I limit it to high-value customers?
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
Announce new Chargebee subscriptions in Slack
Each new subscription is posted with the customer, plan and amount as soon as it's created.
See how it worksReport failed Chargebee payments in Slack
One message per failed invoice with the customer, amount and reason, even while dunning keeps retrying.
See how it worksPost Chargebee plan upgrades and downgrades to Slack
When a Chargebee subscription changes plan, Slack gets a message saying whether it was an upgrade or a downgrade, with the old and new plan and the MRR change.
See how it worksKeep exploring
Set up “Get a Slack alert with the MRR lost when a customer cancels” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.