Show Shopify order status

Image of an author
Sylwia Kocur
3 min read
updated: Nov 5, 2024

The Show order action for Shopify allows customers to check their order status while chatting with a chatbot. The chatbot needs the user’s order ID and postal code to check where their package is.

Using a ChatBot with your Shopify store can provide a better post-purchase experience.

To use the Show order status action, you must first integrate ChatBot with Shopify.
To use the Show order status action, you must first integrate ChatBot with Shopify.

How to show the Shopify order status in ChatBotLink icon

The action will check the order status based on the user’s order ID and postal code in the chat. You need to start the configuration by choosing where to collect the details in the bot.

  1. Use the Question action to collect the necessary information. You need to create two questions:

    1. ask for the ID - validate the response with the Any validation type. Choose a Shopify Order ID attribute.
    2. ask for the postal code - validate the response with the Any validation type and choose a Shopify Postal code attribute.
  2. Add a Bot response after the Success block with confirmation that you have the details.

  3. Drag the Order status action and drop it after the Bot response you’ve added. Open the Show order status block. Check if the Order ID (1) and Postal code (2) attributes are there. If they’re not, ensure your Shopify integration is active.

How to show all available Shopify statusesLink icon

You need to use Filters after the Order status Success block to show the statuses in the chat. These blocks will help the chatbot display a dedicated message to users. The correct status will be displayed based on your Shopify store’s return to the bot.

The number of filters you need to add depends on the number of order statuses you want to provide. Check the list of available Shopify statuses.
The number of filters you need to add depends on the number of order statuses you want to provide. Check the list of available Shopify statuses.
  1. Add filter blocks to the bot (1). You can name each block according to the Shopify status to make the development easier. Add a Bot response block after each filter block (2). You can configure the Gallery bot response there. It’ll give an option to provide a tracking link in the chat.

  2.  Open the Filter block and select the Add filter for custom attribute (1) option at the bottom. Type shopify_order_status in the Attribute name field (2). In the Condition, choose = equals (3). In the Value, type the status that matches the Shopify list (4).
    After the filter, the chatbot message will appear if the order’s status matches the provided status in the Shopify system.

  3. Repeat the process for all available Shopify order statutes.

You can also use a pre-designed Shopify Order status flow. It contains all the necessary blocks in a single-block view.
You can also use a pre-designed Shopify Order status flow. It contains all the necessary blocks in a single-block view.

What to do when the bot cannot find the orderLink icon

When the bot cannot match the user’s order ID, it’ll go to the Failure block. Add a Bot response block there to redirect them to the Question action. It will let the chatbot collect their order ID and postal code and start the process again.

Use the Quick reply response to give the user the option to circle back with a button click. In the configuration, choose the Go to block button type and the Question action from the bot structure.

Read more:

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products