Skip to navigation Skip to main content
Free on WordPress.org 4.9 / 5 WordPress.org Explore both Plugins
Free on WordPress.org 4.9 / 5 WordPress.org Explore both Plugins
  • WordPress
    Products
    Smart Cycle DiscountsDiscount automation › TrustLensCustomer trust intel › Cycle AI AIPlain-English campaigns ›
    New pluginComing soon
    Resources & toolsDocs, pricing, support ›
    Smart Cycle Discounts

    Smart Cycle Discounts

    Automate WooCommerce discount campaigns — schedule, target, and measure.

    62%
    Free Pro $59 5 discount types Recurring
    Jump into the page
    How it works Capabilities Promo codes Pricing
    Docs
    Getting started Discount types Scheduling
    Explore Smart Cycle Discounts → Changelog
    TrustLens

    TrustLens

    Customer trust intelligence — score buyers, spot abuse, protect revenue.

    Trust 86
    Free Pro $79 6 segments Abuse detection
    Jump into the page
    How it works Detection Outcomes Pricing
    Docs
    Trust scoring Detection modules Card-testing defense
    Explore TrustLens → Verify a report Changelog

    Cycle AI inside Smart Cycle Discounts

    Describe a sale in plain English — Cycle AI builds the whole campaign.

    “20% off hoodies this weekend”
    Included in Pro Natural language Catalog-aware
    See it work

    Type a sentence, get a ready-to-launch discount campaign that already understands your products, prices, and schedule.

    Live demo How it works
    Meet Cycle AI →

    A new plugin Coming soon

    Something is loading in the lab. Join the list to get the reveal first.

    Notify me on launch →

    Resources & tools

    Everything around the plugins — docs, free tools, and help.

    Learn
    Documentation Pricing & bundle Support
    Free tools
    Discount Calculator Sale Calendar
    Stay current
    SCD changelog TrustLens changelog
    Compare all plans →
    Secure checkout WordPress.org 14-day refund View pricing →
  • Affiliate
    Program
    OverviewHow the program works How it works4 steps from apply to earn Commission details30% · 60-day cookie · recurring
    Get started
    Apply nowOpen Takes ~2 minutes Earnings calculatorEstimate your monthly income FAQPayouts, cookies, renewals
    Resources
    Brand kitLogos, banners, copy, social PlaybookTactics that actually convert FTC disclosureHow to disclose properly Affiliate termsFull program agreement Contact teamOpen the contact form
    Earn 30% recurring on every saleFree to join · 60-day cookie · monthly PayPal payouts Apply now
  • Blog
  • DOCS
    Docs & resources

    Guides, references, and answers for every Webstepper plugin.

    Smart Cycle DiscountsAutomated WooCommerce discount campaigns
    Getting started› Discount types› Cycle AI›
    TrustLensCustomer 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 make WordPress tools that solve real problems.

    Learn more
    Built from experienceTools we use ourselves
    Time is preciousSimple, intuitive UX
    Real supportTalk to the founders
    Legal & contact
    Contact us Privacy policy Terms of service Refund policy
    14-day money-backNo 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
  • Async Dispatch Retries

Async Dispatch Retries

3 min read

The automation engine dispatches all rule actions asynchronously through Action Scheduler with automatic retry on failure. This page covers the dispatch model, the retry policy, what happens when an action fails permanently, and how to monitor dispatcher health.


The Dispatch Model #

When a rule fires:

  1. The engine evaluates conditions in-process (fast, blocking)
  2. If conditions pass, each action becomes a queued Action Scheduler job
  3. The triggering event proceeds normally — no waiting
  4. Action Scheduler picks up the jobs on its next tick (usually within seconds)
  5. Each action’s handler runs the side effect (send email, fire webhook, etc.)
  6. Success or failure is logged
  7. Failed jobs are rescheduled per the retry policy

This separation means: a customer’s checkout completes immediately even if a downstream webhook receiver is slow. Actions don’t slow down customer-facing flows.


The Retry Policy #

Attempt Delay From Original Trigger
1 (initial) Immediate (within seconds of trigger)
2 (retry 1) + 60 seconds
3 (retry 2) + 120 seconds (180s from original)
4 (retry 3) + 240 seconds (420s from original)
Stop After 4 total attempts, action is marked failed

The backoff is exponential-ish (60 → 120 → 240). This catches most transient failures — a 2-minute Slack outage will resolve before retry 3.


What Counts as a Failure #

Action Failure Conditions
Block / Allowlist / Tag customer Database error (very rare)
Hold / Cancel order Order not found, status transition rejected by WooCommerce
Send email wp_mail() returns false, or SMTP plugin reports delivery failure
Fire webhook HTTP 4xx/5xx response, timeout (10s), DNS failure, connection refused

Non-2xx HTTP responses are treated as failure. A 200 with an error body is treated as success — TrustLens only checks the status code.


Permanent Failure #

After 4 total attempts (initial + 3 retries), the action is marked failed and stops retrying. The failure is recorded in the Automation Log with the final attempt’s error.

Permanent failures don’t automatically alert. To get notified when actions fail repeatedly:

  • Review the Automation Log weekly
  • Build a meta-rule that watches for failed actions and alerts
  • Pro: enable the “Action Failure Notification” setting under Reports

Action Scheduler Health #

The dispatcher depends on Action Scheduler (bundled with WooCommerce) running its scheduled actions reliably. If Action Scheduler stalls:

  • Queued actions sit in the queue but never execute
  • Retries never happen
  • The Automation Log shows queued actions without completion events

To check Action Scheduler health: WooCommerce → Status → Scheduled Actions. Filter by status:

  • Pending — waiting to run; should drain within minutes on a healthy site
  • In progress — actively executing; should clear quickly
  • Complete — finished successfully
  • Failed — exception thrown during execution

If pending count is climbing without draining, WP-Cron is probably disabled or your host is rate-limiting. Set up a real cron job hitting wp-cron.php every minute.


Deduplication #

The dispatcher deduplicates jobs at queue time. If the same trigger fires multiple actions on the same target within a few seconds, the dispatcher may collapse duplicate jobs to prevent double-firing.

This dedup is action-aware — multiple distinct actions (block + email + webhook) on the same target each get one job, but a duplicate “send email” job for the exact same target/context within milliseconds is treated as one.


Cooldowns vs Retries #

Two related but distinct concepts:

  • Cooldown — minimum time between firings of a rule on the same target. Set at the rule level. Default: none.
  • Retry — automatic re-attempt of a failed action. Set at the engine level (60/120/240). Not configurable per rule.

A rule with cooldown = 1 hour fires at most once per hour per target. A rule with no cooldown fires every time the trigger event matches. Both behaviors are independent of the retry policy.


Webhook-Specific Retry Behavior #

For webhook actions, retry honors HTTP semantics:

  • 5xx responses: retry (server probably temporary issue)
  • 4xx responses: retry (might be a transient routing issue)
  • Timeouts: retry
  • 2xx response: success, no retry

Some webhook receivers signal “don’t retry” with specific status codes (some APIs use 410 Gone). TrustLens doesn’t special-case any 4xx — all retry the same way. If you have a receiver that genuinely shouldn’t retry, return 2xx and ignore the payload instead of erroring.


Monitoring Dispatch Health #

Periodically check:

  • Action Scheduler queue depth — anything chronically large indicates the dispatcher is falling behind
  • Automation Log failure rate — climbing failures suggest an upstream issue (slow webhook receiver, broken email config)
  • Average action latency — visible in the log; should be sub-second for most actions, sub-10s for webhooks

If you’re running 100+ rule fires per day, build a habit of reviewing dispatch health weekly. It’s the kind of system that’s silent when working correctly and silent when broken — the failure mode is usually “nothing is happening anymore.”


Synchronous Execution (Not Supported) #

The engine doesn’t support synchronous action execution. All actions are async. If you have a use case that genuinely requires synchronous side effects (e.g. modifying an order before WooCommerce processes it further), don’t use the automation engine — write a custom WooCommerce action hook handler directly.

The trade-off: async dispatch is much safer (no risk of slowing checkout, no risk of taking down the site if a receiver is slow) but means actions are eventually consistent, not immediately consistent.

Updated on June 18, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Automation OverviewWebhooks and HMAC
Table of Contents
  • The Dispatch Model
  • The Retry Policy
  • What Counts as a Failure
  • Permanent Failure
  • Action Scheduler Health
  • Deduplication
  • Cooldowns vs Retries
  • Webhook-Specific Retry Behavior
  • Monitoring Dispatch Health
  • Synchronous Execution (Not Supported)
Newsletter

Insights that grow your business

Join thousands of WooCommerce store owners who get actionable tips, plugin updates, and industry news every week — plus 10% off either of our plugins as a welcome.

We respect your privacy. Unsubscribe at any time.

10% off welcome gift — A code for either plugin, on us
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...
10% off inside
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.

Products

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

Company

  • About Us
  • Blog
  • Contact
  • Affiliates
  • Log In

Resources

  • Help Center
  • Guides
  • Verify a report
  • 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

Get 10% off
Smart Cycle Discounts or TrustLens

Drop your email and we’ll send you a unique, single-use code — works on either plugin at checkout. New customers, first payment.

23 hours
:
59 minutes
:
59 seconds

No spam. Unsubscribe anytime.

  • WordPress
    Back
    Products
    Smart Cycle DiscountsDiscount automation › TrustLensCustomer trust intel › Cycle AI AIPlain-English campaigns ›
    New pluginComing soon
    Resources & toolsDocs, pricing, support ›
    Smart Cycle Discounts

    Smart Cycle Discounts

    Automate WooCommerce discount campaigns — schedule, target, and measure.

    62%
    Free Pro $59 5 discount types Recurring
    Jump into the page
    How it works Capabilities Promo codes Pricing
    Docs
    Getting started Discount types Scheduling
    Explore Smart Cycle Discounts → Changelog
    TrustLens

    TrustLens

    Customer trust intelligence — score buyers, spot abuse, protect revenue.

    Trust 86
    Free Pro $79 6 segments Abuse detection
    Jump into the page
    How it works Detection Outcomes Pricing
    Docs
    Trust scoring Detection modules Card-testing defense
    Explore TrustLens → Verify a report Changelog

    Cycle AI inside Smart Cycle Discounts

    Describe a sale in plain English — Cycle AI builds the whole campaign.

    “20% off hoodies this weekend”
    Included in Pro Natural language Catalog-aware
    See it work

    Type a sentence, get a ready-to-launch discount campaign that already understands your products, prices, and schedule.

    Live demo How it works
    Meet Cycle AI →

    A new plugin Coming soon

    Something is loading in the lab. Join the list to get the reveal first.

    Notify me on launch →

    Resources & tools

    Everything around the plugins — docs, free tools, and help.

    Learn
    Documentation Pricing & bundle Support
    Free tools
    Discount Calculator Sale Calendar
    Stay current
    SCD changelog TrustLens changelog
    Compare all plans →
    Secure checkout WordPress.org 14-day refund View pricing →
  • Affiliate
    Back
    Program
    OverviewHow the program works How it works4 steps from apply to earn Commission details30% · 60-day cookie · recurring
    Get started
    Apply nowOpen Takes ~2 minutes Earnings calculatorEstimate your monthly income FAQPayouts, cookies, renewals
    Resources
    Brand kitLogos, banners, copy, social PlaybookTactics that actually convert FTC disclosureHow to disclose properly Affiliate termsFull program agreement Contact teamOpen the contact form
    Earn 30% recurring on every saleFree 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 DiscountsAutomated WooCommerce discount campaigns
    Getting started› Discount types› Cycle AI›
    TrustLensCustomer 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 make WordPress tools that solve real problems.

    Learn more
    Built from experienceTools we use ourselves
    Time is preciousSimple, intuitive UX
    Real supportTalk to the founders
    Legal & contact
    Contact us Privacy policy Terms of service Refund policy
    14-day money-backNo 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