Clerk user created
Receive the native user.created event from the Clerk instance connected to your webhook endpoint.
Workflow template
Mark newly created Clerk users for onboarding. A signed user.created event merges fasthook_onboarding: new into that user’s public metadata, then reads the updated user back.
How it works
Receive the native user.created event from the Clerk instance connected to your webhook endpoint.
Use the event’s user ID to deep-merge fasthook_onboarding: new into public_metadata. Other metadata is preserved by the merge.
Retrieve the same user after the metadata update so the workflow output contains the resulting user record.
The result
The workflow changes Clerk metadata. It does not send a welcome email, create an external task or grant the user permissions.
{ "public_metadata": { "fasthook_onboarding": "new" } }
This shows the prepared metadata patch, not the complete user response. Existing metadata is merged, and the final action reads the user back.
Before activation
Connect Clerk and select the same instance for the trigger and both Actions. A user ID from a different instance cannot identify the intended user.
Copy the account’s FastHook endpoint into Clerk Configure → Developers → Webhooks and select user.created. Save that endpoint’s Svix Signing Secret in the FastHook connected account.
Check the Merge onboarding tag metadata field and value before activation. Activate, create a fictional user in that instance, and inspect its public metadata and the final read-user output.
Public metadata is visible to your frontend. Choose a non-secret onboarding marker. The example grants no permissions and should not be treated as an authorization decision. The merge overwrites the same metadata key if it already exists.
Creation-only onboarding. Existing users are not imported. The resulting user.updated event does not retrigger this user.created workflow. Repeated delivery merges the same marker value rather than advancing an onboarding sequence.
Manage the remote endpoint in Clerk. Pausing FastHook stops local delivery but does not disable the dedicated Clerk endpoint. Disable it in Clerk when finished. Retain unrelated endpoints used by other workflows.
No. The action deep-merges the provided public_metadata into the existing metadata. It sets fasthook_onboarding to new, replacing that key’s prior value if one exists.
No. This workflow listens for user.created. Its metadata write can produce user.updated, which is not the selected trigger event.
The prepared marker grants no permissions. It is public metadata, so use it for non-secret application state and review any separate authorization logic yourself.
No. It handles newly received user.created events, merges the marker and reads the user back. There is no historical import or email action in this template.