> 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-order-details.md).

# Get Order Details

### Overview &#x20;

The Get Order Details action retrieves the details of an existing Shopify order using its Order ID and stores the response in a variable for use in downstream workflow steps. Use this action to look up order information and surface it within your bot conversation.

{% embed url="<https://app.supademo.com/demo/cmpkw60u92n3kqms9oj55qcmv?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
* You have the Order ID available as a static value or from a previous workflow node

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

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

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

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

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

3. Click Shopify to expand the available actions.

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

4. Click Get Order Details to open the configuration form.<br>

{% embed url="<https://app.supademo.com/demo/cmpuzoawb00vd1s0jr6bdgu87?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., Get Order Details).<br>

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

#### 2.2 — Enter the Order ID &#x20;

In the Order ID field, enter the Order ID of the order you want to retrieve. This can be:<br>

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

* A static value entered directly into the field
* A variable passed from a previous node in the workflow (e.g., from a Create Order response)

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

1. Click the variable field to open the dropdown.
2. Select Create new variable and name it (e.g., orderdetails).

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

The variable will hold the full order details response from Shopify. Reference it in subsequent nodes to display or process order information.

### Step 4: Save and Set as Start Action (if applicable) &#x20;

1. Click Create to save the action configuration.

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

2. If prompted, click Yes to confirm setting this as your start action.<br>

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

### Step 5: Publish &#x20;

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

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

### Notes &#x20;

* The Order ID is required. The action cannot retrieve order details without it.
* If the Order ID is collected earlier in the workflow, use a variable in the Order ID field rather than a static value.
* The stored response variable contains the complete order details returned by Shopify and can be used in any downstream node.
* The Set as start action prompt may appear depending on your workflow configuration. Confirm only if this node is intended to be the entry point of your bot flow.
* Changes take effect only after clicking Publish.

### Related Actions &#x20;

* Shopify — Create Order — Create a confirmed order in your Shopify store
* Shopify — Cancel Order — Cancel an existing order using its Order ID
* Shopify — Get Product Details — Retrieve product information from your Shopify store
* Bot Builder — Node Configuration — General guide to adding and configuring nodes
