Order and Delivery Tracking

תוכן העניינים

Tracking the status of a delivery or order is a common use case in the process of creating bots. In the following example, we will see how to use a bot to automatically check the status of a delivery or order.

Customer Identification at the Beginning of the Process

Initially, the bot process starts with customer identification to ensure only the relevant person can perform the action. This means that a person who is not a customer of the company will not be given the option to perform this action, but only the company’s customers.

When checking delivery/order status, there is an option not to perform identification but rather to match the customer’s phone number with the delivery/order number.

Bot Options

First Option:

Perform identification and then display all the customer’s deliveries/orders.

To implement the first option:

  1. Complete the identification process fully and correctly – condition
  2. Receive data from the completion of a successful identification process for all the customer’s deliveries/orders and display the status for the selected delivery.

Second Option:

Enter an order number, and only after validating the phone number used for the order, the status of the delivery/order will be displayed.

API calls need to be configured to provide the following data in order to implement the above methods.

To implement the second option:

  1. Receive the delivery/order number from the user
  2. Trigger an API with the delivery/order number so that the response returns the phone number used for the order
  3. Receive the phone number from the user that was used to place the order
  4. Verify that the number entered matches the number returned from the service call
  5. If there is a match, display the order status 

Important Points

  •  Validate the delivery number according to the company’s logic
  • Receive an updated status of the delivery/order in the response

Prerequisites

  1. Create an API interface that returns the status of a delivery/order
  2. To place an order, the customer must enter the delivery/order number with the corresponding phone number

 

This service is most commonly used in WhatsApp and chat channels, but can also be used in Messenger and SMS channels.

Write to us if you have any comments: [email protected]

Need more help? Our support team is here to assist you.

Contact Us
elements of the system