Skip to content
Proud to collaborate with Microsoft for Startups

publisher.snapshot ​

Posts waiting on review, the next 7 days, disconnected accounts, and profiles missing covers — one round trip. Pure DB read.

Everything the studio's home page shows, in one read.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-publisher
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringNo——
waitingjsonNo—Posts awaiting review — capped, see waiting_total
waiting_totalintegerNo——
upcomingjsonNo—Approved posts scheduled in the next 7 days
upcoming_totalintegerNo——
needs_changes_totalintegerNo——
accountsjsonNo—Per platform: connected true/false
profiles_missing_coversjsonNo——
reviewer_setbooleanNo—False means nothing can be sent for review yet
failure_reasonstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

Outcomes ​

OutcomeTypeDescriptionState Data Keys
completedSUCCESSPublisher studio read completedorganization_uuid
failedFAILUREPublisher studio read failedfailure_reason

API Usage ​

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

{
  "workflow_type": "publisher.snapshot",
  "initial_data": {
    "organization_uuid": "value"
  }
}