Screen every new Shopify order for payment fraud risk

By General Input

Every new order gets screened for payment fraud and proxy or VPN use before picking starts, with risky ones tagged and posted to Slack.

Integrations

  • Shopify
  • IPQualityScore
  • Slack

Type

Agentic Task

Categories

  • Operations
  • Finance

When a new order comes into my Shopify store, I want it screened for payment fraud before anyone picks and packs it. Use a webhook trigger on Shopify order creation so this runs the moment the order lands, not on a schedule.

Start with Shopify Get Order, using the order ID from the webhook payload, to pull the full order record. From it collect the billing first and last name, the complete billing address (street, city, state or province, postcode, country), the customer email and phone number, the order total and currency, the order number, and the shopper's browser IP address recorded on the order.

Submit that bundle to IPQualityScore Transaction / Payment Fraud Scoring: billing name, billing address fields, email, phone, order value, and the browser IP together in one call. Keep the returned fraud score and every risk signal it reports, such as a risky or undeliverable billing address, a disposable or freshly created email, a phone that does not match the billing region, or a name that looks fabricated.

Separately run the same browser IP through IPQualityScore IP Reputation & Proxy/VPN Detection to catch buyers hiding their real location. Keep the IP fraud score, the proxy, VPN, Tor, bot, and recent abuse flags, and the country and city the IP resolves to.

Now decide whether the order needs review, using thresholds that tighten as the order value rises, because a bad 40 dollar order is a cheap loss and a bad 900 dollar order is not. IPQualityScore returns 0 to 100, where 75 and above is suspicious and 90 and above is high risk. As a starting point: for orders under 100, flag at a transaction score of 90 or above; for orders from 100 to 500, flag at 80 or above; for orders above 500, flag at 65 or above. On top of that, flag any order above 500 where the IP is a Tor exit node, a high-risk proxy, or shows recent abuse, and flag an order at any value where the IP country differs from the billing country and the transaction score is already 60 or above. Everything else is clean.

For an order that needs review, use Shopify Update Order to add a fraud-review tag and record why. Shopify replaces the entire tag list and the entire note when you update them, so take the existing tags and note from the Get Order result and write them back with the new content appended. Never overwrite what is already there. The note should carry the transaction risk score, the IP risk score, and the specific reasons in plain language, for example: "Fraud review: transaction score 88, IP score 72. Connection is a commercial VPN. Billing country GB does not match IP country NG. Email domain registered 3 days ago." Keep it to a few lines so it stays readable in the Shopify admin.

Then post to the fulfilment channel with Slack Send a Message. Include the order number, the order value, the transaction risk score, and the top three red flags in priority order, plus a direct link to the order in the Shopify admin so someone can open it in one click. Write it for a picker who is not a fraud analyst: say what looks wrong and what to check, not just the raw numbers.

If the order comes back clean, do nothing at all. Do not tag it, do not touch the note, and do not post to Slack, so the channel only ever surfaces genuine review candidates and the team keeps trusting it. One exception: if either IPQualityScore lookup fails, or the order has no recorded browser IP, do not quietly treat that as clean. Score the order on whatever signals are available, and if it still looks risky, say clearly in the Slack message which check could not run.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredChat quality review board for LiveChat support leadsReceiving dock console for inspecting and restocking Loop returnsWin back no-show and cancelled appointments every morningSee which influencer creators actually drove Shopify salesLive Loop returns analytics with product-level drill-downNewsletter pre-flight and approval board for Mailjet sendsTurn a prospect spreadsheet into personalized sequence enrollmentsMailjet email delivery lookup console for support teams