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

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

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

  1. Go to the Connections tab within the node editor.

  1. Click WooCommerce to expand the available actions.

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

  1. Click Add variable to open the variable selector.

  1. Use the search field to filter available variables.

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

  1. Click Create to save the action configuration.

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

  • 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