Skip to content
Proud to collaborate with Microsoft for Startups

data.commerce.match.persist-batch ​

Persist control.collection.match results as reconciliation_decision rows

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-commerce
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
window_keystringYes—Caller-owned close window, e.g. '2026-09-01_2026-09-07'.
left_entity_typestringYes—What the left list was, e.g. financial_event or settlement.
right_entity_typestringYes—What the right list was, e.g. bank_line or receivable.
providerstringNocarDecision-row provider. Defaults to 'car'.
resultjsonNo—Optional control.collection.match result envelope.
matchesjsonNo——
ambiguous_pairsjsonNo——
unmatched_leftjsonNo——
unmatched_rightjsonNo——
summaryjsonNo——
summary_textstringNo——
last_synced_by_workflow_uuidstringNo——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
window_keystringYes——
left_entity_typestringYes——
right_entity_typestringYes——
providerstringYes——
persisted_countintegerYes——
created_countintegerYes——
updated_countintegerYes——
rejected_countintegerYes——
resultslistYes——
rejected_itemslistYes——
decision_countsjsonYes——
persisted_atstringYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepjsonNo——
failed_layerjsonNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

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

{
  "workflow_type": "data.commerce.match.persist-batch",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "window_key": "value",
    "left_entity_type": "value"
  }
}