Skip to navigation Skip to main content

Free Grow sales & stop fraud — Smart Cycle Discounts + TrustLens, free on WordPress.org Two free WooCommerce plugins

Explore both

Free Grow sales & stop fraud — Smart Cycle Discounts + TrustLens, free on WordPress.org Two free WooCommerce plugins

Explore both
  • WordPress
    WordPress Plugins
    View all
    Smart Cycle Discounts logo

    Smart Cycle Discounts

    Automate discount campaigns with scheduling, analytics, and smart product targeting.

    7 Discount Types Cycle AI
    Free Pro from $59
    TrustLens logo

    TrustLens

    Customer trust intelligence for WooCommerce. Score customers, spot abuse, protect revenue.

    Trust Scores Abuse Detection
    Free Pro from $79

    New Plugin

    Coming Soon

    Something exciting is in the works. Join the waitlist to be first to know.

    Get Notified
    Notify Me
    Secure Checkout
    WordPress.org
    14-Day Refund
    Resources
    Documentation Guides & tutorials
    Discount Calculator Plan your strategy
    Support Get help
    SCD Changelog Discount plugin updates
    TrustLens Changelog Trust intelligence updates
    Get notified on new releases
  • Affiliate
    Program
    Overview How the program works
    How It Works 4 steps from apply to earn
    Commission Details 30% · 60-day cookie · recurring
    Get Started
    Apply Now Open
    Takes ~2 minutes
    Earnings Calculator Estimate your monthly income
    FAQ Payouts, cookies, renewals
    Resources
    Brand Kit Logos, banners, copy, social
    Playbook Tactics that actually convert
    FTC Disclosure How to disclose properly
    Affiliate Terms Full program agreement
    Contact Team Open the contact form
    Earn 30% recurring on every sale Free to join · 60-day cookie · monthly PayPal payouts
    Apply Now
  • Blog
  • DOCS
    Docs & Resources

    Guides, references, and answers for every Webstepper plugin.

    Smart Cycle Discounts Automated WooCommerce discount campaigns
    Getting started › Discount types › Cycle AI ›
    TrustLens Customer trust & fraud intelligence
    Trust scoring › Detection modules › Card-testing defense ›
    Docs Home Guides FAQ Pricing Support
    WordPress tools that solve real problems
  • Contact Us
  • About
    Company

    Our Story

    Founded 2020

    Built by store owners, for store owners. We create WordPress tools that solve real problems.

    Learn more
    Built from Experience Real solutions we use ourselves
    Time is Precious Simple, intuitive tools
    Real Support Talk to the founders
    Legal & Contact
    Contact Us Privacy Policy Terms of Service Refund Policy
    14-Day Money-Back Guarantee No questions asked
Popular requests
  • smart cycle discounts
  • trustlens
  • chargeback protection
GET STARTED

Glossary

1
  • TrustLens Glossary

Detection Modules

9
  • Card Testing Defense
  • Chargeback Tracking
  • Shipping Anomalies
  • Linked Accounts Detection
  • Category Aware Risk
  • Coupon Abuse Detection
  • Order Pattern Analysis
  • Return Abuse Detection
  • Modules Overview

Card Testing Defense

9
  • Attack History
  • Allowlists
  • Geo Diversity
  • Auto Escalation
  • Fingerprinting
  • VIP Bypass
  • Panic Button
  • Velocity Thresholds
  • Overview

Chargeback Monitor

7
  • Ratio Email Alerts
  • Dispute Evidence Report
  • Chargeback Monitor
  • Manual Dispute Entry
  • Stripe WooPayments Ingestion
  • Card Network Thresholds
  • Chargeback Ratio Speedometer

Customer Management

7
  • Admin Notes
  • Checkout Enforcement
  • Order Trust Column
  • Bulk Actions
  • Blocking and Allowlisting
  • Customer Detail Profile
  • Customer List

Automation

7
  • Async Dispatch Retries
  • Webhooks and HMAC
  • Rule Inspector
  • Actions Reference
  • Conditions Reference
  • Triggers Reference
  • Automation Overview

Trust Scoring

5
  • Account Age Loyalty Bonus
  • Signals Explained
  • Six Customer Segments
  • The 0–100 Score
  • How Trust Scoring Works
View Categories
  • Home
  • Docs
  • Trustlens
  • Automation
  • Automation Overview

Automation Overview

3 min read

The Automation Rules engine is the Pro feature that lets TrustLens act on what it detects. Rules are trigger-condition-action sequences — “when X happens, if Y is true, then do Z” — that fire when customer risk changes, orders are placed, refunds happen, disputes are filed, linked accounts are detected, card-testing attacks happen, or shipping anomalies are spotted. Without the engine, TrustLens surfaces risk for human moderation; with it, you can build closed-loop workflows that act in seconds without admin attention.

Location: TrustLens → Automation.


The Rule Shape #

Every rule has three sections:

Section What It Does
Trigger The event that wakes the rule up. One trigger per rule. Examples: “Order placed,” “Chargeback filed,” “Customer score changed.”
Conditions Filters that must all be true for the rule to act. Multiple conditions combine with AND. Examples: “trust_score < 30,” “total_disputes >= 2.”
Actions What the rule does when it fires. Multiple actions can be listed; they run in order. Examples: “Block customer,” “Send Slack alert,” “Fire webhook.”

Rules can be enabled or disabled independently. Disabled rules don’t fire even when their trigger conditions occur.


What’s Available #

Component Count Details
Triggers 16+ See Triggers Reference
Condition fields 30+ See Conditions Reference
Actions 7 See Actions Reference

Example Rule #

“When a chargeback is filed against a customer who has 2+ existing disputes and trust score under 30, block the customer and send a Slack alert.”

  • Trigger: Chargeback Filed
  • Conditions: total_disputes >= 2 AND trust_score < 30
  • Actions: Block customer; Send Slack message to #fraud-alerts

This is a typical “tighten the noose” rule — escalate enforcement automatically when a known-risky customer crosses a new threshold.


How Rules Run #

When a trigger event fires, the automation engine:

  1. Collects all enabled rules with that trigger
  2. For each rule, evaluates the conditions against the event context
  3. If all conditions pass, queues the rule’s actions for async execution
  4. Each action runs through the dispatcher with automatic retry on failure (60s / 120s / 240s backoff)
  5. Results are logged for inspection

The engine is async — rule actions don’t block the triggering event. A new order or refund proceeds normally even if rule actions are still being dispatched.


The Save-Time Validator #

When you save a rule, TrustLens validates it before accepting:

  • Schema validation — trigger, conditions, actions all match expected types
  • Unsatisfiability check — can the conditions possibly be true together? A rule with trust_score > 80 AND trust_score < 20 is rejected as unsatisfiable
  • Contradiction check — actions and conditions don’t contradict (e.g. a rule conditioned on “is_blocked = true” with an action “Block customer” is flagged)
  • Trigger-condition compatibility — the conditions can be evaluated in the trigger’s context

Invalid rules are rejected at save time with a specific error message. This prevents the most common failure mode of automation engines: silently-broken rules that never fire.


The Rule Inspector #

For each saved rule, the Automation page shows recent firing activity:

  • Last 10 evaluation results
  • For each: timestamp, trigger event, conditions met / not met, actions dispatched
  • SKIP reasons when the rule didn’t fire: “Cooldown active,” “Condition not met: trust_score > 50”

This is the answer to the perennial question “why didn’t my rule fire?” — you can see exactly which condition rejected the event.


Cooldowns #

Each rule can have a cooldown period — minimum time between firings on the same target. Useful for:

  • Preventing alert spam when a customer triggers a rule repeatedly
  • Rate-limiting expensive actions (Slack messages, webhook calls)
  • Ensuring you don’t double-block a customer who briefly recovered and then re-triggered

Default cooldown is none. Configure per-rule.


Logging #

Every rule evaluation and action dispatch is logged:

  • Rule ID, trigger event, condition results
  • Each action: dispatch attempt, response, success/failure
  • Retry attempts with backoff timing
  • Final outcome (success / failed after retries / skipped)

The Automation Log is searchable by rule, by customer, by date range. Retention is 90 days by default (configurable).


Common Rule Patterns #

  • Escalation: Risk → Critical triggers alert + hold orders
  • Block-on-dispute: Chargeback filed + customer score < 30 → block
  • VIP fast-track: Order placed + segment = VIP → tag order for priority fulfillment
  • Linked-account warning: Linked accounts detected + ≥3 links → Slack alert
  • Coupon abuse mitigation: Coupon applied + first_order_coupons ≥ 2 → cancel order, refund
  • Card-testing follow-up: Card testing attack detected → email summary report to ops lead
  • High-value monitoring: Order placed + total_value > $1000 + segment ≠ VIP → tag for review

Engine Performance #

Rule evaluation is fast — typically < 5ms per rule per event. Most triggers evaluate dozens of rules without measurable impact on the triggering event’s latency. Actions are async, so even slow actions (webhooks to slow external services) don’t slow down the event flow.

Stores running 50+ automation rules see no notable performance impact. The engine scales beyond that, but at some point you should think about whether your rule set has consolidation opportunities.


Disabling Automation #

To disable the entire engine: Settings → Automation → Disable engine. While disabled:

  • No triggers are evaluated
  • No actions fire
  • Existing rules remain saved
  • Re-enabling resumes from the next trigger event

Disabling is useful during major operational changes (migrations, new gateway integrations) where rule actions might produce noise.

Updated on June 4, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Triggers ReferenceAsync Dispatch Retries
Table of Contents
  • The Rule Shape
  • What's Available
  • Example Rule
  • How Rules Run
  • The Save-Time Validator
  • The Rule Inspector
  • Cooldowns
  • Logging
  • Common Rule Patterns
  • Engine Performance
  • Disabling Automation
Newsletter

Insights that grow your business

Join thousands of WooCommerce store owners who get actionable tips, plugin updates, and industry news every week.

We respect your privacy. Unsubscribe at any time.

Weekly updates — Fresh content every Tuesday
Exclusive content — Tips you won't find on our blog
Early access — Be first to know about new plugins
Webstepper
Weekly WooCommerce Tips
Just now
This week: 5 proven strategies to boost your average order value using smart discount campaigns...
New issue!
Webstepper

Tools for store owners who'd rather grow than grind.

Simple, powerful plugins that help WooCommerce store owners sell more — without the learning curve.

500+ happy stores

Products

  • Smart Cycle Discounts
  • TrustLens
  • Discount Calculator
  • Sale Calendar

Company

  • About Us
  • Blog
  • Contact
  • Affiliates

Resources

  • Help Center
  • Guides
  • Affiliate Program
  • Become a Partner

Questions? We actually answer.

Real humans, real help. No bots, no runaround. Usually within a few hours.

Get in touch
Operated by Setmood LLC · 7901 4th St N, St Petersburg, FL 33702 · United States

© 2026 Webstepper. All rights reserved.

Privacy Terms Refunds
Visa Mastercard PayPal Apple Pay Google Pay & more
Limited Time Offer

Save 15% on
SCD, TrustLens & the Bundle

Smart Cycle Discounts and TrustLens — buy either plugin or grab both in the bundle. Use code at checkout.

WELCOME15
23 hours
:
59 minutes
:
59 seconds
Claim My Discount

Just want one? Smart Cycle Discounts · TrustLens

  • WordPress
    Back
    WordPress Plugins
    View all
    Smart Cycle Discounts logo

    Smart Cycle Discounts

    Automate discount campaigns with scheduling, analytics, and smart product targeting.

    7 Discount Types Cycle AI
    Free Pro from $59
    TrustLens logo

    TrustLens

    Customer trust intelligence for WooCommerce. Score customers, spot abuse, protect revenue.

    Trust Scores Abuse Detection
    Free Pro from $79

    New Plugin

    Coming Soon

    Something exciting is in the works. Join the waitlist to be first to know.

    Get Notified
    Notify Me
    Secure Checkout
    WordPress.org
    14-Day Refund
    Resources
    Documentation Guides & tutorials
    Discount Calculator Plan your strategy
    Support Get help
    SCD Changelog Discount plugin updates
    TrustLens Changelog Trust intelligence updates
    Get notified on new releases
  • Affiliate
    Back
    Program
    Overview How the program works
    How It Works 4 steps from apply to earn
    Commission Details 30% · 60-day cookie · recurring
    Get Started
    Apply Now Open
    Takes ~2 minutes
    Earnings Calculator Estimate your monthly income
    FAQ Payouts, cookies, renewals
    Resources
    Brand Kit Logos, banners, copy, social
    Playbook Tactics that actually convert
    FTC Disclosure How to disclose properly
    Affiliate Terms Full program agreement
    Contact Team Open the contact form
    Earn 30% recurring on every sale Free to join · 60-day cookie · monthly PayPal payouts
    Apply Now
  • Blog
  • DOCS
    Back
    Docs & Resources

    Guides, references, and answers for every Webstepper plugin.

    Smart Cycle Discounts Automated WooCommerce discount campaigns
    Getting started › Discount types › Cycle AI ›
    TrustLens Customer trust & fraud intelligence
    Trust scoring › Detection modules › Card-testing defense ›
    Docs Home Guides FAQ Pricing Support
    WordPress tools that solve real problems
  • Contact Us
  • About
    Back
    Company

    Our Story

    Founded 2020

    Built by store owners, for store owners. We create WordPress tools that solve real problems.

    Learn more
    Built from Experience Real solutions we use ourselves
    Time is Precious Simple, intuitive tools
    Real Support Talk to the founders
    Legal & Contact
    Contact Us Privacy Policy Terms of Service Refund Policy
    14-Day Money-Back Guarantee No questions asked
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.
More info More info Accept