Skip to content

The moment it happens

Get a Slack ping for new Lemon Squeezy subscribers

You know right away when someone starts a subscription, and on which plan.

Runs
The moment it happens
Apps
Lemon Squeezy
AI
Not needed
Access
API key

Send this to your assistant

Create a ClickRuntime automation: whenever a Lemon Squeezy subscription is created, send me a Slack message in #subscribers with the customer email, product and variant.

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

For a software or membership business, a new subscriber is worth much more than a single sale, since it is revenue that repeats every month. Founders want to welcome each one, and customer success wants to know who to watch during their first week. Yet in Lemon Squeezy a new subscription is easy to confuse with ordinary orders, and the first sign is often a payout line weeks later.

When a subscription is created in Lemon Squeezy, an event arrives in ClickRuntime and a message is posted to Slack with the customer, the plan and the billing interval. The team can see at a glance who just committed to a recurring plan and reach out with a welcome while the purchase is still on their mind.

It is a good fit for SaaS founders and community owners who onboard new subscribers personally.

What you get out of it

  • Onboarding starts at the right time

    A subscriber is most receptive in the first hour. A personal welcome with a link to a getting started guide is far more effective then than a generic email that arrives later.

  • Recurring revenue is tracked as it grows

    Seeing each new subscriber in a channel gives a running sense of monthly recurring growth. It also helps you notice a stall long before a monthly report does. You can then adjust pricing pages with evidence behind you.

  • Plan mix shows early

    If most new subscribers choose the cheapest plan or the annual one, the channel shows the pattern within days. That is useful when you adjust pricing or highlight a plan on the page.

  • Early churn can be prevented

    Customer success can check in with new subscribers in their first week, which is when most cancellations begin. A name and plan in Slack makes it easy to build that habit.

  • Subscriptions stay distinct from one-off sales

    Separating subscriber alerts from order alerts keeps the signal clean. You can track recurring customers on their own, which is difficult in a mixed feed of purchases. That gives you a clean read on the recurring side of the business.

How it works

What happens, step by step

  1. When someone starts a subscription in Lemon Squeezy, Lemon Squeezy tells ClickRuntime straight away.

  2. ClickRuntime reads the subscriber email, the product and the billing plan.

  3. A message goes to your #subscribers Slack channel with the subscriber's email, the product and the plan, such as Yearly.

Before it runs live

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

What you get

RunsThe moment it happens
Get a Slack ping for new Lemon Squeezy subscribersjust nowSucceeded
Slack · #subscribersNew subscriber: lee@northwind.example on *Plausible Notes* (Yearly)

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 Lemon Squeezy 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.
new_subscription_alert_lemon_squeezy.pyexample
from clickruntime import on_event, credentials, notify

import hashlib, hmac

def signed(event):
    digest = hmac.new(credentials.secret("LEMONSQUEEZY_SIGNING_SECRET").encode(), event.body.encode(),
                      hashlib.sha256).hexdigest()
    return hmac.compare_digest(digest, event.header("X-Signature") or "")

@on_event
def handle(event):
    if not signed(event):
        return {"posted": False, "reason": "bad signature"}
    body = event.json
    if body["meta"]["event_name"] != "subscription_created":
        return {"posted": False}
    sub = body["data"]["attributes"]
    notify.slack(f"New subscriber: {sub['user_email']} on *{sub['product_name']}* ({sub['variant_name']})",
                 channel="#subscribers")
    return {"subscription": body["data"]["id"]}

FAQ

Common questions

How is a new subscription different from a new order?
In Lemon Squeezy, a subscription is a recurring agreement that creates its own record and events, while an order is a single payment. The first payment of a subscription also creates an order, but this alert fires on the subscription itself, so it is not repeated for renewals.
Does a trial start count as a new subscription?
If your plan has a free trial, Lemon Squeezy still creates a subscription when it starts, and the event can carry the trial status. The post can show that the subscriber is on trial, so you know whether any money has yet been taken.
Can the post show the subscriber's country or email domain?
It can include any customer detail Lemon Squeezy sends with the event, such as name, email and country. An email domain can also be pulled out to see whether the signup uses a company address, which some teams use to spot business customers.
What permissions does it need?
API key. 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 for each event the app sends.
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 a Slack ping for new Lemon Squeezy subscribers” from your assistant

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