Flow Automation: Update Counter
You can use the Update Counter action in a Flow Automation workflow to automatically record how many times a certain behavior occurs, such as product sales or discount code usage. The counter values can be used as conditions to determine the next steps in a workflow, or be reused in other automation scenarios.
Applicable Workflows
This action works with all available triggers. You can click on a trigger type to view its full setup instructions.
- Supported by all workflow types
Example Use Case
Below is a practical use case of the Update Counter action: automatically tagging products with over 100 sales as [Hot Sale]:
| Note: This use case can also be found in the template section under the Counter category. |
- Trigger: Order Placed Successfully
-
Action 1: Update Counter
- Counter Name: Product Sales
- Increment Value: Quantity Ordered
- Condition: Counter value ≥ 100
- Action 2: Add product tag [Hot Sale] and send notification email
Available Templates
Here are commonly used templates that include the Update Counter action. Click any template to view its detailed setup and apply it directly:
- Track discount code usage: Monitor the usage count of all distributed discount codes. These counters can be used to generate discount performance reports.
- Track hot SKUs that frequently go out of stock: Log how many times each SKU experiences low stock monthly. This helps you optimize inventory strategies for popular items.
- Count new email subscribers each month: Use counters to track monthly growth in email subscribers. Pair this with Counter Report for regular performance insights.
- Reset counters on a recurring schedule: Set up daily, weekly, or monthly resets for short-term promotional counters (e.g., flash sales).
- Track current valid email subscribers: Monitor the total number of currently active email subscribers in real time.
- Upgrade membership level based on bundle purchases: For example, upgrade to Silver after 3 bundle purchases, and to Gold after 5.
- Count order volume by country: Use counters and scheduled reports to analyze order volume by region for better geographical sales insights.
- Auto-tag products that meet sales targets as [Hot Sale]: Automatically tag products with high sales to support showcasing, categorization, or promotions.