Order Fulfillment
From new Shopify order to shipped, invoiced, and confirmed — or held for ops, or cancelled — without anyone copy-pasting.
Ecom ops teams spend their mornings shuttling orders between Shopify, the warehouse, QuickBooks, and the customer's inbox. Things break: invoices miss orders, ship times slip, fraudulent orders sneak through.
This workflow runs on every new order: Claude validates it, then routes to the right path — pass orders go straight to ShipHero, QuickBooks, and a confirmation email; review orders pause for ops with a holding reply; cancel orders get refunded and notified. A summary lands in #orders.
Every new Shopify order kicks fulfillment off
Every Relay.app workflow starts with a trigger. Here it's an event: a new order lands in Shopify and the workflow fires in seconds — no end-of-day batches, no nightly cron. The validation runs immediately so most orders are in the warehouse pipeline within a minute of clicking buy. Same shape works for WooCommerce, Square, or a custom checkout.
Claude reads the order and tags the outcome
Claude classifies the order into one of three buckets — pass, review, cancel — using country mismatch, value outliers, SKU risk, and fraud signals. The classification is the routing key for the path-group below. Swap Claude for GPT-5.5 or Gemini 3.1 Pro, or pair it with a Shopify customer-history lookup for repeat-buyer context.
One classifier, three paths
Claude's classification kicks one of three paths. Pass orders go straight to ShipHero for picking, QuickBooks for invoicing, and a warm Gmail confirmation. Review orders draft a holding reply, ping the ops lead in Slack for a decision, and update the order status in Shopify so the warehouse doesn't pick from limbo. Cancel orders cancel in Shopify and send a polite refund notice via Gmail.
Click any tab above to see what runs in each branch.
Log every order to the team's running thread
Whichever path fired, a single summary posts to #orders in Slack — total, items, ship destination, validation outcome. The ops team can scroll the day's orders without opening Shopify. Notion, Coda, Airtable, a Sheets row — wherever your team actually keeps logs.
Make it yours in Relay.app
Start from this template and adapt it to your stack and your team. Relay.app's copilot picks up from here — swap any app, change the AI model, tweak the trigger, whatever fits your use case.