Skip to main content
square.onCustomerCreated subscribes to customer.created for the selected seller. It requires CUSTOMERS_READ.

Example

automations/square-on-customer-created.automation.ts

Event

A customer profile is created, including when customer profiles are merged into a new customer profile. The signal resolves to the official Square.CustomerCreatedEvent payload with type narrowed to customer.created.