Skip to content
Recued
Menu
← Back to recipes

Create WorkOS organization intake

by recued-core v1

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 7 steps

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 6 configurable

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.

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 workosidentityorganizationtenantonboardingapprovalpack:workos

Details

7 steps 6 configurable settings recipe_id: create-workos-organization-intake