> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Using the Shopify Action Templates

[Back to Actions Integrations](https://koreai.mintlify.site/ai-for-service/integrations/overview.md#actions)

Use prebuilt Shopify action templates to auto-create dialog tasks for managing orders, products, and customers.

**To access templates:**

1. Go to **Automation AI** > **Use Cases** > **Dialogs** and click **Create a Dialog Task**.

2. Under **Integration**, select **Shopify**.

   ![Integrations - Shopify](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img2.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=6f9b7597d6f92de7f09b95a77a285a03)

3. If no integration is configured, click **Explore Integrations** to set one up. See [Actions Overview](https://koreai.mintlify.site/ai-for-service/integrations/overview.md#actions).

   ![Explore Integrations](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img3.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=26b8d09a915cacd0d253163789fe1732)

***

## Supported Actions

| Task | Description | Method |
| - | - | - |
| Get order by ID | Retrieves order details with an order ID. | GET |
| Get orders by customer ID | Retrieves orders using the customer ID. | GET |
| Get products by name | Retrieves products using their names. | GET |
| Get product by ID | Retrieves product details using the ID. | GET |
| Get products by collection ID | Retrieves products using the collection ID. | GET |
| Get variants by product ID | Retrieves product variants using the product ID. | GET |

***

### Get Order by ID

1. Install the template from [Shopify Action Templates](https://koreai.mintlify.site/ai-for-service/integrations/actions/configuring-the-shopify-action#step-2-install-the-shopify-action-templates).

2. The **Get Order by ID** dialog task is added with the following components:

   ![Get Order by ID dialog task is added](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img4.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=d2115064d08b09cc2feaa2c97758e6b3)

   * **getOrderbyID** - User intent to fetch an order by ID.

   * **orderID** - Entity node for the order ID.

   * **getOrderbyIDService** - Bot action service to get an order by ID. Click **Edit Request**:

     ![Get Order by ID - Edit Request](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img5.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=84d271ef88d27f2bd38f8a1421c44b8c)

     Click **+Add Response**:

     ![Get Order by ID - Add Response](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img6.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=4d6ee54918068be88b27724d88075320)

   * **getOrderbyIDMessage** - Message node to display responses.

3. Click **Train**, then **Talk to Bot** to test:

   ![VA prompts to Get Order by ID](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img7.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=bfb82f591618a97e0f78590e3dd8d7ff)

4. Click **View Order** to see order details in Shopify:

   ![View order details for a given id](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img8.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=76c6583c7cf216f66faa38b735663233)

***

### Get Orders by Customer ID

1. Install the template from [Shopify Action Templates](https://koreai.mintlify.site/ai-for-service/integrations/actions/configuring-the-shopify-action#step-2-install-the-shopify-action-templates).

2. The **Get Orders by Customer ID** dialog task is added with the following components:

   ![Get Orders by Customer ID dialog task is added](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img10.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=b030b0b6bd3be454343a7783cf35693d)

   * **getOrdersbyCustomerID** - User intent to get orders by customer ID.

   * **customerID** - Entity node for the customer ID.

   * **getOrdersbyCustomerIDService** - Bot action service to get orders by customer ID. Click **Edit Request**:

     ![Get Orders by Customer ID - Edit Request](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img11.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=585c808061dc3f82a5cda765257b83ad)

     Click **+Add Response**:

     ![Get Orders by Customer ID - Add response](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img12.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=059c901e02b62db5de759b08430cdec3)

   * **getOrdersbyCustomerIDMessage** - Message node to display responses.

3. Click **Train**, then **Talk to Bot** to test:

   ![VA Prompt to Get Orders by Customer ID](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img13.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=409bcd590afeb4e6aa3e4fa343b6cda3)

***

### Get Products by Name

1. Install the template from [Shopify Action Templates](https://koreai.mintlify.site/ai-for-service/integrations/actions/configuring-the-shopify-action#step-2-install-the-shopify-action-templates).

2. The **Get Products by Name** dialog task is added with the following components:

   ![Get Products by Name dialog task is added](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img14.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=da4fc94b23d0574b05874e908bf0871d)

   * **Get Products by Name** - User intent to fetch products by name.

   * **Name** - Entity node for the product name.

   * **getProductsbyNameService** - Bot action service to fetch products by name. Click **+Add Response**:

     ![Get Products by Name - Add Response](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img15.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=4d2ff2f9934afa582c7fc2cfe3f1e16a)

   * **getProductsByNameMessage** - Message node to display responses.

3. Click **Train**, then **Talk to Bot** to test:

   ![VA prompt to Get Products by Name](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img16.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=7e52d6873f8823ffec1d2264c4376ad9)

***

### Get Product by ID

1. Install the template from [Shopify Action Templates](https://koreai.mintlify.site/ai-for-service/integrations/actions/configuring-the-shopify-action#step-2-install-the-shopify-action-templates).

2. The **Get Product by ID** dialog task is added with the following components:

   ![Get Product by ID dialog task is added](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img17.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=e5efbb33ff24ca5e6677e832766ab907)

   * **Get product by ID** - User intent to fetch a product by ID.

   * **productId** - Entity node for the product ID.

   * **getProductbyIDService** - Bot action service to find a product by ID. Click **Edit Request**:

     ![Get Product by ID - Edit Request](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img18.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=904a66f7a599760cf5355cccaff26d58)

     Click **+Add Response**:

     ![Get Product by ID - Add response](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img19.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=c39e760cb3c5f71c9ef64fc6163ffacb)

   * **getProductbyIDMessage** - Message node to display responses.

3. Click **Train**, then **Talk to Bot** to test:

   ![VA prompt to Get Product by ID](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img20.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=2dcc1cf981ccf0830bd29af48ff2a086)

***

### Get Products by Collection ID

1. Install the template from [Shopify Action Templates](https://koreai.mintlify.site/ai-for-service/integrations/actions/configuring-the-shopify-action#step-2-install-the-shopify-action-templates).

2. The **Get Products by Collection ID** dialog task is added with the following components:

   ![Get Products by Collection ID dialog task is added](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img21.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=ae684a88e98035b06314652b92cbab25)

   * **getProductsbyCollectionId** - User intent to fetch products by collection ID.

   * **collectionID** - Entity node for the collection ID.

   * **getProductsbyCollectionIDService** - Bot action service to fetch products by collection ID. Click **Edit Request**:

     ![Get Products by Collection ID - Edit request](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img22.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=862bd7192bdb9320f085db674c0b2b64)

     Click **+Add Response** for sample responses.

   * **getProductsbyCollectionIDMessage** - Message node to display responses.

3. Click **Train**, then **Talk to Bot** to test:

   ![VA prompt to Get Products by Collection ID](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img23.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=37682d78cf662b41482a71b65e65fac1)

***

### Get Variants by Product ID

1. Install the template from [Shopify Action Templates](https://koreai.mintlify.site/ai-for-service/integrations/actions/configuring-the-shopify-action#step-2-install-the-shopify-action-templates).

2. The **Get Variants by Product ID** dialog task is added with the following components:

   ![Get Variants by Product ID dialog task is added](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img24.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=7f35cf7e033435ee8b0fb6a1ccf08537)

   * **GetVariantsbyProductID** - User intent to fetch variants by product ID.

   * **productId** - Entity node for the product ID.

   * **getVariantsbyProductIDService** - Bot action service to fetch variants by product ID. Click **Edit Request**:

     ![Get Variants by Product ID - Edit Request](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img25.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=1a9a82042bac34d5261f0831d083e378)

   * **getVariantsbyProductIDMessage** - Message node to display responses.

3. Click **Train**, then **Talk to Bot** to test:

   ![VA prompt to Get Variants by Product ID](https://mintcdn.com/koreai/sy5HaLmfjOFkpZKk/ai-for-service/integrations/actions/images/shopify-tem-img26.png?fit=max\&auto=format\&n=sy5HaLmfjOFkpZKk\&q=85\&s=f4084950c88e1e2f7021914ea6b8e214)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.