# Shipping Automation

Automating shipping notifications not only saves time but also improves customer satisfaction by providing real-time updates. Customers appreciate being informed about the status of their orders, and including a tracking link adds convenience, reducing the need for them to contact support for updates. This proactive approach builds trust and enhances the overall shopping experience.

#### **Step-by-Step Guide** <a href="#pa3s033s8fi8" id="pa3s033s8fi8"></a>

1. Start by logging into your MyAlice account and navigating to the **Create Automation** section.

<figure><img src="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FGpBPftt7Fv6hEIQ8vBTq%2Fimage.png?alt=media&#x26;token=4db01770-68cf-41f2-a913-84cfa08b186b" alt=""><figcaption></figcaption></figure>

2. Click on **Select Trigger** to define the event that will initiate the automation.

<figure><img src="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FvhW8dfXXPLnOKRTgN1jS%2Fimage.png?alt=media&#x26;token=7e12da67-3b97-4538-bab9-2985bb3a7f9c" alt=""><figcaption></figcaption></figure>

3. For this workflow, choose **Order Fulfilled** as the trigger and save it. This ensures the automation starts whenever an order is marked as shipped. Click on **Save Trigger** to save the set trigger.

<figure><img src="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2Ff5Jzcju0BXM9Syuz4JGO%2Fimage.png?alt=media&#x26;token=1aa5ba2a-4d8a-49fa-84cf-6faf7541019e" alt=""><figcaption></figcaption></figure>

4. Once the trigger is set, click on **Action** to define what happens next.

<figure><img src="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FE2gitxvrVJ9zmzyht6Ab%2Fimage.png?alt=media&#x26;token=8f418b8e-518f-4c0f-925b-50d3e4cf4411" alt=""><figcaption></figcaption></figure>

Under the **WhatsApp** section, select **Send WhatsApp Template**. This allows you to send a pre-designed message to customers, informing them that their order is on the way.

<figure><img src="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FhW6jExgyr6s1CgalMfu3%2Fimage.png?alt=media&#x26;token=dc488c0a-6098-4261-b609-a0190646d348" alt=""><figcaption></figcaption></figure>

5. Next, choose the appropriate **WhatsApp Channel** from the dropdown menu. Then, select the template you want to use for this notification.

<figure><img src="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FVXwCGeuTkF5vQTOqQJPF%2Fimage.png?alt=media&#x26;token=0b75a839-fc09-4bb0-a2d8-3d5e89c1ae8c" alt=""><figcaption></figcaption></figure>

For this example, we’ll use the **order\_shipped\_with\_tracking** template, which includes a tracking link for customers to monitor their shipment.

<figure><img src="https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FudrqvSMBmVenR7ZKoYIl%2Fimage.png?alt=media&#x26;token=317a1af9-5567-4652-a355-2217189b24d2" alt=""><figcaption></figcaption></figure>

The **Template Preview** will show how the message will appear to customers. To personalize the message, assign dynamic variables such as the customer’s name, order ID, or tracking link using the **Select Variables** dropdown. Additionally, set a **Fallback Value** for each variable, which will be used if the selected variable is unavailable. Once everything is configured, click on **Save Action** to finalize the setup.

![](https://1800541801-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgzCdF2XNgHNO9_KQDe%2Fuploads%2FN9IW0QNENmgdlhhlhGxe%2F7.png?alt=media)

When an order is marked as fulfilled (shipped), the automation will trigger, and the system will send a WhatsApp message to the customer using the selected template. The message will include details such as the tracking link, allowing customers to easily monitor their shipment.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.myalice.ai/chatbot-automation/case-specific-automation/shipping-automation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
