> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How Do I Send Real-Time Notifications for Completing a Reward Campaign?

> Notify your customers upon achieving a reward campaign using Gameball's real-time notifications.

Available for all Gameball customers except for free packages

If you want your customers to engage with your [preset reward campaigns](/product-documentation/rewards-campaigns/introduction-rewards-campaigns), make sure to create automated real-time notifications to inform them when the campaign is unlocked, or achieved, or when you want to motivate them to keep going mid-way.

There are two portals to create a real-time notification for when a reward campaign is achieved:

<CardGroup cols={2}>
  <Card title="Global Notification Settings" icon="globe">
    Create a notification through the Global Real-time Notification section on the dashboard, applying to all reward campaigns.
  </Card>

  <Card title="Per-Campaign Notification" icon="sliders">
    Create a different notification for each [reward campaign](/product-documentation/rewards-campaigns/introduction-rewards-campaigns) via the internal reward campaign settings.
  </Card>
</CardGroup>

***

## Method 1: Global Notification Settings

<Steps>
  <Step title="Navigate to Reward Campaign Notifications">
    In the **Gameball Admin Dashboard**, from the left bar, click **Notifications**. Choose between **In-App, Emails, & SMS**. Scroll to **Reward Campaigns** and select between **Unlocked**, **Motivate Customers**, and **Achieved**.

    <Frame>
      <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/reward-campaign-navigation.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=6bc499970524462d0b3f123997fe4d29" alt="Reward campaign notifications navigation" width="3074" height="1666" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/reward-campaign-navigation.png" />
    </Frame>
  </Step>

  <Step title="Write the Notification Message">
    Construct a heading and a body for the notification. In case you are creating an email notification, write a clear subject line and body. [Learn how to write an email notification](/product-documentation/instant-notifications/email-notifications/sending-achievement-emails).
  </Step>

  <Step title="Configure the Notification Script">
    Add your message script for each reward campaign notification type:

    <AccordionGroup>
      <Accordion title="Unlocked Message" icon="lock-open">
        Send real-time notifications when a customer has a new reward unlocked. This way they notice that there is a possibility to enroll in a new campaign and win a reward when completed.
      </Accordion>

      <Accordion title="Motivate Customers Message" icon="bolt">
        Make sure your customers keep going and are proceeding with the required steps to complete the reward requirements and achieve their final goal by sending them a motivational message informing them that they are steps closer to winning.
      </Accordion>

      <Accordion title="Achieved Message" icon="trophy">
        Send a real-time notification when your customer completes all the requirements of the reward campaign. Inform them of their achievement, and the reward they have earned as a result.
      </Accordion>
    </AccordionGroup>
  </Step>

  <Step title="Preview and Update Notification Icon">
    Before activating the notification, click **Preview** on the top right of the edit page to see what the notification will look like for customers.

    <Frame>
      <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/preview-notification-reward.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=7b255f64ad2f86934a810c1cddca24b4" alt="Preview notification" width="2010" height="844" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/preview-notification-reward.png" />
    </Frame>

    You can edit the notification icon by choosing **Upload Icon**, then click **Upload Icon**.

    <Frame>
      <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/upload-icon-dialog-reward.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=a30c00001de84f3dd0c53a94048816ce" alt="Upload icon dialog" width="2538" height="1494" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/upload-icon-dialog-reward.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/gameball/7dwj4uKg5t78O1BR/images/product-docs/instant-notifications/real-time-notifications-per-program/notification-icon-preview-reward.png?fit=max&auto=format&n=7dwj4uKg5t78O1BR&q=85&s=a42dbc7dba32cdae086bb9264edda0b8" alt="Notification icon preview" width="1133" height="650" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/notification-icon-preview-reward.png" />
    </Frame>

    Click **Update** from the bottom right.
  </Step>

  <Step title="Activate the Notification">
    Enable or disable the notification through the **Active Toggle**.

    <Frame>
      <img src="https://mintcdn.com/gameball/7dwj4uKg5t78O1BR/images/product-docs/instant-notifications/real-time-notifications-per-program/active-toggle-reward.png?fit=max&auto=format&n=7dwj4uKg5t78O1BR&q=85&s=5f51ae23236a9c49a76f9b7ca796e844" alt="Active toggle" width="2458" height="1026" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/active-toggle-reward.png" />
    </Frame>

    <Note>
      Do not forget to click on "**Save**" before you exit.
    </Note>
  </Step>
</Steps>

***

## Method 2: Creating a Notification Only for a Specific Reward Campaign

In the [reward campaign](/product-documentation/rewards-campaigns/introduction-rewards-campaigns) creation process in the **Gameball Admin Dashboard**, you can add a custom script to be sent for that specific reward campaign only, bypassing the global settings.

To create a reward campaign from scratch, follow the steps in this [article](/product-documentation/rewards-campaigns/create-action-based-reward-campaign).

While creating a new reward campaign, you will come across the **Notifications** section. Choose if you want to edit an **In-app Notification**, an **Email Notification**, or both by clicking on **Edit**.

<Frame>
  <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/reward-campaign-notification-edit.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=a01b080588a339b9ee55dcf689ae0921" alt="Reward campaign notification edit" width="3050" height="1074" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/reward-campaign-notification-edit.png" />
</Frame>

Select between the following options:

| Option              | Behavior                                                                                                 |
| ------------------- | -------------------------------------------------------------------------------------------------------- |
| **Global Settings** | Follows the reward campaign notification created and activated through the main notification section.    |
| **On**              | Allows you to create your own message by writing a different **Head** and **Body** for the notification. |
| **Off**             | Your customer will not receive a notification upon achieving this reward campaign.                       |

<Frame>
  <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/reward-campaign-notification-settings.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=5ab06cd78ce9461c7a0980abb2fe8e69" alt="Reward campaign notification settings" width="1786" height="1264" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/reward-campaign-notification-settings.png" />
</Frame>

***

## Script Variables for Reward Campaigns Notifications

To send more personalized, relevant, and clear notifications, add variables in between your messages by clicking the **+ icon**.

<Frame>
  <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/script-variables-reward.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=420d46ea678c4dc3cdd8bed31edefec9" alt="Script variables" width="2500" height="1180" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/script-variables-reward.png" />
</Frame>

You can use variables in the scripts like the ones below:

* **Customer Variables:** First Name, Display Name, Customer's Email, Referral Link, Mobile Referral Link, Points Earned, Tier-up Progress, Points, Points Before, Level Up total progress.
* **Reward Campaign Variables:** Equivalent value of total points, Equivalent value of earned points, Currency, Points Name, Reward Campaign Name, Referral Link, Mobile Referral Link, Coupon Code, Coupon Value, Reward Campaign Reward.

***

## Related Articles

<CardGroup cols={2}>
  <Card title="Send Real-Time Notifications for Referrals" icon="people-arrows" href="/product-documentation/instant-notifications/real-time-notifications-per-program/referral-notifications">
    Alert customers when a referral is successful or when a referral reward is earned.
  </Card>

  <Card title="Send Real-Time Notifications for Cashback" icon="money-bill-wave" href="/product-documentation/instant-notifications/real-time-notifications-per-program/cashback-notifications">
    Notify customers of cashback rewards earned or canceled for their transactions.
  </Card>

  <Card title="Send Real-Time Notifications for Transactional Rewards" icon="coins" href="/product-documentation/instant-notifications/real-time-notifications-per-program/transactional-rewards-notifications">
    Notify customers about points redemption, refunds, and expiry events.
  </Card>

  <Card title="Send Real-Time Notifications for Tiers" icon="layer-group" href="/product-documentation/instant-notifications/real-time-notifications-per-program/tier-notifications">
    Notify customers when they level up to a new tier in your loyalty program.
  </Card>

  <Card title="Sending Customers Emails Celebrating Achievements" icon="envelope" href="/product-documentation/instant-notifications/email-notifications/sending-achievement-emails">
    Send achievement emails to drive customers back to your platform.
  </Card>
</CardGroup>
