Flow Configuration
The returns portal is powered by a flow which is executed in parrallel to the main chat flow.
There are 3 important flow inputs: step_type, selected_products and order_number.
step_type
This determines which step of the journey the user is on. The flow should have a decision, with conditions for each relevent step_type.
Currently supported step_types are:
product_selectionreturn_optionsimportant_informationshipping_informationreturn_detailscancel_return
As a user progresses from one step to another, the returns flow is executed with the relevant step_type.
selected_products
An array of products which is updated with the users selections as they progress through each step.
order_number
The ID of the order we are creating a return for.
Updated 8 months ago
Whatβs Next
