Automation 💎 Built for Sidekick ⚡ Sidekick does this for you
shopify sidekick automation orders wholesale flow

Tag B2B / Wholesale Orders

Build a Flow that tags orders placed by wholesale/B2B customers or company accounts, separating them from retail orders for reporting and fulfillment.

đź“‹ Prompt
Run in Sidekick
Build a Shopify Flow that tags B2B and wholesale orders automatically.

Trigger: Order created.

Conditions and actions (build whichever branches match how I identify wholesale customers):

  Order is placed through a company location (B2B order) → Add order tags “b2b-order”, plus “[COMPANY_NAME_TAG]” if I want per-account tagging.
  Order’s customer has tag “[WHOLESALE_CUSTOMER_TAG]” (e.g. “wholesale”) → Add order tags “wholesale-order”.
  Order was created via a specific wholesale price list/catalog I name → Add order tags “wholesale-order”.


Then:

  Update order note appending “B2B/wholesale order — verify net terms and PO number before fulfillment” if either condition matched.


Before activating:

  Tell me which of the three ways you actually identify wholesale customers on your store (native B2B company accounts, a customer tag, or a separate price list), so I only build the branch(es) that apply — building a condition on something that doesn’t exist on your store will just never trigger.
  Confirm the tag names.


After I confirm, create and turn on the Flow.

This only tags for visibility and routing — it doesn’t apply wholesale pricing itself (that’s controlled by your B2B catalog/price list setup, not something this Flow changes).

How to Use

  1. Copy the prompt above
  2. Open Shopify Sidekick in your Shopify admin
  3. Paste the prompt and replace the bracketed placeholders with your details
  4. Review Sidekick's response and apply the suggestions