Skip to content
Proud to collaborate with Microsoft for Startups

wasender.session.reconnect ​

Re-establish a dropped session and reconcile local status

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-wasender
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Org boundary
cloud_connection_uuiduuidYes—Owning connection
wasender_session_uuiduuidYes—Local row
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Org boundary
cloud_connection_uuiduuidYes—Owning connection
wasender_session_uuiduuidYes—Local row
actorstringNo——
whatsapp_session_idstringNo——
statusstringNo——
qr_codestringNo——
resolved_atstringNo——
connected_atstringNo——
synced_atstringNo——
reconnected_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—resolveInputs accepted
connectingNoNo—syncRe-establishing the provider connection
resolvingNoNo—connectResolving provider session id from the local row
syncingNoNo—completeReconciling local status
completedNoYesYes—Session reconnected
failedNoYesNo—Reconnect failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedresolveresolving—
resolvingconnectconnecting—
connectingsyncsyncing—
syncingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

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