Every order that reaches your store needs a decision: place it, hold it, call the customer, or cancel it. Today someone makes that call by hand, order by order. The Order Routing Playbook lets you write those decisions down once as rules, and then applies them automatically to every new order.
You get two separate playbooks - one for COD orders and one for Prepaid orders. Each is configured and switched on independently, so you can automate one payment type without touching the other.
In this article
How the Playbook works
Where to find it
Building a rule - conditions, actions and tags
Ordering your rules
Turning individual rules on and off
Setting your Fallback Action
Setting your Wait Time
Activating your Playbook
FAQs
1. How the Playbook works
When a new order comes in, three things happen in sequence:
The Playbook waits for the time you’ve set in Wait Time.
It checks the order against your rules, from the top down.
The first rule that matches is applied - and checking stops there. If no rule matches, your Fallback Action applies.
Why rule order matters.
Because the first match wins, your rule list is your priority list. Put your most specific rules - the ones with multiple conditions - above your broader, single-condition rules. A rule sitting below one that already caught the order will never fire for it.
2. Where to find it
Open Order Routing Playbook from the left-hand navigation. You’ll land on the COD Orders Playbook, with the Prepaid Orders Playbook below it.
Both come pre-loaded with a set of suggested starter rules, so you’re never starting from a blank page. Use them as they are, edit them to fit your business, or delete them and build your own.
The Order Routing Playbook page, showing the COD Orders Playbook with its rule list, Fallback Action and Wait Time.
Nothing runs until you click Activate at the bottom of the page. Take your time setting things up.
3. Building a rule
Anatomy of a rule card
Every rule in your list is one card. Reading left to right:
A single rule card showing the on/off toggle, the condition, the action badge and the tag.
Element | What it is |
Number | The rule’s position in the sequence. Lower numbers are checked first. |
Toggle | Switches this rule on or off without deleting it. |
Condition | What has to be true for this rule to fire. |
Action badge | What happens to the order when it does. |
Tag | The label attached to matching orders. |
⋮ menu | Edit Rule or Delete Rule. |
Opening the rule builder
To create a rule, click + Add Another Rule below your rule list.
To change an existing one, click the ⋮ menu on that rule card and choose Edit Rule.
The three-dot menu on a rule card, showing Edit Rule and Delete Rule.
The rule configurator opens with three parts: Conditions, Select Actions, and Add Tag.
The rule configurator panel, with Conditions, Select Actions and Add Tag.
Step 1 - Set your conditions
A condition is an attribute, an operator and a value - for example, Order Value greater than ₹2,500.
The Conditions section, with two conditions joined by AND and the Add condition link.
Click + Add condition to add more. Conditions are joined with AND, which means the rule only fires when every condition is true. Two conditions make the rule more specific and narrower; one condition makes it broad.
These are the attributes you can build conditions on:
Category | Attribute | Values / Operators |
Order | Payment Type | COD / Prepaid / Partial COD |
Order | Order Value | Range: minimum ₹ to maximum ₹ (leave the maximum blank for “greater than”, the minimum blank for “less than”) |
Order | Order Quantity | Greater than / Less than (number) |
Order | Order Tags | Equals / Contains (text, multiple allowed) |
Order | Duplicate Order | Yes / No |
Order | Wingman WhatsApp Verified | Yes / No |
Customer | Customer Type | First-time / Repeat |
Customer | Phone Number Status | Valid / Invalid / Missing |
Customer | WhatsApp Number Status | Valid / Invalid |
Customer | Historical Delivery Rate | Greater than / Less than (%) |
Geographic | Pincode RTO Risk | High / Moderate / Low |
Geographic | City | Multi-select |
Geographic | State | Multi-select |
Geographic | RTO Risk Indicator (overall) | High / Moderate / Low |
Geographic | State-level RTO Risk | High / Moderate / Low |
Geographic | Address Quality Score | Greater than / Less than (score 1–10) |
Step 2 - Choose the action
Turn on Select Actions and pick what should happen when the conditions are met. One action per rule.
The Select Actions row, with Send to Manual Calling selected.
Action | What it does | Best used for |
Verify & Place | Verifies the order and immediately pushes it to Placed(In-processing) for fulfillment. | Your safest, lowest-risk orders — repeat customers in low-RTO areas. |
Verify Only | Marks the order verified but does not push it to Placed. You place it manually later. | Orders you’re confident about but still want one last checkpoint on. |
Move to On-Hold | Flags the order for manual review before it can be verified or placed. | Orders that need a look from your team but not necessarily a phone call. |
Send to Manual Calling | Queues the order for a confirmation call (Calling) | High-value orders, first-time customers, duplicates, anything uncertain. |
Cancel Order | Cancels the order automatically. | Only clear fraud or extreme RTO signals. |
Cancel Order cannot be undone. Once an order is auto-cancelled it can’t be restored.
Only use this action on conditions you’re completely confident about - and consider Move to On-Hold or Send to Manual Calling first while you build confidence in a new rule.
Step 3 - Add a tag
Turn on Add Tag and give the rule a short label. Every order this rule catches gets that tag attached.
The Add Tag section with a tag named High Risk.
Tags are not just labels. They are how the Playbook talks to the rest of your stack.
Trigger actions in your other apps. When the Playbook tags an order, that tag travels with the order. Any external app you’ve connected can watch for that tag and act on it - a WhatsApp flow that messages the customer, a sheet that logs the order for your finance team, or any automation you’ve built yourself.
So a rule that tags an order High Risk isn’t just marking it. It’s firing a trigger that the rest of your tools can hang work off, without waiting on us to build that integration for you.
Faster review inside Orders. Tags also appear on the order in your Orders section, so you can filter and scan by them. If you want to pull up everything the Playbook flagged as high risk this week, or every duplicate order it caught, the tag is how you find them quickly.
Naming your tags. Keep them short, lowercase-consistent, and stable. If an external app is listening for high-risk, renaming the tag to High Risk Order will silently break that automation. Decide your tag names with whoever owns your integrations before you activate.
When you’re done, click Save Changes - or Discard to throw the edits away.
4. Ordering your rules
Since the first matching rule wins, sequence is everything.
Click Edit Sequence at the top of a playbook to switch into reorder mode, then drag rules by the handle on the right of each card until the order is right.
(A rule card in Edit Sequence mode, with the drag handle on the right.)
A rule with multiple conditions is more specific than one with a single condition, so it belongs higher up.
A rule with three conditions joined by AND - more specific, so it should sit above broader rules.
A worked example Say you have one rule that auto-places low-risk repeat prepaid orders, and another that sends high-RTO prepaid orders to calling. The high-RTO rule has to sit above the auto-place rule. If it doesn’t, the auto-place rule fires first and your high-risk orders get shipped before anyone looks at them.
5. Turning individual rules on and off
Every rule card has a toggle on the left. Switch it off to pause that one rule without deleting it - useful when you want to test the impact of a rule, or take it out of play for a short period. The rule stays in your list with all its settings intact.
To remove a rule permanently, use the ⋮ menu and choose Delete Rule.
To stop an entire payment type - automation on COD but not on Prepaid, say - use the Disable Playbook toggle in that playbook’s header. Your rules are preserved exactly as you left them.
6. Setting your Fallback Action
The Fallback Action decides what happens to every order that matches none of your rules. It is mandatory - there is no such thing as an unhandled order.
The Fallback Action bar, with its action dropdown and Add Tag button.
Pick your fallback from the dropdown, and optionally add a tag to it - same as on a rule, so your external apps can pick up uncategorised orders too.
7. Setting your Wait Time
Wait Time is how long the system holds a new order before your rules are applied.
The Wait Time Before Execution setting and its dropdown.
The window exists so customers who cancel or change their order shortly after placing it are handled before automation kicks in. It saves you from spending a call - or a shipment - on an order that was about to be cancelled anyway.
Set it from the Wait Time Before Execution dropdown at the bottom of each playbook.
8. Activating your Playbook
Once your rules, Fallback Action and Wait Time are set for both playbooks, click Activate in the footer.
The page footer with the Cancel and Activate buttons.
From that point, every new order routes itself. You can come back and edit anything at any time.
9. FAQs
❓Can an order match more than one rule?
It can, but only the first matching rule from the top is applied - everything below it is skipped for that order. Use Edit Sequence to make sure your most specific rules sit highest.
❓What if two rules have overlapping order value ranges?
The higher rule wins for any order in the overlapping range. That’s sometimes exactly what you want. If it isn’t, adjust the ranges or reorder the rules.
❓Do I have to set up both COD and Prepaid?
No. Each playbook works independently. Configure one and disable the other if that suits your business.
❓What happens to orders already in progress when I change a rule?
Changes apply to orders received after you save. Orders already processed keep the outcome they were given.
❓Is Cancel Order reversible?
No. Once an order is auto-cancelled it cannot be restored.
❓Can I edit the suggested pre-set rules?
Yes. They’re a starting point, not a fixed template. Change the thresholds, change the actions, or delete any you don’t need.
❓Can one rule apply more than one tag?
Each rule carries one tag. If you need an order to trigger several downstream actions, have your external app branch on the single tag rather than trying to stack tags on the rule.
❓Will tags from the Playbook conflict with tags already on my orders?
Playbook tags are added to the order alongside anything already there. Pick tag names that don’t collide with tags your store or other apps are already writing.
Need a hand?
If you need more assistance, reach out to your account manager or start a chat with our support team.