abacatepay.sync.catalog ​
Read-side sync of products, customers, and coupons (no local persistence yet).
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-abacatepay |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
workflow_run_id | string | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
workflow_run_id | string | No | — | — |
product_count | integer | Yes | — | — |
customer_count | integer | Yes | — | — |
coupon_count | integer | Yes | — | — |
synced_at | string | Yes | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_step | json | No | — | — |
failed_layer | integer | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
provider_request_ref | string | No | — | — |
retryable | boolean | No | — | — |
list_products | json | No | — | — |
list_customers | json | No | — | — |
list_coupons | json | No | — | — |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | fetch | abacatepay.product.list, abacatepay.customer.list, abacatepay.coupon.list | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
abacatepay.product.list | list_products |
abacatepay.customer.list | list_customers |
abacatepay.coupon.list | list_coupons |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "abacatepay.sync.catalog",
"initial_data": {
"organization_uuid": "value",
"cloud_connection_uuid": "value"
}
}