# Setup Bulk Class Notifications for Participants

## Setup Bulk Class Confirmation Notification

Learn how to set up bulk class confirmation notifications for participants. Send a single class summary notification for daily, weekly, or monthly classes scheduled in bulk, instead of multiple confirmations for each class. Simplify your notifications with this automation.

{% hint style="warning" %}

#### **Important Note**

* **Bulk Notifications Are Only for Bulk Class Scheduling or Updates**\
  If you are scheduling or updating a **single class**, the **Bulk Class Notification** will not be triggered.
* **For Individual Class Notifications**\
  To send notifications for individual class scheduling or updates, use the **Class Participant Updates Trigger Automation**. This trigger is designed specifically for sending notifications when individual classes are booked, rescheduled, or canceled.

  For more information on setting up individual class notifications, check the guide here: [**Individual Class Notification Setup.**](https://help.whautomate.com/product-guides/class-bookings/setup-class-notifications)
  {% endhint %}

1. Go to the **Whautomate** app then click the **Automation** menu and select the **Add Rule** button as shown below picture 👇

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FGy7sIjhJYO7GdpJhIgXY%2Fimage.png?alt=media&#x26;token=ee9345d5-5117-4c31-b2c7-4b9f509f870f" alt=""><figcaption></figcaption></figure>

2. Select the **Create Rules from Scratch** option to continue

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FhAjymqFY5Lx7jcz5dGBm%2Fimage.png?alt=media&#x26;token=c33d48da-e97e-4d84-aa05-6d4aa021b351" alt=""><figcaption></figcaption></figure>

3. Choose the **Bulk Classes Assigned for Participant** as a **Trigger 👇**

{% hint style="info" %}
This rule gets triggered when a class participant is added to multiple classes in bulk.
{% endhint %}

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2F1HJNYxm477Wze1v7j18j%2Fimage.png?alt=media&#x26;token=5a5db14a-0c65-4be9-838d-58addd7d5c88" alt=""><figcaption></figcaption></figure>

4. **Add Conditions (Optional)**
   * If needed, click **Add Condition** to set specific rules for when notifications should be sent.
   * Examples: Only notify participants for specific class types or clients.

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2Fl3FLiHm27Wbqozcl38xr%2Fimage.png?alt=media&#x26;token=5ce0ecdb-2dae-44c8-a106-ce75b0231468" alt=""><figcaption></figcaption></figure>

#### **5. Select an Action** Choose how you want to notify your client about their booked class, such as **by WhatsApp or email**.

For WhatsApp: Eg. I Select a **Send a WhatsApp template message** action and fill in the required details. 👇

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FAhDzbTu7uwPF2fG14aSY%2Fimage.png?alt=media&#x26;token=973bbb0a-59e5-4eec-bbc6-5812064768ba" alt=""><figcaption></figcaption></figure>

**(i) Select a WhatsApp Template Message**\
Choose the template message you want to use to notify your client for their **class booking confirmation**.&#x20;

**(ii)** For example: I have selected the **bulk\_class\_confirmation(en)** template.

I used the custom message template which was already created and approved by Meta. So first you need to create a new **WhatsApp Message Template**, you can select the **Create New Template** link. This will take us to the template page where we can submit our new template for custom notifications.

{% hint style="info" %}
However, please note that any custom notification settings will be discarded, and we will need to set them up again after our new template is approved.
{% endhint %}

Check this below link on how to create WhatsApp message templates 👇

[**WhatsApp Message Templates**](https://help.whautomate.com/product-guides/integrations/whatsapp-cloud-api/whatsapp-message-templates)

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FfCYdUGBAphn3FZsHDaaW%2Fimage.png?alt=media&#x26;token=f7b05aac-2597-449b-a76b-ca1f150f605d" alt=""><figcaption></figcaption></figure>

(iii) When you enter **(#)** in the Parameter field, a list will pop up. You can choose from the options provided to fill out the parameter details. 👇

**Eg**: #bulkClass.clientName = {{bulkClass.clientName}}, #bulkClass.className = {{bulkClass.className}}, etc.

**Available Personalisation Variables:**

**Bulk Class Variables**

{{bulkClass.clientName}}, {{bulkClass.timezone}}, {{bulkClass.className}}, {{bulkClass.duration}}, {{bulkClass.practitioner}}, {{bulkClass.consolidatedSchedule}}, {{bulkClass.status}}

**Client Variables**

{{client.name}}, {{client.preferredName}}, {{client.age}}, {{client.gender}}, {{client.email}}, {{client.phone}}, {{client.calendarSyncURL}}, {{client.photoURL}}, {{client.address}}, {{client.emergencyRelationType}}, {{client.emergencyContactName}}, {{client.emergencyContactPhone}}

**Business Variables**

{{business.name}}, {{business.address}}, {{business.phone}}, {{business.mapDirectionUrl}}, {{business.operatingHours}}

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FZDKew3FxZQWme2mVvYNt%2Fimage.png?alt=media&#x26;token=98bdc5f7-080b-4606-bbdf-4af2344ccfc2" alt=""><figcaption></figcaption></figure>

6. Once the action is set, Click the **Save** button

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2F3tRnAmRVObWeTuP81ugn%2Fimage.png?alt=media&#x26;token=e1c418eb-e6fb-41c6-b292-23800c3618b0" alt=""><figcaption></figcaption></figure>

7. **Test the Notification**
   * Add test participants to multiple classes in bulk to ensure the notification triggers correctly.

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FuiW0ixJANPRgU5zKgufA%2Fimage.png?alt=media&#x26;token=c7e42d95-0cff-4ba8-9ecb-887ec7ae5a49" alt=""><figcaption></figcaption></figure>

***

## Setup Bulk Class Cancellation Notification

Learn how to set up bulk cancellation notifications for participants. Notify participants of multiple class cancellations at once with a single, streamlined notification, instead of sending individual cancellation alerts for each class.

1. Go to the **Whautomate** app then click the **Automation** menu and select the **Add Rule** button as shown below picture 👇

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FzxrXaHuzqp3NKsHlGz5o%2Fimage.png?alt=media&#x26;token=dcd6191b-0457-4e56-9d5a-27efc2548ee6" alt=""><figcaption></figcaption></figure>

2. Select the **Create Rules from Scratch** option to continue

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FzJxAVnwoiUm7rNy0kbyd%2Fimage.png?alt=media&#x26;token=1a7be4df-5c39-4785-9520-848526453024" alt=""><figcaption></figcaption></figure>

3. Choose the **Bulk Classes Cancelled for Participant** as a **Trigger 👇**

{% hint style="info" %}
This rule gets triggered when a multiple classes are cancelled for a class participant in bulk.
{% endhint %}

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FQ8sxx1VDrC21aD8TuYO1%2Fimage.png?alt=media&#x26;token=6ff5a1ae-3407-4337-96dd-ed58ca1e9968" alt=""><figcaption></figcaption></figure>

4. **Add Conditions (Optional)**
   * If needed, click **Add Condition** to set specific rules for when notifications should be sent.
   * Examples: Only notify participants for specific class types or clients.

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FxtSNmjA9n76pZ7S9QPUK%2Fimage.png?alt=media&#x26;token=33f5fc2c-2c51-4c24-a31e-a8172e42c0d0" alt=""><figcaption></figcaption></figure>

5. **Select an Action**&#x20;

{% hint style="info" %}
Note: The action setup process for bulk class cancellation is similar to the one for bulk class confirmation. If you have already set up confirmation notifications, you can follow the [same steps for cancellation.](#id-5.-select-an-action-choose-how-you-want-to-notify-your-client-about-their-booked-class-such-as-by-wh)
{% endhint %}

Choose how you want to notify your client about their canceled classes, such as **by WhatsApp or email**.

For WhatsApp: Eg. I Select a **Send a WhatsApp template message** action and fill in the required details. 👇

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FBTLxh9OPbevnCyXuPe4O%2Fimage.png?alt=media&#x26;token=041051ce-d18f-4e3e-8e0e-26046df24d93" alt=""><figcaption></figcaption></figure>

**(i) Select a WhatsApp Template Message**&#x20;

Choose the WhatsApp template message you want to use for the **bulk cancellation notification.**

**(ii)** For example: I have selected the **bulk\_class\_cancellation\_notification(en)** template.

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FUcUzi0okSjbgP0gA71WQ%2Fimage.png?alt=media&#x26;token=5a570974-bf03-4f3e-bb89-9cfa6856e842" alt=""><figcaption></figcaption></figure>

6. Once the action is set, Click the **Save** button.

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FAQAYF65l3hzwHsn6IUUx%2Fimage.png?alt=media&#x26;token=cd980e60-8df9-41fd-bca4-e76a006a929b" alt=""><figcaption></figcaption></figure>

7. **Test the Notification**
   * Perform a test by **canceling multiple classes** to ensure that the bulk notification works as expected and that all variables are populated correctly.&#x20;

<figure><img src="https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FmSSR5f590EYumxsWEabI%2Fimage.png?alt=media&#x26;token=b608d977-4237-4e12-af9d-bbb453512a2d" alt=""><figcaption></figcaption></figure>
