Update Order Status

Change the status of WooCommerce orders programmatically.

Overview

The Update Order Status action changes a WooCommerce order’s status. This is essential for order processing workflows, fulfillment automation, and status synchronization with external systems.

Configuration

Required Fields

FieldTypeDescription
OrderintegerOrder ID to update
StatusselectNew order status

Optional Fields

FieldTypeDescription
NotestringStatus change note
Notify CustomerbooleanSend status email

Order Statuses

StatusDescription
pendingAwaiting payment
processingPayment received, preparing
on-holdAwaiting payment confirmation
completedOrder fulfilled
cancelledOrder cancelled
refundedOrder refunded
failedPayment failed

Custom statuses from plugins are also supported.

Example Configurations

Mark as Processing

Order: {{Trigger.order_id}}
Status: processing
Note: Payment verified, ready for fulfillment
Notify Customer: true

Complete Order

Order: {{Trigger.order_id}}
Status: completed
Note: Shipped via {{Trigger.carrier}}
Notify Customer: true

Cancel Abandoned

Order: {{Trigger.order_id}}
Status: cancelled
Note: Auto-cancelled after 48 hours without payment
Notify Customer: true

Output Data

VariableTypeDescription
{{Action.order_id}}integerOrder ID
{{Action.old_status}}stringPrevious status
{{Action.new_status}}stringNew status

Common Workflows

Payment Verification

  1. Trigger: External payment confirmed
  2. Action: Update Order Status
    • Status: processing
    • Notify Customer: true

Fulfillment Completion

  1. Trigger: Shipment created
  2. Action: Update Order Status
    • Status: completed
    • Note: Tracking: {{Trigger.tracking_number}}

Fraud Hold

  1. Trigger: Order Created
  2. Condition: Order flagged for review
  3. Action: Update Order Status
    • Status: on-hold
    • Note: Flagged for fraud review

Best Practices

  • Include meaningful notes for audit trails
  • Notify customers of important status changes
  • Use conditions to prevent invalid transitions
  • Log status changes for troubleshooting