Articles on: React Flow

Getting started in React Flow

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. Here you can start createing your workflows.

On the Dashboard you will see all your workflows in the “All” section, activated ones in the “On”, and deactivated in the “Off”.

React Flow Dashboard

✔️ 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.

Create your first workflow

Step 2. You will be moved to the workflow builder area where you can start creating and customizing your workflow. For this, in the right menu you should select a trigger to define when the workflow will start.

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 plus -> click "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 / Amount spent / Average order amount" block.

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 plus near ‘then’ and select 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 by clicking on plus near “otherwise” and selecting ‘Condition’ 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 condition. And 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 click on plus near ‘then’ -> select Action -> select an action "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 “Turn on” 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

Updated on: 12/06/2024

Was this article helpful?

Share your feedback


Thank you!