Integrations / Developer tools

Clerk

Look up users and organizations, update user metadata, send invitations, and trigger workflows from Clerk user, session and organization events.

8 tools 19 trigger events

Tools

clerk.search_users

Search users by a partial match on email, phone, username, name or ID, or by exact email addresses, newest first. User IDs look like user_2x4B….

queryemail_addresslimit

clerk.get_user

Get a user by ID, e.g. user_2x4B…, with their metadata.

user_id*

clerk.list_user_organizations

List the organizations a user belongs to, with their role in each. User IDs look like user_2x4B….

user_id*limit

clerk.list_organizations

List or search organizations by name, slug or ID, newest first. Organization IDs look like org_2x4B….

queryinclude_members_countlimit

clerk.update_user_metadata writes

Deep-merge values into a user's public or private metadata; set a key to null to remove it. User IDs look like user_2x4B….

user_id*public_metadataprivate_metadata

clerk.create_invitation writes

Invite an email address to sign up for the application and send the invitation email.

email_address*public_metadataredirect_urlexpires_in_days

clerk.api_get

Send a GET request to any Clerk API path under https://api.clerk.com/v1 and return the response. For endpoints the named tools don't cover.

path*params

clerk.api_request writes

Send a POST, PUT, PATCH or DELETE request to any Clerk API path under https://api.clerk.com/v1.

method*path*paramsbody

Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any Clerk API path.

Connect

  1. In the Clerk Dashboard, open API keys and copy the secret key of the instance your workflows use (sk_live_… for production, sk_test_… for development).
  2. Paste it as the connection's secret key.
  3. To trigger workflows, open Webhooks in the Clerk Dashboard, add an endpoint with the URL shown on the connection page, subscribe to the events you need, and paste the endpoint's signing secret (whsec_…) on the connection.

Credentials

Secret key Webhook signing secret

Clerk API docs

Triggers

In the Clerk Dashboard, open Webhooks, add an endpoint with this URL and the events your workflows use, then select the endpoint and paste its signing secret (whsec_…) on this connection.

Events

user.createduser.updateduser.deletedsession.createdsession.endedsession.revokedorganization.createdorganization.updatedorganization.deletedorganizationMembership.createdorganizationMembership.updatedorganizationMembership.deletedorganizationInvitation.createdorganizationInvitation.acceptedorganizationInvitation.revokedwaitlistEntry.createdsubscription.createdsubscription.updatedsubscription.pastDue
trigger
kind: clerk connection: clerk events: [user.created]

Your next automation is one sentence away.

14-day free trial with $5 of built-in AI included. Cancel anytime.