Sometimes the problem isn't a handful of bad pincodes — it's an entire state. High RTO rates, logistics constraints, or fraud patterns concentrated in one region are all good reasons to block COD (or any other payment method) for every pincode in that state, not just a curated list.
This takes two steps: build a segment for the state(s) you want to target, then create an automation that blocks the payment method for that segment.
Step 1 — Build the state segment
Before you can target a state in an automation, you need a segment that contains it. Shopflo lets you build a Pincode segment directly from a state selector, so you don't have to source pincodes yourself.
Use Include if you're targeting specific states (e.g. block COD only in Arunachal Pradesh), or Include all, except if you want to block COD everywhere except a few states.
Step 2 — Create the automation
Once your state segment is saved, setting up the automation is exactly the same flow as blocking COD for specific pincodes — the only difference is which segment you select. In short:
Go to Automations → New Automation → Start Blank
Choose Block Payment as the action, then pick the payment method to restrict (COD, UPI, cards, etc.)
Under Customer Eligibility, select Customer Segment and choose the state segment you just built
Set the channels and validity period, then Save and make sure the automation is activated
For the full click-by-click walkthrough of this part, follow the steps in:
Just swap the pincode-list segment in that guide for the state segment you built in Step 1 — everything else is identical.
Related Articles
Need help? Reach out to us at support@shopflo.com
