Check Customer
Overview
The Check Customer action verifies whether a customer already exists in your WooCommerce store database using their email address. Use this action to avoid creating duplicate customer accounts and to retrieve existing customer information for use in downstream workflow steps.
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's email address is available as a variable from a previous workflow node
Step 1: Add a Check Customer 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 Check Customer to open the configuration form.
Step 2: Select Connection
From the dropdown, select your WooCommerce connection (e.g., woocommerce-ownchat).
Step 3: Set the Customer Identifier
Click Add variable to open the variable selector.
Use the search field to filter available variables.
Select Email from the dropdown to map the customer's email address to this field.
Step 4: Store the Response
From the variable dropdown, select or create a variable to store the customer check response returned by WooCommerce. This variable can be used in downstream nodes to apply conditional logic based on whether the customer exists.
Step 5: Save and Publish
Click Create to save the action configuration.
Click Publish to deploy the bot with the new action.
Notes
The email address is used to check whether the customer exists in your WooCommerce store.
The stored response variable contains the result of the customer lookup and is best used as input for a conditional branch β for example, routing to Create Customer if the customer does not exist.
Changes take effect only after clicking Publish.
Related Actions
WooCommerce β Create Customer β Create a new customer account if one does not exist
WooCommerce β Get Customer Details β Retrieve full details of an existing customer
WooCommerce β Get All Orders β Retrieve all orders from your WooCommerce store
Bot Builder β Node Configuration β General guide to adding and configuring nodes
Last updated