data.identity.end-user.persist ​
Register an end-user for an app's identity tenant
Insert an EndUser row (seated=False).
Input: identity_app_uuid (required), email (required), actor (optional). Output: end_user_uuid, email, status, seated, created_at, persisted.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-identity |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
identity_app_uuid | uuid | Yes | — | — |
email | string | Yes | — | — |
actor | string | No | — | — |
status | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
end_user_uuid | uuid | Yes | — | — |
account_uuid | uuid | No | — | — |
email | string | Yes | — | — |
status | string | Yes | — | — |
seated | boolean | Yes | — | — |
created_at | string | Yes | — | — |
persisted | boolean | Yes | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | complete | Persist end-user |
completed | No | Yes | Yes | — | Persisted |
failed | No | Yes | No | — | Persist failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | complete | completed | — |
pending | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.identity.end-user.persist",
"initial_data": {
"identity_app_uuid": "value",
"email": "value"
}
}