Quick start in React Flow

In this article:
How to start in React Flow?
Steps to create your first workflow
The result of the workflow



✔️ How to start in React Flow?

To start using React Flow you just need to Add app from the Shopify App Store, then, click on it in the app list and open a Dashboard. There are three tabs - “My workflows”, "Templates", "Activity".

As soon as you've installed the app you can start creating your first workflow. In the initial Dashboard go to the "My Workflows" tab. Here you will see all your workflows in the “All” section, activated ones in the “On”, and deactivated in the “Off”.


✔️ Steps to create your first workflow

React Flow allows you to create and customize your own workflow that will fit your needs.

A workflow is an automatic sequence of actions aimed at performing daily tasks in your store. To put all your routine work to automatic mode, the first thing you need to do is to create a workflow.

Let's take for example this business problem: a store owner wants to sort out the customers and create relevant categories to build the right communication with them in the future. Thanks to this, the store owner will have 3 separate categories of customers (Gold, Silver, and Bronze), based on the average order amount, which will allow him to offer the most relevant products and send marketing materials further.

So, the best solution for this problem is to create a workflow that will mark these customers with special tags by which it will be easy to find them in the future.

Here are the necessary steps to follow:

Step 1. To start your first workflow you need to click on the “Сreate new” button at the top right to create a proper one and fit it to your needing.


Step 2. Next, in the workflow builder area, you can start customizing your workflow. For this, you should select a trigger to define when the workflow will start by clicking on “Select trigger”.


For our workflow, we need to set the "Order paid" trigger that will launch it. This trigger will launch further automatic processes when the customer has already made a purchase (paid) in his store.

Step 3. When the trigger is selected, we should set up a condition before the final action to establish certain rules by which the final action will be carried out. Click on “Add condition”, then select one from the drop-down list on the right.


Let's select a condition to verify if the order amount is $750 or more. In the drop-down list of all order conditions go down to the "Order/Customer/Average Order Amount v 2" block and select the "Amount" condition.


Then, in the field on the right select the matcher greater than or equal to and write the value "750". Now, with this condition, he will track the orders with this amount.


Step 4. After this, let's add an action to end the workflow. Let's click on “Add action” to choose the necessary action which will be performed after the trigger and condition are met. In our case, we need to select the "Add customer tags" action and write GOLD in the field on the right.


This action will mark the customers with a "GOLD" tag. Thanks to this action, such customers will be placed in a "gold" category as VIP clients.

If the condition isn't met, we should add another condition after the "No" operator to track the customers whose order amount is less than $750 and more than $500. For this case we add the same condition as in the previous example and set the value "500".


But we also need to specify that the order amount should be less than "750" and equal or more than "500".

React Flow allows you to combine conditions to make a common one. It can be done by clicking the "Add another condition" button below the first condition.
For our workflow we select the same one. Here we should set "less than" matcher and write "750".

Also, we need to select one more action to mark this customer with another tag. To do this, we also choose "Add customer tags" and write "SILVER". Now, these customers will be placed in the "silver" category.


Step 5. Finally, if the previous condition isn't met, we should add another action to set the tag "BRONZE" for all other customers.


Step 6. When all is set click on “Save” on the top "Unsaved changes" panel and set a workflow’s title.


Step 7. Finally, your workflow is ready to run after clicking the “Enable” button on the top panel.


✔️ The result of the workflow

Having run an automatic workflow the store owner already got rid of spending extra hours on tracking orders and sorting customers by yourself. Now, he has 3 different categories of customers and clearly understand its audience which means he will hit the right target with product and marketing selection.

Now, you can start your first automatic workflow too! Focus on the important things while React flow is doing all necessary work for you!

Suggestion articles

Most popular flows
React Flow Triggers & Actions
Guidelines & Limitations
Was this article helpful?
Cancel
Thank you!