Get Customer Details
Overview
The Get Customer Details action retrieves a customer's information from your WooCommerce store β including name, email, phone number, and address β using their Customer ID. The response is stored in a variable for use in downstream workflow steps such as order processing, support flows, or personalised communication.
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 is available as a variable from a previous workflow node
Step 1: Add a Get Customer Details Node
Click Add Node in the Bot Builder to create a new action node.
Go to the Connections tab within the node editor.
Click WooCommerce to expand the available actions.
Click Get Customer Details 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 Customer Details).
2.2 β Select Connection
From the dropdown, select your WooCommerce connection (e.g., woocommerce-ownchat).
Step 3: Set the Customer ID
Click Add variable to open the variable selector.
Select customerid from the variables list to populate the Customer ID field.
Step 4: Store the Response
From the variable dropdown, select Create new variable and name it to store the customer details response (e.g., customerdetails). This variable will hold the customer information returned by WooCommerce and can be referenced in any downstream workflow step.
Step 5: Save and Publish
Click Create to save the action configuration.
Click Publish to deploy the bot with the new action.
Notes
The Customer ID is required. Ensure it is captured or passed as a variable from an earlier workflow node before this action is reached.
The stored response variable contains the customer's name, email, phone number, and address as returned by WooCommerce.
Changes take effect only after clicking Publish.
Related Actions
WooCommerce β Get All Orders β Retrieve all orders from your WooCommerce store
WooCommerce β Get Order Status β Check the current status of a specific order
Bot Builder β Node Configuration β General guide to adding and configuring nodes
Last updated