Shopify Trigger
What it does: Fires your workflow whenever commerce events happen in your Shopify store — new orders, payments, fulfillments, product changes, customer sign-ups, and more.
In simple terms: Connect your Shopify store to your automation workflows. The moment someone places an order, updates their profile, or a product goes out of stock, your workflow kicks off automatically.
When to Use This
- ✅ Send a personalized thank-you email when a new order is created
- ✅ Trigger fulfillment notifications when an order is paid
- ✅ Update your CRM or inventory system when orders change
- ✅ Notify Slack when a high-value order comes in
- ✅ Auto-enroll customers in a loyalty program on sign-up
- ✅ Alert your team when a refund is processed
- ✅ Sync product changes to an external catalog or PIM system
Supported Events
Order Events
| Event | Description |
|---|---|
orders/create | A new order is placed |
orders/updated | An existing order is modified |
orders/cancelled | An order is cancelled |
orders/fulfilled | An order or order line item is fulfilled |
orders/paid | An order's payment is captured |
Product Events
| Event | Description |
|---|---|
products/create | A new product is added to your store |
products/update | A product or its variants are updated |
products/delete | A product is removed from the store |
Customer Events
| Event | Description |
|---|---|
customers/create | A new customer account is created |
customers/update | A customer profile is updated |
customers/delete | A customer account is deleted |
Cart & Checkout Events
| Event | Description |
|---|---|
carts/create | A cart is created |
carts/update | A cart is updated (items added/removed) |
checkouts/create | A checkout session is started |
checkouts/update | A checkout is updated |
Other Events
| Event | Description |
|---|---|
refunds/create | A refund is issued |
inventory_levels/update | Inventory quantity changes for a variant |
Prerequisites
- A Shopify store (any plan)
- Admin access to your store
- A Shopify custom app with Admin API access enabled
Setup Guide
Step 1 — Create a Shopify Custom App
- In your Shopify Admin, go to Settings → Apps and sales channels
- Click Develop apps → Create an app
- Name it (e.g.,
InditeAI Integration) - Under Admin API access scopes, enable:
read_orders,write_ordersread_products,write_productsread_customers,write_customers- Any other scopes your workflow needs
- Under Webhooks, set your API version to the latest stable version
- Click Install app → copy the Admin API access token
Step 2 — Connect Credentials
- Add the Shopify Trigger to your workflow
- Click Select Credentials → Create New
- Enter your Store Domain (e.g.,
mystore.myshopify.com) - Enter your Admin API Access Token
- Save credentials
Step 3 — Get Your Webhook URL
- In the trigger settings, copy the Webhook URL
Step 4 — Register Webhook in Shopify
- In your Shopify Admin, go to Settings → Notifications → Webhooks
- Click Create webhook
- Select the Event you want to subscribe to
- Paste your Webhook URL as the endpoint
- Select the format: JSON
- Click Save webhook
Repeat for each event you want to subscribe to.
After registering webhooks, click Refresh in the trigger settings to update the status badge.
Step 5 — Select Events
In the trigger settings, check which Shopify events should fire this workflow.
Configuration Reference
| Setting | Description |
|---|---|
| Credentials | Your Shopify store domain and Admin API access token |
| Events | Which webhook topics trigger this workflow |
| Webhook URL | The platform's endpoint — paste this in Shopify webhook settings |
Output Variables
When the trigger fires, these variables are available downstream:
| Variable | Description |
|---|---|
{{trigger.type}} | Event topic (e.g., orders/create, customers/create) |
{{trigger.shopDomain}} | Your Shopify store domain |
{{trigger.orderId}} | Order ID (for order events) |
{{trigger.orderNumber}} | Human-readable order number |
{{trigger.customerEmail}} | Customer's email address |
{{trigger.customerId}} | Shopify customer ID |
{{trigger.totalPrice}} | Order total (for order events) |
{{trigger.productId}} | Product ID (for product events) |
{{trigger.timestamp}} | When the event occurred |
{{trigger.rawPayload}} | Full Shopify webhook payload |
Common Use Cases
1. Order Confirmation & Fulfillment
Events: orders/create
Workflow:
- Send Email: Custom order confirmation to
{{trigger.customerEmail}} - Condition: Is order value > $100?
- Slack: Alert #high-value-orders
- Airtable: Log order for analytics
2. New Customer Welcome
Events: customers/create
Workflow:
- Send Email: Welcome email with discount code
- Mailchimp: Add to "New Customers" email list
- HubSpot: Create contact in CRM
3. Refund Alert
Events: refunds/create
Workflow:
- Slack: Alert #support with refund details
- HubSpot: Log refund in customer timeline
- Condition: 3+ refunds from same customer → flag for review
4. Low Inventory Alert
Events: inventory_levels/update
Workflow:
- Condition:
{{trigger.available}}< 5 - Slack: Alert #inventory-alerts
- Send Email: Notify procurement team
5. Product Catalog Sync
Events: products/create, products/update
Workflow:
- HTTP Request: Sync to external product catalog / PIM
- Google Sheets: Update product inventory tracker
- Notification: Notify marketing of new product
Related Blocks
- Shopify Action: Read and modify Shopify data within workflows
- WooCommerce Trigger: Alternative for WooCommerce stores
- Send Email: Customer communication automation
- Mailchimp / SendGrid: Marketing list management
- Stripe: Cross-reference payment status
Pro Tip: Combine orders/create with a Condition block to split VIP orders (above a certain value or from repeat customers) onto a premium fulfillment track with personalized communications and priority processing.