> For the complete documentation index, see [llms.txt](https://docs.ownchat.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ownchat.app/bot/connections/shopify/check-customer.md).

# Check Customer

### Overview &#x20;

The Check Customer action verifies whether a customer already exists in your Shopify store using their phone number, email, or customer ID. The response is stored in a variable and can be used to drive conditional logic in your workflow — for example, routing new and returning customers through different bot flows.

{% embed url="<https://app.supademo.com/demo/cmpl7su9y30vdqms9kqlp42bn?utm_source=link>" %}

### Prerequisites &#x20;

Before configuring this action, ensure the following:

* You have an active Shopify connection configured under the Apps tab in Ownchat
* The bot you want to configure is already created in the Bot Builder
* The customer's phone number, email, or customer ID is available as a variable from a previous workflow node

### Step 1: Add a Check Customer Node &#x20;

1. Click the plus icon in your bot workflow to add a new node.

{% embed url="<https://app.supademo.com/demo/cmpv7fpbx006i0g0jkq649qvm?utm_source=link>" %}

2. Go to the Connections tab within the node editor.<br>

{% embed url="<https://app.supademo.com/demo/cmpv7gvlj007a0g0jn179nw09?utm_source=link>" %}

3. Click Shopify to expand the available actions.<br>

{% embed url="<https://app.supademo.com/demo/cmpv7hrwa093v0t0i13dd2n8v?utm_source=link>" %}

4. Click Check Customer to open the configuration form.<br>

{% embed url="<https://app.supademo.com/demo/cmpv7imob00102q0j7lililf9?utm_source=link>" %}

### Step 2: Configure the Action &#x20;

#### 2.1 — Name the Action &#x20;

Enter a descriptive name in the Action name field (e.g., Check Customer).<br>

{% embed url="<https://app.supademo.com/demo/cmpv7jhe700122q0jqh5m27w7?utm_source=link>" %}

#### 2.2 — Select Connection &#x20;

From the connection dropdown, select your Shopify connection (e.g., ieyal shopify live).<br>

{% embed url="<https://app.supademo.com/demo/cmpv7kffb08ij0y0j1s71uepx?utm_source=link>" %}

### Step 3: Enter the Customer Identifier &#x20;

1. In the phone number field, enter a static value or click Add variable to use a dynamic value from the workflow.<br>

{% embed url="<https://app.supademo.com/demo/cmpv7lmq0093z0t0ihftxnw8p?utm_source=link>" %}

2. Select phone from the variable dropdown to map the customer's phone number to this field.<br>

{% embed url="<https://app.supademo.com/demo/cmpv7mj5c08im0y0j9s44n0hz?utm_source=link>" %}

### Step 4: Store the Response &#x20;

From the variable dropdown, select or create a variable to store the customer check response returned by Shopify. This variable can be used in downstream nodes to apply conditional logic based on whether the customer exists.<br>

{% embed url="<https://app.supademo.com/demo/cmpv7nm7o08iq0y0j5wqp9vw1?utm_source=link>" %}

### Step 5: Save and Publish &#x20;

1. Click Create to save the action configuration.

{% embed url="<https://app.supademo.com/demo/cmpv7pu3a007c0g0j9w66vmn4?utm_source=link>" %}

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

{% embed url="<https://app.supademo.com/demo/cmpv7pu3a007c0g0j9w66vmn4?utm_source=link>" %}

### Notes &#x20;

* This action checks whether a customer exists in your Shopify store using their phone number, email, or customer ID.
* The stored response variable contains the result of the customer lookup and is best used as input for a conditional branch in your workflow.
* Changes take effect only after clicking Publish.

### Related Actions &#x20;

* Shopify — Get Customer Details — Retrieve full details of an existing customer
* Shopify — Get Customer Addresses — Retrieve all saved addresses for a customer
* Shopify — Create Order — Create a confirmed order in your Shopify store
* Bot Builder — Node Configuration — General guide to adding and configuring nodes
