Skip to content
Proud to collaborate with Microsoft for Startups

abacatepay.catalog.ensure-product ​

Idempotently ensure a product exists for an externalId.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-abacatepay
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
workflow_run_idstringNo——
external_idstringYes——
namestringYes——
priceintegerYes——
currencystringNo——
descriptionstringNo——
image_urlstringNo——
cyclestringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
workflow_run_idstringNo——
product_refstringYes——
external_idstringYes——
createdbooleanYes——
productjsonYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_stepjsonNo——
failed_layerintegerNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——
provider_request_refstringNo——
retryablebooleanNo——
list_productsjsonNo——
create_productjsonNo——
namestringYes——
priceintegerYes——
currencystringNo——
descriptionstringNo——
image_urlstringNo——
cyclestringNo——

DAG Layers ​

#LayerStepsCompensation
1ensureabacatepay.product.list—
2create_if_missingabacatepay.product.create—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
abacatepay.product.listlist_products
abacatepay.product.createcreate_product

API Usage ​

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

{
  "workflow_type": "abacatepay.catalog.ensure-product",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "external_id": "value",
    "name": "value"
  }
}