Amberflo · Arazzo Workflow
Amberflo Offboard Customer If No Invoices
Version 1.0.0
Look up a customer, check for invoices, and delete them only when none exist.
View Spec
View on GitHub
Usage-Based BillingMeteringFinOpsAI Cost ManagementBillingMonetizationArazzoWorkflows
Provider
Workflows
offboard-customer-if-no-invoices
Delete a customer only when they have no invoices.
Resolves a customer, lists their invoices, and deletes the customer when the invoice list is empty; otherwise it ends without deleting.
1
getCustomer
getCustomerById
Retrieve the customer by ID to confirm it exists before evaluating.
2
listInvoices
listInvoices
List the customer's invoices, branching on whether any exist.
3
deleteCustomer
deleteCustomer
Delete the customer because they have no invoices on record.