Skip to content
Proud to collaborate with Microsoft for Startups

identity.user.update ​

Update the current user's profile (name, username, avatar_url)

Update the current user's profile fields.

Inputs:

  • actor: Cognito sub or user UUID (required)
  • name: Display name (optional)
  • username: Username (optional)
  • avatar_url: Avatar URL (optional)

Outputs (terminal state_data):

  • user_uuid
  • updated_fields: list of field names that changed
  • updated_at

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidNo——
namestringNo——
usernamestringNo——
avatar_urlstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
user_uuiduuidYes——
updated_fieldslistYes——
updated_atdatetimeYes——
actorstringNo——
organization_uuiduuidNo——
namestringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "identity.user.update",
  "initial_data": {
    "actor": "value"
  }
}