The moment it happens
Post new subscriptions and other events to Discord and Telegram
Each new subscription or event from your tools shows up straight away in your Discord and on Telegram, with a running daily count.
- Runs
- The moment it happens
- Apps
- Discord, Telegram
- AI
- Not needed
- Access
- send messages in both
Send this to your assistant
Create a ClickRuntime automation: when LemonSqueezy sends a subscription event to this link, post a summary to my Discord and Telegram.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
An indie developer sells a desktop app through LemonSqueezy and runs its community on Discord. To see how sales are going she logs in to the billing dashboard a few times a day, which is distracting, and she misses the small wins that keep her motivated. Her co-founder, who handles support, only learns about new customers when they write in.
A message in Discord and on Telegram for every new subscription keeps both founders aware of sales as they happen, without anyone refreshing a dashboard.
What you get out of it
See sales as they happen
Every new subscription is announced within seconds. You know how a launch or a newsletter is landing on the day, not at the end of the month.
Both founders stay in the loop
Discord keeps the team informed, and Telegram reaches you on your phone. Nobody has to share billing logins to know what is going on.
Fewer dashboard visits
With sales arriving in chat, there is no reason to keep checking the billing site. That is time back for building the product.
A running count for the day
Each message includes how many events have come in today. It is a simple pulse of the business you can glance at.
Works for any event source
Any tool that sends a webhook, such as a form, a store or a booking system, can post here. One link handles them all.
How it works
What happens, step by step
When LemonSqueezy or another tool sends an event to your trigger link, ClickRuntime receives it straight away.
It checks the event really came from your store and picks out the product, plan and customer.
It adds one to today's count of events.
A short summary is posted to your Discord channel and sent to you on Telegram.
Before it runs live
- Connect Discord
- Connect Telegram
- 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 Discord and Telegram steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http, state, verify
DISCORD_CHANNEL_ID = "your-discord-channel-id"
TELEGRAM_CHAT_ID = "your-telegram-chat-id"
@on_event
def handle(event):
if not verify.generic_hmac_sha256(event.body, event.header("X-Signature") or "", credentials.secret("LEMONSQUEEZY_SIGNING_SECRET")):
return {"skipped": "bad signature"}
body = event.json or {}
name = body.get("meta", {}).get("event_name", "event").replace("_", " ")
attrs = body.get("data", {}).get("attributes", {})
state.increment_metric("events", ttl_days=90)
points = state.query_metric("events")
today = points[-1]["value"] if points else 1
text = f"💸 {name}: {attrs.get('product_name', '')} {attrs.get('variant_name', '')} — {attrs.get('user_name', '')} (#{today} today)"
http.post(f"https://discord.com/api/v10/channels/{DISCORD_CHANNEL_ID}/messages",
headers={"Authorization": f"Bot {credentials.secret('DISCORD_BOT_TOKEN')}"}, json={"content": text})
http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage", json={"chat_id": TELEGRAM_CHAT_ID, "text": text})
return {"event": name}FAQ
Common questions
Which LemonSqueezy events can it announce?
Is the webhook checked to make sure it is genuine?
Does the message include the customer's details?
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
Send error alerts to Discord and Telegram
When a job or system fails, your team sees the details in Discord and you get them on Telegram, wherever you are.
See how it worksGet Discord and Telegram alerts when Notion statuses change
When an item in your Notion database changes status, a message goes to Discord and Telegram saying what moved and where.
See how it worksAnnounce new blog posts on Discord and Telegram
Each article you publish is posted to your Discord server and Telegram channel with its title, link and a short teaser.
See how it worksKeep exploring
Set up “Post new subscriptions and other events to Discord and Telegram” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.