Get Order of Customer
This section explains how to configure the Get Order of Customer action in Shopify using Ownchat Bot Builder.
The Get Order of Customer action allows businesses to retrieve all orders placed by a specific customer from their Shopify store and use the response dynamically within workflows.
Overview
The Get Order of Customer action helps you:
Fetch customer order history automatically
Retrieve Shopify order details dynamically
Store customer order responses in variables
Use order data within workflows
Automate customer support and order tracking
This feature is useful for:
Order tracking workflows
Customer support automation
Purchase history retrieval
CRM integrations
WhatsApp customer service
Prerequisites
Before starting, ensure:
Shopify store access is available
Shopify connection is already created
Customer details are available
Bot Builder access is enabled
Shopify order data is synced properly
1. Open Bot Builder
Start by clicking the Add Node button to begin building your bot action flow.
From here, click the Connections tab to view and manage your bot integrations.
After that, click Shopify to integrate your e-commerce store with the bot.
2. Configure Get Order of Customer Action
From here, select a connection and enter an action name to configure.
Following that, enter a name for this action in the Action Name field.
Example:
Get Customer Orders
This action will retrieve all orders associated with a customer from Shopify.
3. Select Shopify Connection
Afterwards, select the ieyal shopify live connection option from the dropdown list.
This connects your workflow directly with your Shopify store.
4. Store API Response
Following this, select a variable from the dropdown to store the API response.
Example:
Create new variable: customerorders
This variable stores the Shopify customer order response dynamically for further workflow usage.
5. Complete Action Configuration
Following this, click the Create button to finalize your customer order action configuration.
The Get Order of Customer action fetches all orders placed by a specific customer from your Shopify store.
This response can then be used dynamically throughout your workflow.
6. Publish the Bot
After completing the configuration, click the Publish button to save and deploy your bot workflow.
Once published, the workflow automatically retrieves customer order details whenever the configured action is triggered.
Workflow Summary
Add Node β Connections β Shopify β Get Order of Customer β Select Connection β Store Response Variable β Create β Publish
Using Customer Order Response
The stored customer order response can be used dynamically anywhere in your workflow.
Example:
{{customerorders.order_id}} {{customerorders.product_name}} {{customerorders.order_status}}
These values can be used in:
Customer support messages
Order tracking workflows
CRM automation
WhatsApp notifications
Purchase history displays
Expected Output
After successful configuration:
Customer order history is fetched automatically
Shopify order data is stored dynamically
Order details can be reused in workflows
Customer support automation becomes easier
WhatsApp workflows can display real-time order information
Last updated