Skip to content
Proud to collaborate with Microsoft for Startups

data.commerce.sync-cursor.get ​

Read the last_synced_at cursor for (connection, provider, entity_type). Returns exists=False when no row — caller treats that as 'sync from the beginning of time'.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-commerce
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes——
providerstringYes——
entity_typestringYes——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidYes——
providerstringYes——
entity_typestringYes——
actorstringNo——
sync_cursor_uuiduuidNo—Null when no cursor exists yet (first-time sync)
last_synced_atstringNo——
items_synced_totalintegerNo——
last_errorstringNo——
existsbooleanYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepjsonNo——
failed_layerjsonNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeRead cursor
completedNoYesYes—Cursor read
failedNoYesNo—Cursor read failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

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

{
  "workflow_type": "data.commerce.sync-cursor.get",
  "initial_data": {
    "cloud_connection_uuid": "value",
    "provider": "value",
    "entity_type": "value"
  }
}