> For the complete documentation index, see [llms.txt](https://docs.ownchat.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ownchat.app/bot/connections/woo-commerce/get-order-status.md). Agents can also search and read this documentation through its [MCP server](https://docs.ownchat.app/~gitbook/mcp).

# Get Order Status

### Overview &#x20;

The Get Order Status action retrieves the current status of a specific WooCommerce order using its Order ID. The status returned reflects the order's current state — such as processing, completed, or cancelled — and can be used to drive notifications, conditional logic, or fulfillment steps in your workflow.

{% embed url="<https://app.supademo.com/demo/cmpmmwu0s4m7eqms921r17fhf?utm_source=link>" %}

### Prerequisites &#x20;

Before configuring this action, ensure the following:

* You have an active WooCommerce connection configured in Ownchat
* The bot you want to configure is already created in the Bot Builder
* The Order ID is available as a static value or as a variable from a previous workflow node

### Step 1: Add a Get Order Status Node &#x20;

1. Click Add Node in the Bot Builder to create a new action node.<br>

{% embed url="<https://app.supademo.com/demo/cmpw5un8l00q61v0j6fj30gjy?utm_source=link>" %}

2. Click Get Order Status to open the configuration form.<br>

{% embed url="<https://app.supademo.com/demo/cmpw5vrzw005i320j496i5hcl?utm_source=link>" %}

### Step 2: Configure the Action &#x20;

#### 2.1 — Name the Action &#x20;

Enter a descriptive name in the Action name field (e.g., Get Order Status).

{% embed url="<https://app.supademo.com/demo/cmpw5zhid01ir0m0jpy4p8ig0?utm_source=link>" %}

#### 2.2 — Select Connection &#x20;

From the connection dropdown, select your WooCommerce connection (e.g., woocommerce-ownchat).<br>

{% embed url="<https://app.supademo.com/demo/cmpw60gl300qb1v0jtzyq9773?utm_source=link>" %}

### Step 3: Set the Order ID &#x20;

You have two options for supplying the Order ID:

Option A — Static value Enter the Order ID directly in the Order ID field.

Option B — Dynamic variable Click Add variable, use the search field to find the variable, and select orderid from the variables dropdown to populate the Order ID field dynamically.<br>

{% embed url="<https://app.supademo.com/demo/cmpw62ar200yr0k0iteb3m19b?utm_source=link>" %}

### Step 4: Store the Response &#x20;

From the variable dropdown, select or create a variable to store the order status response returned by WooCommerce. This variable can be referenced in downstream nodes to trigger conditional actions based on the order's current state.<br>

{% embed url="<https://app.supademo.com/demo/cmpw64utg00yt0k0ie907h5sg?utm_source=link>" %}

### Step 5: Save and Publish &#x20;

1. Click Create to save the action configuration.

{% embed url="<https://app.supademo.com/demo/cmpw66kf600qp1v0jns40fsc5?utm_source=link>" %}

2. Click Publish to deploy the bot with the new action.<br>

{% embed url="<https://app.supademo.com/demo/cmpw67qxd00qr1v0jggljturb?utm_source=link>" %}

### Notes &#x20;

* The Order ID is required. The action cannot retrieve a status without it.
* Use Option B when the Order ID is collected or generated earlier in the workflow to keep the flow fully dynamic.
* The response variable contains the current order status (e.g., processing, completed, cancelled) and is best used as input for a conditional branch in your workflow.
* Changes take effect only after clicking Publish.

### Related Actions &#x20;

* WooCommerce — Get All Orders — Retrieve all orders from your WooCommerce store
* WooCommerce — Get Order Details — Retrieve full details of a specific order
* Bot Builder — Node Configuration — General guide to adding and configuring nodes
