How to Set-up the Reorder Flow
Learn how to set up the reorder flow.
Zoko allows you to enable the reorder flow and helps you prompt customers to make a repeat purchase when the items they previously purchased are about to run out. Merchants who use reorder flows could see between 5% to 20% conversation rates.
This article is divided into the following parts:
1. Understanding the structure of the flow.
2. Defining the product for which the flow should be triggered.
3. Customising the message that is triggered to the customer.
1. UNDERSTANDING THE STRUCTURE OF THE FLOW
As shown in the diagram above, the reorder flow has the following elements:

(i) A trigger that defines when to start the flow and for which product. The trigger for this flow is an order confirmation. The flow can be triggered for all variants of a product or a particular variant of the product.
(ii) A time delay that can be defined by you.
(iii) A message that will be triggered after the time delay with a Buy Now button to take the customer to the checkout page of this product.
2. DEFINING THE PRODUCT FOR WHICH THE FLOW SHOULD BE TRIGGERED
To define the products for which the flow should be triggered:
1. Go to Flows on the top bar.

2. Click on the New Workflow.

3. Select the Reorder Flow.

4. Click on Edit Flow.

5. Click on the 1st element - Trigger Condition

If you want to trigger the flow for all variants of the product
(i) You will have to set the trigger condition as {{context.order.product_id_list}}

(ii) Mention the product ID here.

The product ID is available on the Shopify admin page and can be seen by clicking on the specific product. The highlighted part is the product ID.

But, if you want to trigger the flow only when a particular variant of the product
(i) You will have to set the trigger condition as {{context.order.variant_id_list}}

(ii) Mention the variant ID here.

This variant is also available in your Shopify admin page and be seen by clicking on the specific variant and then clicking on edit. The highlighted part is the variant id.

3. CUSTOMISING THE FLOW
The last step in this flow is to customise the message that needs to go with this product. To do this, click on the message element like this.
1. You can modify the time delay before the next step by clicking on the clock icon here and setting a time of your choice.

2. You can change the image in the default template by clicking on Fill templates, removing the default image, and adding an image of your choice. A good idea would be to have the image of the product you are trying to sell again.

3. You can replace the default message with any of your approved templates of the same message type. Once you select the template, you will have to fill in the variables. Refer to our articles How to create a template to learn more about creating templates.

The most important thing here is to ensure that the Buy Now button takes your user to the checkout page of the product you are repeat selling. To do this:
1. Click on Fill Template.

2. Click on Advanced Options.

3. Paste the link to the checkout page of the item you are selling here.

To get this checkout page link from your Shopify store:
1. Log in to your Shopify account and Go to the Products on the left.

2. Hover the cursor over the Product that you are selling, then Click on View icon. (This will re direct you to the product page on your website)

3. Click on Buy Now

This highlighted link is the one you should use to ensure your user is taken directly to the checkout page.
Once you are done editing the flow,
1. Click on Save Draft to save the changes.

2. Close the Flow editor from here

3. Go to Drafts and click on the flow you just saved.

4. Click on Enable and your customised flow is enabled.

5. You can also rename the flow from here. This is especially helpful to differentiate between different versions of the same flow.
