abacatepay.customer.ensure ​
Ensure a customer exists (provider upserts by taxId).
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 | — | — |
email | string | Yes | — | — |
tax_id | string | No | — | — |
name | string | No | — | — |
cellphone | string | No | — | — |
zip_code | string | No | — | — |
metadata | json | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
workflow_run_id | string | No | — | — |
customer_ref | string | Yes | — | — |
customer | json | 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 | — | — |
create_customer | json | No | — | — |
email | string | Yes | — | — |
tax_id | string | No | — | — |
name | string | No | — | — |
cellphone | string | No | — | — |
zip_code | string | No | — | — |
metadata | json | No | — | — |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | ensure | abacatepay.customer.create | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
abacatepay.customer.create | create_customer |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "abacatepay.customer.ensure",
"initial_data": {
"organization_uuid": "value",
"cloud_connection_uuid": "value",
"email": "value"
}
}