Skip to content
Recued
Menu
← Back to recipes

Invite a Clerk organization member

by recued-core v1

Approval-gated Clerk organization invitation workflow for one invitee. It reads the organization and existing matching invitations for context, then calls recued-core.clerk.organization.invitation.create with one email address and role. It does not create users, bulk invite, revoke invitations, mutate roles or permissions, change domains, or call arbitrary Clerk APIs.

How it works 10 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (10 steps)
normalized_organization_id trim
Trim whitespace from setting organization id
normalized_email_address trim
Trim whitespace from setting email address
normalized_role trim
Trim whitespace from setting role
normalized_reason trim
Trim whitespace from setting reason
organization ?
existing_invitations_raw ?
create_invitation ?
existing_invitations default
Apply default
existing_count count
Count items in existing invitations
card to_summary
Format results as a summary card
Settings 9 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

role setting = org:member
clerk setting =
notify setting = true
reason setting =
redirect url setting =
email address setting =
expires in days setting = 30
inviter user id setting =
organization id setting =

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Read your Clerk connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

clerk clerkidentityorganizationsinvitationsonboardingapprovalpack:clerk

Details

10 steps 9 configurable settings recipe_id: invite-clerk-organization-member