capabilities.work

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

Delete a customer only when they have no invoices.

  1. Retrieve the customer by ID to confirm it exists before evaluating.
  2. List the customer's invoices, branching on whether any exist.
  3. 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.