• Topic 主题 トピック Topic Topic
  • Sign in

Flow Counter

Flow Counter offers counter capabilities that allow you to count the number of a certain product in your store or the frequency of an event. You can get personalized statistical data that suits your needs.

 

In This Article

 


 

What Is a Counter?

Before explaining what a counter is, let's start with a scenario where a counter would be of use:

Scenario: Counting the sales of each product in your store. If the sales of a product exceed 100 units, it’ll be marked as ‘best-selling’, and internal emails are sent to staff to take further action.

The above scenario reveals three roles of the counter:

  • Conducting statistical analysis:
    • You can define what you want to count and set the counting rules however you like.
    • A frequent application is to count the number of a certain product in a store or the frequency of an event.
  • The resulting data can serve as a foundation for determining whether to proceed with the workflow.
  • This data is also available for use in other scenarios.

 


 

Scenarios Where You Can Use a Counter

A counter can be used in a wide range of scenarios, depending on the operating strategy of a store.

Flow Counter offers a variety of widely used counter-scenario templates for your convenience and consistently updates its library with popular and emerging templates.

Follow the steps below to get templates:

  1. From Flow Counter, locate Most Popular Automation Templates.
  2. Click View All Templates to go to the preview page.
    cb6f45ea-18dd-4295-93e0-fa8d602f70fb

  3. From the menu on the left, find Counters.
    356837df-4309-43cb-bf4c-5b86f3005e41

Below are the most common counter-scenario templates offered by Flow Counter:

  • Template 1: Count product sales to identify best-sellers
    4d57dc2f-1ce6-481d-a84c-eea038028e55

  • Template 2: Count order volumes by country
    266c06c5-446d-4e2e-8e27-16bede2effd0

  • Template 3: Count the number of email subscribers
    64d8f4de-4764-43fd-b3f4-5d3b22891a73

Template 4: Count the number of customers who have spent more than USD 1,000
FAQ_FlowCounter_Counters_Template_USD1000.png


 

Setting up a Counter

Creating a Counter

A counter has to be created in a Flow workflow. Follow the steps below:

  1. Create a custom workflow in Flow Counter.
    be370e75-c0b8-4719-814f-563d69b55067

  2. After setting up the workflow triggers, add Action and select Update counter.
  3. Action Settings includes two parts: select Counter Name to determine what is to be adjusted; and set Counter Value to determine how the adjustment is conducted.
    2a92f740-60c4-4a02-af24-5577ef82c39c

  • The settings of Counter Name fall into two categories:
    • Dynamic counters: Counters with their names containing dynamic variables. Take ‘Counter of Product-specific Sales’ for example, each order may contain different products. Consequently, the counters requiring updates can vary. It is necessary to add a variable in the counter name. Click X to add a variable.
      3121e16d-283d-4b13-a219-cc803edd60b4

    • Static counters: Counters with their names do not contain variables. Take ‘Counting of Email Subscribers’ for example, which refers to counting the number of customers that have subscribed to emails. You simply enter the counter name you set.
      8faa7680-1d7b-4a28-9455-77fc1a2959e7

  • The settings of Counter Value fall into two categories:
    • The value to be adjusted is dynamic. In other words, the adjustment value is a dynamic variable. Take ‘Counter of Product-specific Sales’ for example, since the sales of each product vary with each order, the values needing updates are also uncertain. The values to be updated should reflect the actual sales figures for each product in the corresponding order. Adding a variable is necessary for the value. Click X to add a variable.
      352b660c-ad3b-44a3-860d-178725d9a21f

    • The value to be adjusted is static. In other words, a fixed value is added/subtracted as long as a certain event happens. Take ‘Counting of Email Subscribers’ for example, which refers to counting the number of customers that have subscribed to emails. In this scenario, a fixed value of 1 is added.
      92debf76-5145-4298-9121-4517f504dc7b

  1. After completing the above steps, the counter values are updated as per the settings of the workflow operations.
Note: If the counter name you enter is a new one, the workflow will automatically create a counter and set its initial value to 0 when the counter is updated for the first time.

 

Using Counters as Workflow Conditions

The result of each counter can be used as a condition in your workflow to determine whether an action is taken, realizing branching. Follow the steps below:

  1. To add a condition in a workflow, select Special condition and Use the counter value as a condition.
    6b53e07d-5173-45f8-8915-e25baf348bcb

  2. Enter a counter name to determine the result of which counter is used as a condition. The counter name must be accurate. If a static counter is used, copy and paste its name. If a dynamic counter is used, copy and paste the variable along with the counter name.
  3. Input the anticipated counter value to identify under which conditions the workflow will proceed to the next step.
    3d224413-9013-4379-acfb-385eccd6a208
    93106530-d82b-48e2-bf12-55193428570d

  4. When the workflow proceeds to this condition, it will make a judgment based on the real-time counter value.

Viewing Counter Results

You can view all counter results on the Manage Counters page. Follow the steps below:

  1. At the bottom of Flow Automation, find Counter and click Manage.
    5987ff81-4e34-421a-82d3-d0e24233308c

  2. On the Manage Counters page, you can view all counters created, their current values, and the time of their latest updates.

If you need offline data, select the counters you need and click Export. You will get offline data in Excel format.
4d4666a5-83a4-44dc-9d6e-8196c03692ed

Have more questions? Submit a request

Comments