> 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/get-customer-details.md).

# Get Customer Details

### Overview &#x20;

The Get Customer Details action retrieves a customer's information from your Shopify store using their customer ID or email. The response is stored in a variable for use in downstream workflow steps.

{% embed url="<https://app.supademo.com/demo/cmpl0wh7u2tplqms9g4q2vfd3?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 ID or email is available as a variable from a previous workflow node or as a known static value

### Step 1: Add a Get Customer Details Node &#x20;

1. Click Add Node in the Bot Builder to create a new action step.<br>

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

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

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

3. Click Get Customer Details to open the configuration form.<br>

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

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

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

Enter a meaningful name in the Action name field (e.g., Get Customer Details).

{% embed url="<https://app.supademo.com/demo/cmpv2yidz01041s0jicu6ddbn?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/cmpv2zjz400051s0jka43kvjv?utm_source=link>" %}

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

From the variable dropdown, select or create a variable to store the customer details response (e.g., customerdata).

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

This variable will hold the customer information returned by Shopify and can be referenced in any subsequent workflow step.

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

1. Click Create to save the action configuration.<br>

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

2. Click Publish to deploy the bot with the new action.<br>

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

### Notes &#x20;

* This action retrieves customer information using the customer ID or email.
* The stored response variable contains the complete customer details returned by Shopify.
* Changes take effect only after clicking Publish.

### Related Actions &#x20;

* Shopify — Get Customer Addresses — Retrieve all saved addresses for a customer
* Shopify — Get Address Details — Retrieve details of a specific customer address
* Shopify — Get Order Details — Retrieve details of an existing Shopify order
* Bot Builder — Node Configuration — General guide to adding and configuring nodes
