Skip to content
Proud to collaborate with Microsoft for Startups

identity.app.set-end-user-agent ​

Write a single scalar AgentConfig pointer on one Identity App; two products need two Identity Apps

Point an identity app at the org-owned AgentConfig that backs its end-user agent.

This writes a single scalar pointer. Overwrite replaces; there is no list/map/product key. Two products (e.g. App vs Legacy) need two Identity Apps and two identity.app.set-end-user-agent calls onto distinct org-owned AgentConfigs — do not share one app. Callers / UIs must not treat AgentConfig UUID as an end-user selector; agents.end-user.ask refuses caller-supplied agent_config_uuid.

Inputs:

  • actor, organization_uuid (required)
  • identity_app_uuid: the app (required)
  • end_user_agent_config_uuid: uuid of an AgentConfig owned by this org, or null to clear (turns the end-user agent surface off). Omitting the field is rejected — pass null explicitly to unset.

Outputs: identity_app_uuid, end_user_agent_config_uuid, previous_end_user_agent_config_uuid, enabled (whether an agent is now set)

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
end_user_agent_config_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
identity_app_uuiduuidYes——
end_user_agent_config_uuiduuidNo——
previous_end_user_agent_config_uuiduuidNo——
enabledbooleanNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
reasonstringNo——

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.app.set-end-user-agent",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value"
  }
}