Upsert Customer
A 3-step recipe with Amberflo. We can help you get access.
Recipe · 3 steps
Upsert Customer
with Amberflo
Upsert a customer account by its unique customer ID.
- Try to fetch the customer by ID, branching on whether it already exists.
- Update the existing customer with the supplied details.
- Create a new customer when no existing record matched the ID.
What you'll need to have ready
- apiKey: Amberflo API key supplied in the X-API-KEY header.
- customerId: Unique customer identifier to upsert.
- customerName: Customer display name to write.
- customerEmail: Optional customer contact email to write.
- lifecycleStage: Lifecycle stage (ONBOARDING, TRAIL, ACTIVE, OFFBOARDED).
For your developer
Arazzo workflow amberflo:upsert-customer, 3 operations: getCustomerById → updateCustomer → createCustomer. Specs on APIs.io.