Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Order Status

Overview

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.

Prerequisites

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

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

  1. Click Get Order Status to open the configuration form.

Step 2: Configure the Action

2.1 β€” Name the Action

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

2.2 β€” Select Connection

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

Step 3: Set the Order ID

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.

Step 4: Store the Response

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.

Step 5: Save and Publish

  1. Click Create to save the action configuration.

  1. Click Publish to deploy the bot with the new action.

Notes

  • 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.

  • 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

Last updated