Skip to content
Recued
Menu
← Back to recipes

Invite WorkOS user to organization

by recued-core v1

Approval-gated WorkOS invitation workflow. It reads the destination organization, checks matching existing users and invitations by email, sends exactly one invitation through recued-core.workos, and returns the invite result. It never creates users, updates memberships, revokes invitations, deletes records, authenticates users, exchanges tokens, exports audit logs, or calls arbitrary WorkOS APIs.

How it works 13 steps

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

Process (13 steps)
organization_id_trim trim
Trim whitespace from setting organization id
email_trim trim
Trim whitespace from setting email
role_slug_trim trim
Trim whitespace from setting role slug
has_organization compare
Check if organization id trim has data
has_email compare
Check if email trim has data
ready all
Check if all conditions are true
organization ?
matching_users ?
existing_invitations ?
invite ?
skip: step.ready not_equal true
matching_user_count count
Count items in matching users result data
existing_invitation_count count
Count items in existing invitations result data
card to_summary
Format results as a summary card
Settings 6 configurable

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

email setting =
workos setting =
role slug setting = member
expires in days setting = 7
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 Workos connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

workos workosidentityorganizationinvitationapprovalonboardingpack:workos

Details

13 steps 6 configurable settings recipe_id: invite-workos-user-to-organization