Offboard Customer If No Invoices
A 3-step recipe with Amberflo. We can help you get access.
Recipe · 3 steps
Offboard Customer If No Invoices
with Amberflo
Delete a customer only when they have no invoices.
- Retrieve the customer by ID to confirm it exists before evaluating.
- List the customer's invoices, branching on whether any exist.
- Delete the customer because they have no invoices on record.
What you'll need to have ready
- apiKey: Amberflo API key supplied in the X-API-KEY header.
- customerId: Unique identifier of the customer to evaluate for offboarding.
For your developer
Arazzo workflow amberflo:offboard-customer-if-no-invoices, 3 operations: getCustomerById → listInvoices → deleteCustomer. Specs on APIs.io.