Show Shopify order status

Image of an author
Sylwia Kocur
3 min read
updated: Jun 13, 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. Drag the block and put it on the correct bot branch.

  2. Edit the Question block. Ask for the ID and validate the response with the Any validation type. Choose a default Order ID attribute.

  3. Select the Add next question option below the first question. In the new question below, ask the user for their postal code. Validate the response with the Any validation type and choose a default Postal code attribute.

  1. Add a Bot response after the Success block with confirmation that you have the details.

  2. 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 and Postal code 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.

  1. Add filter blocks to the bot. Name each block according to the Shopify status to make the development easier.

    Add a Bot response block after each filter block. 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 option at the bottom.

    Type shopify_order_status in the Attribute name field. In the Condition, choose = equals. In the Value, type “fulfilled.”

    After the filter, the chatbot message will appear if the order is saved as “fulfilled” 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. Choose the Go to block button type and the Question action from the bot structure in the configuration.

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