Order Paid/Processing/Shipped/Completed/Cancelled/Refunded

We will walk you through setting up triggers for various order statuses in UChat and creating corresponding automated responses. By following these steps, you can streamline your order management and enhance customer communication.

Setting Up Triggers for Order Statuses

We will show you how to configure triggers for different order statuses and respond with specific flows based on the status. Here’s a step-by-step guide:

1. Adding a New Trigger

You can set up triggers within a flow or through the automation tab.

a. Inside a Flow

  1. Navigate to the desired flow.

  2. Add a new trigger.

  3. Select the appropriate order status from the available options such as "Order Paid," "Order Processing," "Shipped," "Completed," "Cancelled," and "Refunded."

b. Automation Tab

  1. Go to the Automation tab.

  2. Click on "Triggers."

  3. Select "New Trigger" in the top right corner.

  4. Choose any of the order statuses.

2. Redirecting Order Statuses to a Specific Flow

We recommend redirecting all order statuses to one specific flow and then using conditions to send customers the appropriate follow-up messages.

Example Flow: Starting an Order

Let's walk through an example flow where an order is placed and status updates are triggered.

Step-by-Step Process

  1. Preview the Flow:

    • Start by previewing the e-commerce ordering flow.

    • Place an order for a product, such as a video graphics card.

  2. Place the Order:

    • Enter the necessary details and click "Place Order."

  3. Order Confirmation:

    • You will receive a message confirming your order and stating that updates will follow as the order progresses.

  1. View Order Details:

    • In the e-commerce tab, you can see the new order, including the product details and price.

All the information regarding the Order will be stored in JSON variable ORDER, you can access from there. 

  1. Order Status Updates:

  • Processing: Update the status to "Processing" and save. You will receive a message stating that your order is being processed and that you will be notified once it is ready to ship.

  • Shipped: Change the status to "Shipped" and save. A message will inform you that your package has been shipped and provide tracking information.

  • Completed: Set the status to "Completed" and save. A confirmation message will thank you for your order and express hope for future business.

  • Cancelled: Update the status to "Cancelled" and save. You will receive an apology and confirmation that the order has been cancelled.

  • Refunded: Change the status to "Refunded" and save. A message will inform you that a refund has been processed and provide an estimated time frame for it to reach your account.

Â