Event use case
๐ฏ AI Agent Event-Driven Workflow Scenarios
This document lists all supported Shopify events along with recommended AI automation workflow scenarios. You can use these scenarios as "building blocks" to freely combine them in the AI Workflow Editor, creating your own intelligent store.
๐ Order Management
shopify.orders.create (New Order Created)
- Scenario 1: High-Value VIP Care
- Trigger: Order amount > $200
- AI Action:
- Check customer order history to determine if they are a first-time buyer.
- Send WhatsApp/Email: "Thank you for your trust! As our VIP customer, your order [OrderNumber] has been marked for priority shipping. ๐ Here is a styling guide prepared just for you..."
- Automatically tag the customer as
High Value.
- Scenario 2: Product Usage Guide
- Trigger: Order contains "furniture requiring assembly" or "skincare set".
- AI Action: Send a link to a product usage video tutorial to prevent returns due to misuse.
- Scenario 3: Fraud Risk Alert
- Trigger: Shopify marks risk level as High or Medium.
- AI Action:
- Pause fulfillment process.
- Send internal notification to CS team via Slack/Teams: "โ ๏ธ Order [OrderNumber] flagged as high risk, please review manually."
- Send a gentle verification email to customer: "To ensure your account security, we need to verify that this transaction was authorized by you..."
shopify.orders.updated (Order Information Updated)
- Scenario 1: Address Change Confirmation
- Trigger: Shipping address change detected.
- AI Action: Send confirmation message: "We noticed your shipping address has been updated to [NewAddress]. Could you please confirm if this is correct?"
- Scenario 2: Payment Status Change
- Trigger: Payment status changes from
pendingtopaid. - AI Action: Send a payment success receipt and recommend complementary products (Cross-sell).
- Trigger: Payment status changes from
shopify.orders.cancelled (Order Cancelled)
- Scenario 1: Customer Win-back
- AI Action:
- Gently ask for the reason for cancellation (if cancelled by the customer).
- Generate a 5% discount code valid for 7 days as a "regret compensation".
- Send: "We are sorry we couldn't serve you this time. Here is a small gift for you, looking forward to meeting you again."
- AI Action:
- Scenario 2: Out-of-Stock Appeasement
- Trigger: Cancellation reason is
inventory. - AI Action:
- Sincerely apologize.
- Recommend similar alternative products.
- Offer a free shipping coupon as compensation for next purchase.
- Trigger: Cancellation reason is
๐ฅ Customer Operations
shopify.customers.create (New Customer Registration)
- Scenario 1: Newcomer Welcome Gift
- AI Action:
- Send personalized welcome message: "Welcome to the [BrandName] family!"
- Push brand story or bestseller list.
- (Optional) Automatically issue a newcomer coupon.
- AI Action:
- Scenario 2: B2B Qualification Review
- Trigger: Customer filled in the Company field.
- AI Action: Automatically notify the sales team to follow up and tag the customer as
Potential B2B.
- Scenario 3: Region-Specific Marketing
- Trigger: Customer address is in a specific country (e.g., Japan).
- AI Action: Tag as
Region: Japanand send a Japanese version of the welcome guide and local shipping policy.
shopify.customers.update (Customer Information Updated)
- Scenario 1: Marketing Permission Change
- Trigger:
accepts_marketingchanges totrue. - AI Action: Send a subscription thank-you letter and immediately push the latest promotions for this month.
- Trigger:
- Scenario 2: Birthday Update
- Trigger: Customer updates birthday information.
- AI Action: If birthday is in the current month, immediately send a birthday exclusive coupon.
๐ฆ Logistics & Fulfillment
shopify.fulfillments.create (Package Shipped)
- Scenario 1: Shipping Notification & Recommendation
- AI Action:
- Notify: "Your treasure has embarked on its journey! Tracking Number: [TrackingNumber]."
- "While waiting for your delivery, why not check out how others are styling this product..." (Attach link to buyer reviews)
- AI Action:
- Scenario 2: Split Shipment Explanation
- Trigger: Order status is
partially_fulfilled. - AI Action: "To get your items to you faster, we split your order into multiple packages. This is the tracking number for the first package, the rest will follow shortly!"
- Trigger: Order status is
shopify.fulfillments.update (Logistics Info Changed)
- Scenario 1: Tracking Number Correction
- AI Action: When ERP updates the tracking number, AI automatically syncs it to the customer: "Update: Your tracking number has been updated to [TrackingNumber]. You can check it anytime."
shopify.fulfillment_events.create (Tracking Updates) ๐ฅ Core Experience Point
- Scenario 1: Out for Delivery Reminder
- Status:
out_for_delivery - AI Action: "Ding dong! The courier will deliver your package today. Please keep your phone reachable! ๐"
- Status:
- Scenario 2: Delivery Confirmation (Delivered)
- Status:
delivered - AI Action: "System shows your package has been delivered! ๐ฆ Happy unboxing! If you are satisfied, please leave us a review; if you have any issues, reply to me directly for an instant response!"
- Status:
- Scenario 3: Exception Interception (Exception/Failure)
- Status:
failureorattempted_delivery - AI Action: High Priority. Immediately notify the customer: "๐จ Urgent: The courier attempted to contact you but failed. Please contact the logistics provider as soon as possible to avoid the package being returned. Do you need me to find the local branch number for you?"
- Status:
- Scenario 4: Customs Clearance Alert
- Status:
in_transitand contains keyword "customs". - AI Action: For cross-border orders, notify customer: "Your package is currently undergoing customs clearance, which may take an extra 1-2 days. Please be patient."
- Status:
๐ฐ Conversion & Marketing
shopify.checkouts.create / update (Abandoned Checkout Recovery)
- Scenario 1: Golden 30-Minute Recovery
- Trigger: Customer stops checkout for more than 30 minutes after entering email.
- AI Action:
- Check if inventory is low.
- Send: "There are unpaid items in your cart, and stock is running low! ๐ฑ"
- (Advanced) If still unpaid after 24 hours, send a 10% discount code as a final push.
shopify.draft_orders.create (Draft Order/Created on Behalf)
- Scenario 1: B2B Invoice Reminder
- AI Action: For draft orders created by sales, AI gently reminds the customer to complete payment 24 hours before the due date.
shopify.refunds.create (Refund)
- Scenario 1: Refund Appeasement
- AI Action:
- Confirm refund has been processed.
- Ask for the reason for refund (if partial refund).
- Issue a gift card as compensation to try and retain the customer.
- AI Action:
๐๏ธ Product & Inventory
shopify.products.create (New Product Launch)
- Scenario 1: New Product Seeding
- AI Action: Extract product selling points, generate marketing copy, and automatically push to fan groups or send to subscription email lists.
- Scenario 2: Internal Training
- AI Action: After new product launch, automatically generate product knowledge cards and send to CS team, ensuring they are familiar with new features.
shopify.inventory_levels.update (Inventory Change)
- Scenario 1: Low Stock Alert
- Trigger: Bestseller stock < 10.
- AI Action: Notify operations to restock.
- Scenario 2: Back in Stock Notification
- Trigger: Stock changes from 0 to > 0.
- AI Action: Automatically notify customers who previously clicked "Notify Me": "The [ProductName] you were watching is finally back in stock! Grab it fast!"
โ๏ธ System Management
shopify.app.uninstalled (App Uninstall)
- Scenario 1: Data Archiving & Farewell
- AI Action: (Backend logic only) Stop all automation tasks for this shop, clean up sensitive data, and send a final thank-you email to the merchant.