FlowDSL Node Catalog
Create Pending User
Create an inactive user account. Used by registration flows that require verification before activation.
Overview
| Property | Value |
|---|---|
| Node ID | redelay/users-create-pending |
| Kind | action |
| Module | users-flowdsl |
| Repo | go-framework |
| Module ref | users |
| Handler | github.com/redelay/go-framework/modules/users/flowdsl.handlers.createPending |
Description
Creates a user with is_active=false. The auth module rejects
login for inactive accounts, so the user cannot authenticate
until a subsequent redelay/users-activate step (typically
driven by a verification token consumption flow) flips
is_active to true.
Templates that need this:
- users/registration-email-confirm
- users/registration-sms-confirm
- users/registration-dual-confirm
Inputs
UserData— Email, name, password, and profile fields
Outputs
User— Created (inactive) user recordError— Validation or conflict error
Emits
Event topics this node may publish:
user.created
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: action
action_ref: redelay/users-create-pending