Customer Details
During a workflow experience the developer may ask for certain details from the customer and attach these details to the customer's design. This can be done by using the assignCustomerDetails
function of the WorkflowExperience
object.
The functionality of this system can be made dynamic using conversion configuration. To learn more about conversion configuration, see the Conversion Accelerator addon. This system is still in active development and you will need to reach out to us to enable this functionality.
Usage
The function takes a details parameter which is an object with the following properties:
- First Name
- Last Name
- Phone Number
Email is required, any other properties are optional.
workflowExperience.assignCustomerDetails({
firstName: "John",
lastName: "Doe",
email: "john@doe.com",
phoneNumber: "+1 123 456 7890",
});