Skip to content

Order Created

Trigger a workflow when a new WooCommerce order is placed.

Overview

The Order Created trigger fires when a new order is placed in your WooCommerce store. This happens at checkout completion, regardless of payment status.

When It Fires

  • Customer completes checkout
  • Admin creates order manually
  • Order created via REST API
  • Subscription creates renewal order

Configuration

FieldTypeRequiredDescription
Order StatusselectNoFilter by initial status
Minimum TotalnumberNoOnly orders above this amount
ProductselectNoOrders containing specific product

Available Data

Order Information

VariableTypeDescription
{{Trigger.order_id}}integerOrder ID
{{Trigger.order_number}}stringDisplay order number
{{Trigger.status}}stringOrder status
{{Trigger.total}}stringOrder total
{{Trigger.subtotal}}stringSubtotal before tax/shipping
{{Trigger.tax_total}}stringTotal tax
{{Trigger.shipping_total}}stringShipping cost
{{Trigger.discount_total}}stringDiscount amount
{{Trigger.currency}}stringCurrency code
{{Trigger.payment_method}}stringPayment method ID
{{Trigger.payment_method_title}}stringPayment method name
{{Trigger.date_created}}stringOrder creation date

Billing Information

VariableTypeDescription
{{Trigger.billing.first_name}}stringFirst name
{{Trigger.billing.last_name}}stringLast name
{{Trigger.billing.email}}stringEmail address
{{Trigger.billing.phone}}stringPhone number
{{Trigger.billing.address_1}}stringAddress line 1
{{Trigger.billing.address_2}}stringAddress line 2
{{Trigger.billing.city}}stringCity
{{Trigger.billing.state}}stringState/Province
{{Trigger.billing.postcode}}stringPostal code
{{Trigger.billing.country}}stringCountry code

Shipping Information

VariableTypeDescription
{{Trigger.shipping.first_name}}stringFirst name
{{Trigger.shipping.last_name}}stringLast name
{{Trigger.shipping.address_1}}stringAddress line 1
{{Trigger.shipping.city}}stringCity
{{Trigger.shipping.state}}stringState/Province
{{Trigger.shipping.postcode}}stringPostal code
{{Trigger.shipping.country}}stringCountry code

Order Items

VariableTypeDescription
{{Trigger.items}}arrayArray of line items
{{Trigger.items[0].name}}stringProduct name
{{Trigger.items[0].quantity}}integerQuantity ordered
{{Trigger.items[0].total}}stringLine total
{{Trigger.items[0].product_id}}integerProduct ID
{{Trigger.item_count}}integerTotal number of items

Customer Information

VariableTypeDescription
{{Trigger.customer_id}}integerCustomer user ID (0 for guests)
{{Trigger.customer_note}}stringOrder notes from customer

Example Workflows

Order Confirmation

Send custom order confirmation:

  1. Trigger: Order Created
  2. Action: Send Email
    • To: {{Trigger.billing.email}}
    • Subject: Order #{{Trigger.order_number}} Confirmed
    • Body: Order summary and next steps

Notify Team

Alert your team of new orders:

  1. Trigger: Order Created
  2. Action: Send Email
    • To: orders@yourstore.com
    • Subject: New Order: ${{Trigger.total}} from {{Trigger.billing.first_name}}

Add to CRM

Create customer record:

  1. Trigger: Order Created
  2. Action: Airtable - Create Record
    • Email: {{Trigger.billing.email}}
    • Name: {{Trigger.billing.first_name}} {{Trigger.billing.last_name}}
    • First Order: {{Trigger.total}}

High-Value Order Alert

Special handling for large orders:

  1. Trigger: Order Created
    • Minimum Total: 500
  2. Action: Send Email
    • To: vip@yourstore.com
    • Subject: High-value order: ${{Trigger.total}}

Best Practices

  • Use this trigger for immediate actions (confirmations, notifications)
  • For fulfillment workflows, consider Order Completed trigger
  • Filter by minimum total for VIP customer handling
  • Sync to CRM immediately for sales tracking