# Booking Notify Staff Template

### How to sync your staff contacts with Mercuri CX?

Before getting started with the Automation, you must sync your staff contact details with Mercuri CX.

Here's how you can do that :

* Navigate to Settings > Teams in your Mercuri CX dashboard.
*

```
<figure><img src="/files/lLTqRAhLI1jv73b8KEUA" alt="" width="563"><figcaption><p>Teams section in Mercuri CX dashboard</p></figcaption></figure>
```

* Click on  " Sync users from Wix" in the top right corner of the teams section to import the contact details of your staff.&#x20;
* After importing the contact details, update the phone number and permissions for each of your staff from the imported user list.

<figure><img src="/files/q2FkLvLToFK1FFL2Lmuc" alt="" width="563"><figcaption></figcaption></figure>

&#x20;*Note: while importing contacts from Wix into Mercuri CX, the name and email of the staff will be imported.*

### Use Case: Staff Members to get notified when a Customer books a Home Service.

When a customer books an A/C Repair service on the Wix Service Booking platform, the assigned person/staff immediately gets notified through WhatsApp / SMS communication channel with the customer details, time of service appointment, and other necessary details.

{% embed url="<https://youtu.be/GqzQKtBBLdQ?si=ex_bpYXOTN7cpk-Y>" %}

### Steps involved in setting up an Automated Workflow

{% hint style="info" %}
If you have already set up the WhatsApp / SMS template for the **Booking Notify Staff** event, then jump to this [section](#b.-adding-the-whatsapp-sms-template-to-the-automated-workflow).&#x20;
{% endhint %}

<details>

<summary><mark style="color:blue;"><strong>A.1.Setting up WhatsApp Template</strong></mark></summary>

1. **Navigate to WhatsApp Templates**

<figure><img src="/files/SFuB5eiJN1zMtMmrWo02" alt=""><figcaption><p>Step 1  : <strong>Navigate to WhatsApp Templates</strong></p></figcaption></figure>

&#x20;1\. Go to **Templates > WhatsApp** in the Mercuri CX dashboard.

2. Click **Create Template**.

3. Select the **WhatsApp Account** that will be used to send out WhatsApp messages.

4. **Configure Template Details**

**Fill in the basic template info:**

* **Template Name:** `booking_notify_staff_template` (Use an easy name to identify later)
* **Language:** `English` (or as per your customer base)
* **Category:** `UTILITY` (since it’s an informational message) &#x20;

[\[ *Understand the different categories of WhatsApp templates*\]](https://docs.mercuri.cx/features/automations/automated-workflow-for-booking-related-events/pages/y1Hhk9EVYdDwzdINHEqz#id-1.-template-category)

3. **Fill Template Components**

**Header (Optional):**

*Note: Headers can contain only one variable if needed, but in this case, a fixed title is considered.*

1. **Type:** Text
2. **Example Text:** `Booking notify staff`

[\[*Click here to explore different media that can be added to the header* \] ](https://docs.mercuri.cx/features/automations/automated-workflow-for-booking-related-events/pages/y1Hhk9EVYdDwzdINHEqz#id-2.-template-header)

**Body:**

1. Add the message content in the **Body** section of the template.
2. To include dynamic information like order ID or customer name, use the **"Add Variable"** button located at the right end of the Body field.&#x20;

***Sample message :***&#x20;

```
A new service has been booked via the Home service website.
```

```
Customer name: {{1}}Service: {{2}}Date and Time: {{3}}Contact: {{4}}
```

```
Please be prepared accordingly.
```

**Variables** :&#x20;

Add a variable value to the corresponding placeholders with a sample value&#x20;

Note: Each `{{ }}`  It is a placeholder that gets replaced dynamically during automation:

* `{{1}}` → Customer name
* `{{2}}` → service name
* `{{3}}` → Start Date and Time
* `{{4}}` →customer contact

Note: Assign sample values for each variable before submitting for approval.

3\. Click on **Create template** after filling in all the required details.

</details>

<details>

<summary><mark style="color:blue;"><strong>A.2.Setting up SMS Template</strong></mark></summary>

1. Go to the **Templates** section in the left-hand menu of the Mercuri dashboard, and select **SMS**.
2. In the top-right corner, click **Create Template** to begin.

**3. Fill in Template Details**

You’ll be directed to the SMS template creation form. Fill in the following:

* **Template Name**: Enter a short, descriptive title so it’s easy to identify the purpose of the message.

**Example**

```
booking Notify staff
```

* **Template Text**:\
  Craft a clear and concise message (within 160 characters). You can personalize it using dynamic variables.<br>
* Click the **Add Variable** button in the bottom-right corner of the body section to insert placeholders.

  **Example:**

  ```
  📢 New booking alert!
  Customer: {#Customer Name#}
  Service: {#Service Name#}
  Date & Time: {#Date & Time#}
  Please be prepared.
  ```

**4. Variable Mapping**

Map each `{#var#}` to the actual data fields, like **customer name** , **service title, start date and time .**

**5. Preview**

View the **SMS Preview** to see how the final message will appear to customers.

**6. Save the Template**

Click **Create** to save your SMS template. It will now be available to use in campaigns, automations, or workflows.

</details>

### B. Adding the WhatsApp / SMS template to the Automated workflow

* Go to the **Automation** section in the dashboard.
* Click on **Create Automation**.
* Choose the **automation type** as `Booking Notify Staff` from the list.
* Select the preferred communication channel as **WhatsApp/ SMS** for delivering the automated message.
* Choose the approved `booking_notify_staff` template that we created in earlier steps.


---

# 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.mercuri.cx/features/automations/automated-workflow-for-booking-related-events/booking-notify-staff-template.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.
