The moment it happens
Get an email when a team creates an organization
You hear about each new organization as soon as it's created, so you can reach out to the team.
- Runs
- The moment it happens
- Apps
- Clerk
- AI
- Not needed
- Access
- secret key
Send this to your assistant
Create a ClickRuntime automation: whenever someone creates a new organization in Clerk, email me the organization name and the person who created it.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
When an app sells to teams rather than individuals, the moment someone creates an organization is often the best buying signal you have. A person who signs up alone may be exploring. A person who creates an organization named after their company is setting up for colleagues, and that is when a founder or an account executive should be reaching out.
Whenever Clerk reports that an organization was created, this sends you an email with the organization's details. It arrives within moments, so you can see a team form while the creator is still inside your product.
It is mainly useful for B2B products on Clerk with a self-serve free or trial tier, where sales needs to know which signups are really teams. The email goes out as the event arrives, so the details are as current as the Clerk record itself, including the name the creator typed in.
What you get out of it
Spot team accounts, not just users
A new organization is a stronger signal than a new user. Getting an email for each one lets sales concentrate effort on groups likely to invite colleagues and eventually pay. Teams are where most revenue comes from in B2B products, so each one is worth a short, personal look from someone on the commercial side.
Reach out while setup is underway
A short, friendly note sent in the first hour, offering help with onboarding, lands far better than one sent next week when the creator has already stalled or switched to a competitor.
Understand what kinds of companies sign up
Reading the organization names as they arrive gives you a qualitative sense of your audience. You may notice a cluster of agencies or schools you had not planned for. It can reveal customer segments that merit their own landing page, pricing option or integration, long before analytics shows them.
Catch spam organizations quickly
If an odd batch of organizations appears with nonsense names, you notice within minutes. Cleaning them up early keeps analytics and billing tidy and stops abuse before it spreads. A quick purge keeps your user and organization numbers honest, which matters when you report growth to investors.
Keep the founder close to the product
Early-stage founders often want to see every team that arrives. An email per organization is a lightweight way to stay in touch with customers without building an internal dashboard. It keeps the founding team aware of who is arriving, even when no one has time to read through the Clerk dashboard.
How it works
What happens, step by step
When a new organization is created in Clerk, Clerk tells ClickRuntime straight away.
You get an email with the organization's name and who created it, so you can reach out to the team.
Each organization is reported once, when it is first created.
Before it runs live
- Connect Clerk
- 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 Clerk steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http, notify
@on_event
def handle(event):
payload = event.json or {}
if payload.get("type") != "organization.created":
return {"sent": False}
org = payload["data"]
creator = http.get(f"https://api.clerk.com/v1/users/{org['created_by']}",
headers={"Authorization": f"Bearer {credentials.secret('CLERK_SECRET_KEY')}"}).json()
email = (creator.get("email_addresses") or [{}])[0].get("email_address", "unknown")
notify.email_me(f"New organization: {org['name']}",
f"{org['name']} was created by {creator.get('first_name') or ''} {creator.get('last_name') or ''} ({email}).")
return {"sent": True}FAQ
Common questions
Is this triggered by organizations or by users?
Which Clerk setup is needed?
Can I send it to Slack instead of email?
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
Post each new Clerk user to Slack
The moment someone signs up, their name and email show up in your channel.
See how it worksGet last week's signup total every Monday
Each Monday you see how many people signed up the previous week and whether it went up or down.
See how it worksPost new orders and sign-ups to Slack
When something happens in your shop, app or form, the details land in the right channel straight away.
See how it worksKeep exploring
Set up “Get an email when a team creates an organization” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.