Create WorkOS organization intake
Approval-gated WorkOS organization intake workflow. It searches for similarly named organizations, creates exactly one organization through recued-core.workos, and returns the created tenant record. It never deletes organizations, creates users, mutates memberships, authenticates users, exchanges tokens, exports audit logs, or calls arbitrary WorkOS APIs.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (7 steps)
name_trim
trim
Trim whitespace from setting name
external_id_trim
trim
Trim whitespace from setting external id
has_name
compare
Check if name trim has data
similar_organizations
?
create_organization
?
skip: step.has_name not_equal true
similar_count
count
Count items in similar organizations result data
card
to_summary
Format results as a summary card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
name
setting
=
workos
setting
=
metadata
setting
=
[object Object]
domain data
setting
=
external id
setting
=
allow profiles outside organization
setting
=
false
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.