Shopify Actions enable your AI agent to provide comprehensive e-commerce support directly within the chat interface. These actions give your agent access to your store’s product catalog, order information, and customer data, allowing it to assist shoppers throughout their entire journey.
Search and display products from your Shopify catalog. Customers can browse by category, search for specific items, and add products directly to their cart.
Best for:
Helping customers discover products, answering questions about inventory, comparing items, and facilitating add-to-cart actions.
Common Use Cases:
“Show me red dresses under $50”
“What laptops do you have in stock?”
Note: Adding products to the cart only works when the app is embedded in your Shopify store. It will not work in the Playground.
By default, when a customer adds a product to their cart through the chat widget, your theme’s cart icon doesn’t update until the page is reloaded. The item is added, but the cart count still shows 0 until the customer refreshes.To avoid that, Chatbase dispatches custom DOM events whenever the cart changes, so your theme can update the cart UI in real time. With a listener in place, adding one product makes the cart count show 1 right away, with no refresh.The following events are fired:
To sync your catalog, expand the Products accordion and click Sync or Sync and Enable Action. Chatbase will then retrieve all products from your Shopify store. After the initial import, Chatbase automatically listens for changes—whenever a product is added, updated, or deleted in your store, the data syncs in real time. This ensures your agent always has access to up-to-date product information. When you delete the action, Chatbase automatically removes its stored product data and stops syncing future updates.
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Shopify Retrieve and display products.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Products.**When to use: **If the user asks about products, use this tool. Summarize the tool’s result in your response, ensuring no images are included within the text response.
4
Sync Your Products
Expand the Products accordion and click Sync to import your catalog, or click Sync and Enable Action to sync and enable the action in one step. The initial sync may take a few minutes depending on your catalog size.
5
Save and Enable
If you clicked Sync in the previous step, click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent product-related questions to verify it returns accurate results.
Retrieve order information for customers. Customers can check order status, view their purchase history, and get details about specific orders using various filters.
Best for:
Answering order status inquiries, providing tracking information, displaying purchase history, and helping customers find specific order details.
Common Use Cases:
“Where is my order?”
“Show me my recent orders”
“What’s the status of order #1234?”
“When will my package arrive?”
Order status: The widget pulls order status directly from Shopify, so it reflects the latest information Shopify has available on the order status page. Shipped orders appear as “On its way”. To display delivery confirmation, ensure your store uses a trackable carrier (USPS, UPS, FedEx, etc.) or a third-party app that provides delivery updates to Shopify.
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Shopify Retrieve and display orders.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Orders.When to use: If the user ask about orders, use this tool. Summarize the tool’s result in your response, ensuring no images are included within the text response.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent about order status to verify it retrieves the correct information.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
Guest customers can look up orders using either:
Checkout email + order number
Phone number + order number
For authenticated customers, order lookup is automatic, no email address, phone number, or order number is required. Orders are retrieved directly from the signed-in account.
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Shopify get cart.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Cart.When to use: Call this tool when asked about the cart, including the items in the cart, the total price, the quantity of items.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to show cart contents.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Update shopify customer profile.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Update_Profile.When to use: Call this tool when asked about changing customer profile, including first name, last name, email, or phone number.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to update profile information.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Update shopify customer billing address.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Update_Address.When to use: Call this tool when asked about adding or updating billing addresses or changing the default address.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to update a billing address.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
Write specific “When to use” descriptions to help the AI agent accurately determine when to trigger each action. Include example phrases customers might use.
Test Thoroughly
Test each action with various customer queries before going live. Verify that product searches return accurate results and order lookups display correct information.
Keep Products Synced
Monitor your product sync status regularly. If you notice discrepancies, you can manually trigger a resync from the action settings.
Combine Actions
Enable multiple actions together to provide a complete shopping experience. Customers often need to search products, check their cart, and track orders in the same conversation.
By default, when a customer adds a product to their cart through the chat widget, your theme’s cart icon doesn’t update until the page is reloaded. The item is added, but the cart count still shows 0 until the customer refreshes.To avoid that, Chatbase dispatches custom DOM events whenever the cart changes, so your theme can update the cart UI in real time. With a listener in place, adding one product makes the cart count show 1 right away, with no refresh.The following events are fired:
1
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Shopify Retrieve and display products.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Products.**When to use: **If the user asks about products, use this tool. Summarize the tool’s result in your response, ensuring no images are included within the text response.
4
Sync Your Products
Expand the Products accordion and click Sync to import your catalog, or click Sync and Enable Action to sync and enable the action in one step. The initial sync may take a few minutes depending on your catalog size.
5
Save and Enable
If you clicked Sync in the previous step, click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent product-related questions to verify it returns accurate results.
Order status: The widget pulls order status directly from Shopify, so it reflects the latest information Shopify has available on the order status page. Shipped orders appear as “On its way”. To display delivery confirmation, ensure your store uses a trackable carrier (USPS, UPS, FedEx, etc.) or a third-party app that provides delivery updates to Shopify.
1
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Shopify Retrieve and display orders.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Orders.When to use: If the user ask about orders, use this tool. Summarize the tool’s result in your response, ensuring no images are included within the text response.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent about order status to verify it retrieves the correct information.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
5
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
6
Create the Action
Click Create Action and choose Shopify get cart.
7
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Cart.When to use: Call this tool when asked about the cart, including the items in the cart, the total price, the quantity of items.
8
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to show cart contents.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
Enable signed-in customers to modify their account profile information through the agent.
1
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Update shopify customer profile.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Update_Profile.When to use: Call this tool when asked about changing customer profile, including first name, last name, email, or phone number.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to update profile information.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
5
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
6
Create the Action
Click Create Action and choose Update shopify customer billing address.
7
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Update_Address.When to use: Call this tool when asked about adding or updating billing addresses or changing the default address.
8
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to update a billing address.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
By default, when a customer adds a product to their cart through the chat widget, your theme’s cart icon doesn’t update until the page is reloaded. The item is added, but the cart count still shows 0 until the customer refreshes.To avoid that, Chatbase dispatches custom DOM events whenever the cart changes, so your theme can update the cart UI in real time. With a listener in place, adding one product makes the cart count show 1 right away, with no refresh.The following events are fired:
1
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Shopify Retrieve and display products.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Products.**When to use: **If the user asks about products, use this tool. Summarize the tool’s result in your response, ensuring no images are included within the text response.
4
Sync Your Products
Expand the Products accordion and click Sync to import your catalog, or click Sync and Enable Action to sync and enable the action in one step. The initial sync may take a few minutes depending on your catalog size.
5
Save and Enable
If you clicked Sync in the previous step, click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent product-related questions to verify it returns accurate results.
Order status: The widget pulls order status directly from Shopify, so it reflects the latest information Shopify has available on the order status page. Shipped orders appear as “On its way”. To display delivery confirmation, ensure your store uses a trackable carrier (USPS, UPS, FedEx, etc.) or a third-party app that provides delivery updates to Shopify.
1
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Shopify Retrieve and display orders.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Orders.When to use: If the user ask about orders, use this tool. Summarize the tool’s result in your response, ensuring no images are included within the text response.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent about order status to verify it retrieves the correct information.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
5
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
6
Create the Action
Click Create Action and choose Shopify get cart.
7
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Cart.When to use: Call this tool when asked about the cart, including the items in the cart, the total price, the quantity of items.
8
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to show cart contents.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
Enable signed-in customers to modify their account profile information through the agent.
1
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Update shopify customer profile.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Update_Profile.When to use: Call this tool when asked about changing customer profile, including first name, last name, email, or phone number.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to update profile information.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
5
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
6
Create the Action
Click Create Action and choose Update shopify customer billing address.
7
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Update_Address.When to use: Call this tool when asked about adding or updating billing addresses or changing the default address.
8
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to update a billing address.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
By default, when a customer adds a product to their cart through the chat widget, your theme’s cart icon doesn’t update until the page is reloaded. The item is added, but the cart count still shows 0 until the customer refreshes.To avoid that, Chatbase dispatches custom DOM events whenever the cart changes, so your theme can update the cart UI in real time. With a listener in place, adding one product makes the cart count show 1 right away, with no refresh.The following events are fired:
1
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Shopify Retrieve and display products.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Products.**When to use: **If the user asks about products, use this tool. Summarize the tool’s result in your response, ensuring no images are included within the text response.
4
Sync Your Products
Expand the Products accordion and click Sync to import your catalog, or click Sync and Enable Action to sync and enable the action in one step. The initial sync may take a few minutes depending on your catalog size.
5
Save and Enable
If you clicked Sync in the previous step, click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent product-related questions to verify it returns accurate results.
Order status: The widget pulls order status directly from Shopify, so it reflects the latest information Shopify has available on the order status page. Shipped orders appear as “On its way”. To display delivery confirmation, ensure your store uses a trackable carrier (USPS, UPS, FedEx, etc.) or a third-party app that provides delivery updates to Shopify.
1
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Shopify Retrieve and display orders.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Orders.When to use: If the user ask about orders, use this tool. Summarize the tool’s result in your response, ensuring no images are included within the text response.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent about order status to verify it retrieves the correct information.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
5
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
6
Create the Action
Click Create Action and choose Shopify get cart.
7
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Get_Cart.When to use: Call this tool when asked about the cart, including the items in the cart, the total price, the quantity of items.
8
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to show cart contents.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
Enable signed-in customers to modify their account profile information through the agent.
1
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
2
Create the Action
Click Create Action and choose Update shopify customer profile.
3
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Update_Profile.When to use: Call this tool when asked about changing customer profile, including first name, last name, email, or phone number.
4
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to update profile information.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.
5
Navigate to Actions
Go to your Chatbase dashboard and select the agent connected to your Shopify store. Click Actions at the top of the page.
6
Create the Action
Click Create Action and choose Update shopify customer billing address.
7
Configure Action Details
Both fields come pre-filled with working defaults. Leave them as-is unless you need to make a specific change.Action Name: Update_Address.When to use: Call this tool when asked about adding or updating billing addresses or changing the default address.
8
Save and Enable
Click Save and ensure the action is toggled to Enabled.
Test the action by asking your agent to update a billing address.
This action cannot be tested in the Action Preview on the dashboard, as it requires the user to be authenticated in order to work properly.