Skip to content
Proud to collaborate with Microsoft for Startups

wasender.session.sync ​

Provider->local reconciliation: upsert/restatus/soft-delete local session rows

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Org boundary
cloud_connection_uuiduuidYes—Connection to sync
prunebooleanNo—Soft-delete local rows absent from the provider (default False)
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Org boundary
cloud_connection_uuiduuidYes—Connection to sync
prunebooleanNo—Soft-delete local rows absent from the provider (default False)
actorstringNo——
provider_sessionslistNo——
upsertedintegerNo——
restatusedintegerNo——
prunedintegerNo——
listed_atstringNo——
synced_atstringNo——
failed_atstringNo——
failure_reasonstringNo—Engine-stamped human-readable failure reason
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
failure_typestringNo—Engine-stamped failure category (atomic path)
failed_actionstringNo—Engine-stamped action method that raised (atomic path)

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—listInputs accepted
listingNoNo—reconcileListing provider sessions
reconcilingNoNo—completeUpserting/restatusing/pruning local rows
completedNoYesYes—Sessions synced
failedNoYesNo—Sync failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedlistlisting—
listingreconcilereconciling—
reconcilingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "wasender.session.sync",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value"
  }
}