Workflows
Blocks
Triggers
WooCommerce Trigger

WooCommerce Trigger

What it does: Fires your workflow when commerce events happen in your WooCommerce store — new orders, status changes, product updates, customer sign-ups, and coupon activity.

🎯

In simple terms: Connect your WooCommerce store to automations. When customers buy, orders complete, or products change, your workflow runs automatically — no manual checking required.

When to Use This

  • ✅ Send a custom confirmation email when a new order is placed
  • ✅ Notify your team when an order is completed or cancelled
  • ✅ Update inventory or CRM records when orders change
  • ✅ Welcome new customers with an automated email sequence
  • ✅ Sync product changes to an external catalog system
  • ✅ Alert on coupon creation for discount tracking

Supported Events

Order Events

EventDescription
order.createdA new order is placed
order.updatedAn order is modified (status, payment, items)
order.deletedAn order is deleted
order.completedAn order status reaches "completed"

Product Events

EventDescription
product.createdA new product is added
product.updatedA product or variant is updated
product.deletedA product is removed

Customer Events

EventDescription
customer.createdA new customer account is registered
customer.updatedA customer's profile is updated
customer.deletedA customer account is deleted

Coupon Events

EventDescription
coupon.createdA new coupon is created
coupon.updatedA coupon is modified

Prerequisites

  • A WordPress site with WooCommerce installed
  • Administrator access to your WordPress/WooCommerce site
  • WooCommerce REST API enabled

Setup Guide

Step 1 — Create WooCommerce API Keys

  1. In your WordPress Admin, go to WooCommerceSettingsAdvancedREST API
  2. Click Add key
  3. Set Description: InditeAI Integration
  4. Set User: select an admin user
  5. Set Permissions: Read/Write
  6. Click Generate API key
  7. Copy the Consumer Key and Consumer Secret — you won't see them again

Step 2 — Connect Credentials

  1. Add the WooCommerce Trigger to your workflow
  2. Click Select CredentialsCreate New
  3. Enter your Store URL (e.g., https://mystore.com)
  4. Enter your Consumer Key and Consumer Secret
  5. Save credentials

Step 3 — Get Your Webhook URL

  1. In the trigger settings, copy the Webhook URL

Step 4 — Register Webhook in WooCommerce

  1. In WordPress Admin, go to WooCommerceSettingsAdvancedWebhooks
  2. Click Add webhook
  3. Set Status to Active
  4. Select the Topic matching your chosen event (e.g., Order created)
  5. Paste your Webhook URL as the Delivery URL
  6. Click Save webhook

Repeat for each event you want to subscribe to.

Step 5 — Select Events

In the trigger settings, check which WooCommerce events should fire this workflow.

Configuration Reference

SettingDescription
CredentialsYour store URL, Consumer Key, and Consumer Secret
EventsWhich webhook topics trigger this workflow
Webhook URLPaste this in WooCommerce webhook settings

Output Variables

VariableDescription
{{trigger.type}}Event topic (e.g., order.created, customer.created)
{{trigger.orderId}}WooCommerce order ID
{{trigger.orderStatus}}Order status (e.g., processing, completed)
{{trigger.orderTotal}}Total order amount
{{trigger.customerEmail}}Customer email address
{{trigger.customerId}}WooCommerce customer ID
{{trigger.productId}}Product ID (for product events)
{{trigger.productName}}Product name
{{trigger.timestamp}}When the event occurred
{{trigger.rawPayload}}Full WooCommerce webhook payload

Common Use Cases

1. Order Confirmation

Events: order.created

Workflow:

  1. Send Email: Custom confirmation to {{trigger.customerEmail}}
  2. Slack: Notify #orders channel
  3. Google Sheets: Log order for reporting

2. Completion + Review Request

Events: order.completed

Workflow:

  1. Send Email: "Your order is complete! Leave a review: [link]"
  2. HubSpot: Add customer to post-purchase nurture sequence

3. New Customer Welcome

Events: customer.created

Workflow:

  1. Send Email: Welcome email with first-purchase discount
  2. Mailchimp: Add to new customer drip sequence

4. Product Catalog Sync

Events: product.created, product.updated

Workflow:

  1. HTTP Request: Push update to external inventory system
  2. Airtable: Sync product catalog database

5. Order Cancellation Handling

Events: order.updated (filtered by status)

Workflow:

  1. Condition: {{trigger.orderStatus}} = cancelled
  2. Send Email: Cancellation confirmation + refund timeline
  3. Slack: Alert fulfillment team

Related Blocks

  • WooCommerce Action: Read and manage WooCommerce data within workflows
  • Shopify Trigger: Alternative for Shopify stores
  • Send Email: Customer communication automation
  • Stripe: Cross-reference payment status

Pro Tip: Use order.created for the initial customer communication and order.completed to trigger post-purchase emails (reviews, upsells, loyalty points). Keeping these separate gives you precise control over timing.

Indite Documentation v1.6.0
PrivacyTermsSupport