This is an info Alert.
xpay
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Order Departments for WooCommerce

Order Departments for WooCommerce

Automatically assign WooCommerce orders to departments based on products/categories with email routing and AutomateWoo integration.

10+ active installsFree on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Order Departments for WooCommerce running.

WordPress compatibility
Tested to 6.9.8 — 2 branches behind 7.1
A branch or two behind — normal for a plugin between releases.
Last updated
10 months ago
At least 2.3 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.4
Your host must be running at least this version.
Requires WordPress
6.3
Requires other plugins
woocommerce
These must be installed and active first.
Contributors
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.

10+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Order Departments for WooCommerce is looked after — not on how many stores run it.

Solid
Not enough public feedback to put a confident number on this one. Little public feedback — score rests mostly on release activity. What we can see is below.

Maintenance
26 / 35
Updated 256 days ago.
WordPress compatibility
14 / 20
Tested to WP 6.9.8, 1 branch(es) behind.
Support responsiveness
Not enough data
Only 0 support thread(s) — not enough to judge.
Merchant satisfaction
Not enough data
No ratings yet.
Listing transparency
10 / 10
Provides: screenshots, description, homepage
2 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-09-20 from the WordPress.org plugin registry.
Ratings

No one has rated this plugin on WordPress.org yet. That is a statement about the ratings page, not about the plugin — plenty of well-kept plugins never collect them.

Order Departments for WooCommerce enables large organizations to automatically route orders to the appropriate departments based on the products or the categories of the products in each order.

For each department, a quick access menu is created below the WooCommerce.

The built in WooCommerce order emails can be re-routed so that only the relevant dept gets the order notification thats relevant to them.

The AutomateWoo integration then allows for further workflow automation based on department assignments.

Features

  • Automatic Department Assignment: Orders are automatically assigned to departments based on products/categories
  • Email Routing: Route order emails to department-specific email addresses
  • Admin Filtering: Filter orders by department in WooCommerce admin
  • Quick Access Menus: Direct links to orders for each department
  • AutomateWoo Integration: Complete set of actions, triggers, rules, and variables for workflow automation
  • Department Variables: Access department data in AutomateWoo workflows (names, emails, counts)
  • HPOS Compatible: Full support for WooCommerce High-Performance Order Storage

AutomateWoo Integration

This plugin provides complete AutomateWoo integration, allowing you to create sophisticated workflows based on department assignments. The integration includes custom actions, triggers, rules, and variables specifically designed for department-based automation.

Department Assignment Timing Tip: This plugin assigns departments immediately during order processing using the product/category rules you configure in the taxonomy screens. This happens early enough to affect WooCommerce’s core systems like email sending. AutomateWoo workflows run later in the process, so relying solely on AutomateWoo actions for department assignment would be too late to override WooCommerce’s built-in emails and other core functionality.

Using AutomateWoo for Email Handling: If you prefer to handle all emails through AutomateWoo workflows instead of the built-in email routing:

  1. Disable WooCommerce’s default admin emails
  2. Use AutomateWoo’s email actions with department triggers for full control

This approach gives you the flexibility to use AutomateWoo’s advanced email features (templates, conditions, delays, etc.) while still benefiting from automatic department assignment.

Actions

  • Set Order Department: Replace all existing departments with one department
  • Add Order Department: Add a department while keeping existing ones
  • Remove Order Department: Remove a specific department from an order
  • Clear Order Departments: Remove all departments from an order

Triggers

  • Order Department Added: Fires when a department is added to an order
  • Order Department Removed: Fires when a department is removed from an order
  • Order Department Changed: Fires when departments are modified in any way

Rules

  • Order Has Department: Check if order has specific department(s)
  • Order Department Count: Check the number of departments assigned
  • Order Department Is: Check if order’s departments exactly match a set

Variables

Collection Variables (all departments):
* {{ order.departments_names }}: List of all department names assigned to the order
* {{ order.departments_emails }}: List of all department email addresses (automatically deduplicated)

Per-Department Variables (flexible access):
* {{ order.department_names }}: Department names with index/all/count options
* {{ order.department_emails }}: Department emails with index/all/count options
* {{ order.department_count }}: Number of departments assigned to the order

Variable Parameters

Collection Variables support separator, prefix, and suffix parameters:
* {{ order.departments_names | separator: ';' }} → “Sales;Technical;Support”
* {{ order.departments_names | prefix: 'Dept: ', suffix: ' Team' }} → “Dept: Sales Team, Dept: Technical Team”
* {{ order.departments_emails | separator: '; ' }} → “sales@example.com; tech@example.com”

Per-Department Variables support mode, index, separator, prefix, and suffix parameters:

Mode Options:
* {{ order.department_names }} → First department name (default mode: index)
* {{ order.department_names | mode: 'all' }} → All department names
* {{ order.department_names | mode: 'count' }} → Number of departments

Index Access:
* {{ order.department_names | index: '1' }} → First department name
* {{ order.department_names | index: '2' }} → Second department name
* {{ order.department_emails | index: '1' }} → All emails from first department

Formatting:
* {{ order.department_names | prefix: 'Team: ', suffix: ' Dept' }} → “Team: Sales Dept”
* {{ order.department_emails | separator: '; ' }} → Multiple emails separated by semicolon

Variable Use Cases

  • Sales & Technical Support: Route orders containing software to Technical, hardware to Sales

    • Use {{ order.departments_emails }} to automatically send order notifications to the right team
    • Create conditional workflows based on {{ order.department_count }} for mixed orders
  • Multi-location Fulfillment: Route orders to appropriate warehouses/locations

    • Include {{ order.departments_names }} in fulfillment emails to specify handling location
    • Use department variables in webhook payloads to external fulfillment systems
  • Specialized Teams: Route complex products to specialist departments

    • Send detailed instructions using {{ order.department_names }} for single-department orders
    • Create escalation workflows when {{ order.department_names | mode: 'count' }} exceeds normal thresholds
  • CRM Integration: Trigger department-specific workflows in external systems

    • Pass {{ order.departments_names }} to CRM systems for proper lead assignment
    • Use {{ order.departments_emails }} for automated follow-up sequences

Developer Filters

The plugin provides filters to customize email handling behavior:

Email ID Filters

runthings_wc_order_departments_customer_email_ids

Customize which customer-facing email IDs have their reply-to headers modified by department emails.

add_filter('runthings_wc_order_departments_customer_email_ids', function($email_ids) { // Add custom customer email ID $email_ids[] = 'custom_customer_email'; // Remove an email ID if you don't want it modified $key = array_search('customer_new_account', $email_ids); if ($key !== false) { unset($email_ids[$key]); } return $email_ids; });

Default customer email IDs: customer_completed_order, customer_cancelled_order, customer_failed_order, customer_on_hold_order, customer_invoice, customer_note, customer_refunded_order, customer_processing_order, customer_new_account, customer_reset_password

runthings_wc_order_departments_admin_email_ids

Customize which admin-facing email IDs have their recipients modified to use department emails.

add_filter('runthings_wc_order_departments_admin_email_ids', function($email_ids) { // Add custom admin email ID $email_ids[] = 'custom_admin_notification'; // Remove an email ID if you don't want it modified $key = array_search('backorder', $email_ids); if ($key !== false) { unset($email_ids[$key]); } return $email_ids; });

Default admin email IDs: new_order, cancelled_order, failed_order, backorder

Use Cases for Email Filters

  • Custom Email Types: Add support for emails from other plugins or custom implementations
  • Selective Email Routing: Exclude specific email types from department-based routing
  • Third-party Integration: Ensure compatibility with other email-related plugins

Configuration

Setting Up Departments

  1. Navigate to WooCommerce > Order Departments
  2. Add new departments with:
    • Department name
    • Email addresses (semicolon-separated)
    • Associated product categories
    • Specific products

Email Routing

The plugin provides two types of email routing:

Admin Email Routing

Admin emails (new order notifications, etc.) are automatically routed to department email addresses when departments are assigned to orders.

Customer Email Reply-To Override

Customer emails can have their reply-to headers modified based on department assignments. Configure this at Settings > Order Departments:

  • Override reply-to with department emails: Enable/disable the reply-to override feature
  • For multi-department orders: Choose behavior when multiple unique email addresses are involved:
    • Use all department emails: Add all unique department emails to reply-to header
    • Skip override – fall back to WooCommerce default: Use WooCommerce’s default reply-to setting

Email routing behavior:

  • Single department orders: Always use that department’s email for reply-to (when override enabled)
  • Multi-department orders with same email: Treated as single department
  • Multi-department orders with different emails: Behavior depends on settings choice
  • If the order’s assigned departments have NO email addresses: The plugin does not attempt to override emails and WooCommerce emails work normally
  • If WooCommerce emails are disabled: No emails will be sent regardless of department email configuration

Notes:

  • Each department can have multiple email addresses (semicolon-separated)
  • You can simply set the default WooCommerce admin email address in each department to maintain the same recipient while enabling department-based routing
  • Email routing is determined per-order based on that order’s specific department assignments
  • If the same email address is listed in multiple departments assigned to an order, only one email will be sent to that address (duplicates are automatically removed)

AutomateWoo Workflows

Create workflows using the department triggers, rules, and variables to:

  • Send notifications to external systems using department email variables
  • Create tickets in support systems with department information
  • Update CRM records with department assignments
  • Trigger fulfillment processes based on department rules
  • Route emails to department-specific addresses using {{ order.departments_emails }}
  • Include department context in communications using {{ order.departments_names }}

Requirements

  • WordPress 6.3+
  • WooCommerce 8.2+
  • PHP 7.4+
  • AutomateWoo (optional, for workflow automation)

Additional Notes

Built by Matthew Harris of runthings.dev, copyright 2025.

Visit runthings.dev for more WordPress plugins and resources.

Contribute or report issues at GitHub repository.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/gpl-3.0.html.

Icon – SEO by pictohaven from [https://thenounproject.com/browse/icons/term/seo/](Noun Project) (CC BY 3.0)

How does automatic department assignment work?

Orders are automatically assigned to departments based on the products and categories in the order. The plugin checks each order item against the configured department rules and assigns the appropriate departments.

Can an order be assigned to multiple departments?

Yes, orders can be assigned to multiple departments if they contain products from different department categories or have specific products assigned to different departments.

Do I need AutomateWoo for this plugin to work?

No, AutomateWoo is optional. The core functionality (automatic assignment, email routing, admin filtering) works without AutomateWoo. The AutomateWoo integration provides additional workflow automation capabilities.

Is this compatible with WooCommerce HPOS?

Yes, this plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS) and will work with both traditional and HPOS order storage methods.

Can I manually assign departments to orders?

Yes, you can manually assign or modify department assignments from the order edit screen in WooCommerce admin.

What happens to existing orders when I install the plugin?

Existing orders will not be automatically assigned to departments. Only new orders (or manually updated existing orders) will have department assignments based on your configuration. You can set up a manual workflow in AutomateWoo to backfill department assignments for existing orders if needed.

Categories
Workflow automationOrder management
Plugin details
Version1.1.1
Last updated2026-01-07 1:29pm GMT
Added2025-06-27
Requires WordPress6.3
Tested up to6.9.8
Requires PHP7.4

Tags on WordPress.org
automation
departments
email routing
orders
woocommerce
Alternatives
Other plugins in the same categories.
Bit integrations – Form Integration, Webhook, Spreadsheets, CRM, LMS & Email Automation
20K+ installs
4.9(160)
Automatic Product Categories for WooCommerce
400+ installs
5.0(7)
W2P: Pipedrive CRM Integration for WooCommerce
30+ installs
5.0(4)
GHL Connect for WooCommerce
300+ installs
YayBoost – Sales Booster for WooCommerce
30+ installs
Joinotify
20+ installs
xpay

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy