Show Shopify order status

Image of an author
Sylwia Kocur
4 min read
updated: Nov 16, 2023

Provide a better post-purchase experience. Make it possible for customers to track their orders using a chatbot.

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

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

How to show the Shopify order status in ChatBotLink icon

  1. Open a bot you want to use to let users check their order status.

  2. Choose a point in your bot where you want to add the order status path.

  3. To configure the Show order status action, you need to gather customer information first. Do this by using the Question action. Drag it from the menu and drop it into the bot.

  4. Open the Question block. In the Question variants field, ask the user for their order ID.

  5. In the Validate response with entity field, choose the Any validation type.

  6. In the Save response to attribute field, choose a default Order ID attribute or create a custom one.

  7. Decide what should happen if the user responds invalid in the Action on failure input field. You can also set up how many attempts your chatbot should make to obtain a valid response from the user.

  8. Now, select Add next question. This adds another section in which you can gather more necessary information.

  9. In the Question variants field, ask the user for their postal code.

  10. In the Validate response with entity field, choose the Any validation type.

  1. In the Save response to attribute field, choose a default Postal code attribute or create a custom one.

  1. In the Action on failure input field, decide what should happen if the user responds invalid. Set up how many attempts your chatbot should make to obtain a valid response from the user.

  1. Add another Bot response after the Success block.

  1. Select the Order status action from the Actions and Interactions menu and drop it after the Bot response you’ve added.

  1. Open the Show order status block.

    This action contains the default Shopify attributes — Order ID and Postal code — that were used in the Question action earlier in the bot. This action is ready to use and doesn’t require configuration.

  1. Decide what message will be shown to the user depending on their order status. For that purpose, use Filters.

    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. Name the first Filter block as “SENT.” This block will help the chatbot to display a dedicated message to users whose orders have already been fulfilled/shipped.

  1.  Open the Filter block named “SENT.” Select the Add new filter field and then select Add filter for customer attribute.

  1. Create a new custom attribute for the Show order status action. Type shopify_order_status in the Attribute name field.

  1. In the Condition section choose = equals.

  1. In the Value section, type “sent.” Now, the chatbot message will appear only if the order is saved as “sent” (fulfilled) in the Shopify system. Finally, select Apply filter.

  1. Now, add the Bot response after the Filter block to provide a message for users whose packages have already been shipped.

  1. Select the Bot response you added and enter the bot’s reply.

  1. Add another Filter block that will let you display a message for users whose orders haven’t been shipped yet. Open the second Filter block and name it IN “PROGRESS.” Configure the block:

    • In the Attribute name, type shopify_order_status.

    • In the Condition field, choose = equals.

    • In the Value field, type “in progress.” Now, the chatbot message will appear only if the order is saved as “in progress” in the Shopify system.

    When you’re ready, select Apply filter.

  1. Add the Bot response after the Filter block and provide a message for users whose packages haven’t been sent yet.

  1. Configure the Failure path if the chatbot can’t find the user’s order ID in the Shopify database. To do so, add the Bot response after the Failure block.

  1. Open the Bot response block and enter the chatbot reply.

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