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
| Field | Type | Description |
|---|
| Order | integer | Order ID to update |
| Status | select | New order status |
Optional Fields
| Field | Type | Description |
|---|
| Note | string | Status change note |
| Notify Customer | boolean | Send status email |
Order Statuses
| Status | Description |
|---|
pending | Awaiting payment |
processing | Payment received, preparing |
on-hold | Awaiting payment confirmation |
completed | Order fulfilled |
cancelled | Order cancelled |
refunded | Order refunded |
failed | Payment 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
| Variable | Type | Description |
|---|
{{Action.order_id}} | integer | Order ID |
{{Action.old_status}} | string | Previous status |
{{Action.new_status}} | string | New status |
Common Workflows
Payment Verification
- Trigger: External payment confirmed
- Action: Update Order Status
- Status:
processing
- Notify Customer: true
Fulfillment Completion
- Trigger: Shipment created
- Action: Update Order Status
- Status:
completed
- Note: Tracking:
{{Trigger.tracking_number}}
Fraud Hold
- Trigger: Order Created
- Condition: Order flagged for review
- 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