Skip to content
Proud to collaborate with Microsoft for Startups

publisher.profile.upsert ​

Create or update a publisher profile — a named brand look binding accounts, a cover kit, and posting defaults.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-publisher
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—Parent DAG workflow run id (engine-injected when used as a step)
organization_uuidstringYes——
profile_uuidstringNo—Omit to create; pass to update
namestringYes——
purposestringNo——
cover_kit_uuidstringNo——
channel_bindingsjsonNo—Replaces the profile's bindings. Each: platform, connection_uuid, identity_ref, identity_kind, optional parent_page_ref
youtube_default_kindstringNo—shorts
default_privacystringNo—private
default_reviewer_actor_uuidstringNo—Staff-facing: overrides the org's media reviewer
statusstringNo—draft

Output Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—Parent DAG workflow run id (engine-injected when used as a step)
organization_uuidstringYes——
profile_uuidstringNo——
namestringNo——
purposestringNo——
cover_kit_uuidstringNo——
channel_bindingsjsonNo—Replaces the profile's bindings. Each: platform, connection_uuid, identity_ref, identity_kind, optional parent_page_ref
youtube_default_kindstringNo—shorts
default_privacystringNo—private
default_reviewer_actor_uuidstringNo—Staff-facing: overrides the org's media reviewer
statusstringNo——
createdbooleanNo——
bindingsjsonNo——
missing_coversjsonNo—Per platform, cover roles still needed — a warning, not a failure
failure_reasonstringNo—Engine-stamped human-readable failure reason
failed_atstringNo—ISO timestamp when the workflow failed
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerintegerNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
completed_atstringNo——

States ​

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

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
completedSUCCESSPublisher atom completed successfullycompleted_at
failedFAILUREPublisher atom failedfailure_reason, error, error_type

API Usage ​

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

{
  "workflow_type": "publisher.profile.upsert",
  "initial_data": {
    "organization_uuid": "value",
    "name": "value"
  }
}