What is Clerk?
Clerk is a modern authentication platform that provides drop-in user management for web applications. It handles sign-up, sign-in, user profiles, and security.Connecting Clerk
Step 1: Get Your Webhook URL
- Go to Settings → Integrations in Sequenzy
- Click Connect next to Clerk
- Copy the webhook URL shown (format:
https://api.sequenzy.com/api/incoming-webhooks/clerk/{your-company-id})
Step 2: Create Webhook in Clerk
- Go to your Clerk Dashboard
- Navigate to Developers in the left sidebar. Click on Webhooks
- Click Add Endpoint
- Paste your Sequenzy webhook URL
- Select these events:
user.createduser.updateduser.deleted
- Click Create
- Copy the Signing Secret (format:
whsec_xxxxxxxxx)
Step 3: Complete Connection in Sequenzy
- Return to Sequenzy’s Clerk connection modal
- Paste the Signing Secret from Clerk
- Click Connect Clerk
What Gets Synced
When a user signs up through Clerk, Sequenzy automatically:- Creates a new subscriber with their email
- Syncs profile data (name, username, etc.)
- Triggers the
contact.subscribedinternal event
Synced Attributes
| Attribute | Source |
|---|---|
email | Primary verified email address |
firstName | Clerk first name |
lastName | Clerk last name |
username | Clerk username |
clerkUserId | Clerk user ID |
Tracked Events
| Event | Triggered When |
|---|---|
contact.subscribed | New user created in Clerk |
contact.unsubscribed | User deleted in Clerk |
Using with Automations
Welcome Sequence
Create an automation triggered bycontact.subscribed to send a welcome sequence to every new user:
- Go to Automations → Create New
- Set trigger to Event Received →
contact.subscribed - Add your welcome email sequence
- Activate the automation
Personalization
Use the synced attributes in your emails:User Lifecycle
| Clerk Event | Sequenzy Action |
|---|---|
| User created | Subscriber added, contact.subscribed triggered |
| User updated | Subscriber attributes updated |
| User deleted | Subscriber unsubscribed |
Troubleshooting
Users Not Syncing
- Verify the webhook URL is correct in Clerk
- Check that all required events are selected (
user.created,user.updated,user.deleted) - Test by creating a new user in Clerk and checking if they appear in Sequenzy subscribers
Invalid Signature Errors
If webhooks are failing with signature errors:- Verify you copied the complete signing secret from Clerk
- Ensure the secret starts with
whsec_ - Try recreating the webhook in Clerk with a new secret
Missing Profile Data
Clerk only syncs data that exists in the user profile. IffirstName is empty in Clerk, it won’t appear in Sequenzy. Ensure your Clerk sign-up flow collects the data you need.
FAQ
Does this sync existing Clerk users?
Does this sync existing Clerk users?
No, only new users created after connecting will sync. Existing users need to be imported manually or will sync when their profile is updated.
Can I sync users to specific lists?
Can I sync users to specific lists?
Currently, Clerk users are added to your general subscriber list. You can use
tags or automations to organize them after creation.
What if a user doesn't have an email?
What if a user doesn't have an email?
Users without an email address are skipped. Sequenzy requires an email to
create a subscriber.
Is this included in my plan?
Is this included in my plan?
Yes, Clerk integration is included at no extra cost.