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

Flag Price-Error Orders for Review

Build a Flow that holds and flags orders where a line item's price looks abnormally low compared to the product's normal price, catching pricing mistakes before they ship.

📋 Prompt
Run in Sidekick
Build a Shopify Flow that catches likely pricing mistakes before an order ships.

Trigger: Order created.

Condition (build the comparison Sidekick can actually check):

  Any line item’s price is less than [PERCENT_OF_COMPARE_AT]% (e.g. 50%) of that product variant’s compare-at price — fetch the variant’s compare-at price via Get product variant data and compare it to the line item price on the order.


Actions:

  Hold fulfillment order, reason: “Line item price below expected range — confirm pricing before shipping.”
  Add order tags: “[PRICE_REVIEW_TAG]” (e.g. “price-review”).
  Update order note appending the line item, its charged price, and the variant’s compare-at price for comparison.
  Send internal email to [PRICING_MANAGER_EMAIL] flagging the order number and price discrepancy.


Before activating:

  Show me the exact comparison logic and confirm the percentage threshold — this only catches errors relative to a compare-at price you’ve actually set; if a product has no compare-at price, this condition can’t evaluate it and that product line will be skipped, which I’ll flag to you.
  Confirm the hold reason and recipient.


After I confirm, create and turn on the Flow.

Note: this can’t detect every kind of pricing mistake (e.g. a manually-applied discount code that was too generous) — it only compares against compare-at price, so tell me if there’s a different reference price you’d rather check against.

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