The moment it happens
Announce new Chargebee subscriptions in Slack
Each new subscription is posted with the customer, plan and amount as soon as it's created.
- Runs
- The moment it happens
- Apps
- Chargebee
- AI
- Not needed
- Access
- read-only key; admin sets webhook
Send this to your assistant
Create a ClickRuntime automation: when a Chargebee subscription is created, post the customer name, plan and amount to #new-customers in Slack.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Somebody has to notice when a customer actually subscribes. In many companies the news sits in a Chargebee dashboard that sales, customer success and the founder rarely open, so a new annual plan from a long-chased prospect can go unremarked for days, and the welcome call or onboarding invite is late.
When Chargebee sends a subscription created event, this posts a message to the Slack channel you pick the moment it arrives. The message carries the plan name and the amount, so the channel reads like a live scoreboard without anyone exporting a report.
It suits small revenue teams who want a visible win log, and finance teams who want a quick cross-check that every new subscription is a real one. Each post is generated from the event itself, so it is accurate the moment it appears and nobody has to type up the news or remember to share it.
What you get out of it
Celebrate and follow up the same hour
A subscription shown in Slack within seconds lets customer success send the welcome note while the buyer is still thinking about your product. Waiting for a weekly report means the best moment for a personal touch has already passed.
Put plan and amount where people look
Showing the plan and price in the message means nobody has to open Chargebee to understand the deal. A rep sees at a glance whether it was the starter tier or the enterprise plan, and reacts accordingly.
Catch odd subscriptions early
If a plan appears that you retired, or an amount is far lower than list price, the channel makes the mistake visible within minutes. Fixing a misconfigured checkout link right away is far cheaper than reconciling it at month end.
Keep a running record of signups
Scrolling the Slack channel gives a dated, searchable list of every new subscription. It is handy when someone asks which week a big customer joined, without querying billing data. It also settles later arguments about who joined and when, since the channel shows the order of events with timestamps.
Protect the webhook with basic auth
The event endpoint requires basic authentication, so only Chargebee can post to it. That keeps spoofed messages out of your sales channel and means the alerts can be trusted at face value.
How it works
What happens, step by step
When a new subscription is created in Chargebee, Chargebee tells ClickRuntime straight away.
ClickRuntime reads the customer name, the plan and the price.
A message goes to your #new-customers Slack channel with the customer, the plan and the amount.
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_created":
return {"posted": False}
c, sub = body["content"]["customer"], body["content"]["subscription"]
item = sub["subscription_items"][0]
name = f"{c.get('first_name', '')} {c.get('last_name', '')}".strip() or c.get("company") or c["email"]
notify.slack(f"๐ New subscription: {name} on *{item['item_price_id']}*, "
f"{sub['currency_code']} {item.get('amount', 0) / 100:,.2f}", channel="#new-customers")
return {"subscription": sub["id"]}FAQ
Common questions
Does it fire for trials and renewals as well?
Can I post only plans above a certain price?
What do I set up in Chargebee?
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 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.
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 โAnnounce new Chargebee subscriptions in Slackโ from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.