Get All Orders
Overview
The Get All Orders action retrieves all orders placed in your WooCommerce store. The response is stored in a variable for use in downstream workflow steps, enabling order management, tracking, and automation within your bot.
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 customer ID variable is available from a previous workflow node if filtering by customer
Step 1: Add a Get All Orders Node
Click Add Node in the Bot Builder to create a new action node.
Click WooCommerce to expand the available actions.
Click Get All Orders to open the configuration form.
Step 2: Select Connection
From the dropdown, select your WooCommerce connection (e.g., woocommerce-ownchat).
Step 3: Add Parameters
Click Add variable to include additional parameters for the action.
Search for and select customerid from the variables list.
Step 4: Store the Response
From the variable dropdown, select or create a variable to store the orders response returned by WooCommerce. This variable can be referenced in downstream workflow steps to process or display order data.
Step 5: Save and Publish
Click Create to save the action configuration.
Click Publish to deploy the bot with the new action.
Notes
The customerid variable filters the results to orders associated with a specific customer. Ensure this variable is captured in an earlier workflow node before this action is reached.
The stored response variable contains the order data returned by WooCommerce and can be used in any subsequent workflow step.
Changes take effect only after clicking Publish.
Related Actions
WooCommerce β Get Order Details β Retrieve details of a specific order
WooCommerce β Get All Products β Retrieve all products from your WooCommerce store
Bot Builder β Node Configuration β General guide to adding and configuring nodes
Last updated