PropelAuth · Arazzo Workflow

PropelAuth Onboard User Into Org

Version 1.0.0

Create a user, create an organization, and add the user to it with a role.

1 workflow 3 source APIs 1 provider
View Spec View on GitHub AuthenticationIdentityB2BMulti-TenancyAuthorizationRBACSSOSCIMMCPAPIKeysArazzoWorkflows

Provider

propelauth

Workflows

onboard-user-into-org
Create a user and a new org, then add the user to the org with a role.
Provisions a brand new user and a brand new organization, then joins them by adding the user as a member of the organization with the requested role.
3 steps inputs: backendApiKey, email, orgName, role outputs: orgId, userId
1
createUser
Create the new end user from the supplied email address.
2
createOrg
Create the new organization that the user will be added to.
3
addUserToOrg
Add the freshly created user to the new organization with the requested role.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: PropelAuth Onboard User Into Org
  summary: Create a user, create an organization, and add the user to it with a role.
  description: >-
    The canonical B2B onboarding flow for PropelAuth. The workflow creates a new
    end user, provisions a fresh tenant organization, and then makes that user a
    member of the new organization with the supplied role. Every step spells out
    its request inline — including the Backend Integration API key as a bearer
    token — so the flow can be read and executed without opening the underlying
    OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: membersApi
  url: ../openapi/propelauth-members-api-openapi.yml
  type: openapi
- name: organizationsApi
  url: ../openapi/propelauth-organizations-api-openapi.yml
  type: openapi
- name: usersApi
  url: ../openapi/propelauth-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: onboard-user-into-org
  summary: Create a user and a new org, then add the user to the org with a role.
  description: >-
    Provisions a brand new user and a brand new organization, then joins them by
    adding the user as a member of the organization with the requested role.
  inputs:
    type: object
    required:
    - backendApiKey
    - email
    - orgName
    - role
    properties:
      backendApiKey:
        type: string
        description: PropelAuth Backend Integration API key presented as a bearer token.
      email:
        type: string
        description: Email address for the new user.
      orgName:
        type: string
        description: Name of the new organization (tenant) to create.
      role:
        type: string
        description: The role to assign the user within the organization (e.g. "Owner").
  steps:
  - stepId: createUser
    description: Create the new end user from the supplied email address.
    operationId: createUser
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.backendApiKey"
    requestBody:
      contentType: application/json
      payload:
        email: $inputs.email
        email_confirmed: true
        send_email_to_confirm_email_address: false
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      userId: $response.body#/user_id
  - stepId: createOrg
    description: Create the new organization that the user will be added to.
    operationId: createOrg
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.backendApiKey"
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.orgName
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      orgId: $response.body#/org_id
  - stepId: addUserToOrg
    description: Add the freshly created user to the new organization with the requested role.
    operationId: addUserToOrg
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.backendApiKey"
    requestBody:
      contentType: application/json
      payload:
        user_id: $steps.createUser.outputs.userId
        org_id: $steps.createOrg.outputs.orgId
        role: $inputs.role
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      addedStatus: $statusCode
  outputs:
    userId: $steps.createUser.outputs.userId
    orgId: $steps.createOrg.outputs.orgId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/propelauth-onboard-user-into-org-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.