Notification Placeholders
Spendgo offers placeholders for dynamic information. Place the placeholder within your message to add personalized or dynamic content. The following list outline all the available placeholders to you.
Placeholders are currently supported in the Emma and Mailchimp email integrations.
Placeholder Name | Description | Example |
---|---|---|
event_name | The name of the event | offer_earned |
campaign_id | The associated campaign id with the event | 12345 |
created_at | The UTC timestamp of the event | 2020-06-10T00:00:00Z |
event_source | The source of the event | spendgo.com |
event_store_code | The store code where the event took place | 99999 |
spendgo_id | The member's unique Spendgo id | 1234567890 |
first_name | The member's first name | Sophia |
last_name | The member's last name | Smith |
dob | The member's date of birth | 1998-11-12 |
gender | The member's gender | F |
postal_code | The member's postal_code | 90210 |
favorite_store_code | The member's favorite store code | 99999 |
The member's email | email@example.com | |
phoe | The member's phone number | 5555555555 |
sms_optin | The member's text message subscription status | true |
email_optin | The member's email subscription status | true |
password_reset_link | The member's unique password reset link generated upon request to reset password | https://my.spendgo.com/abc123 |
loyalty_status | The member's loyalty status | activated |
loyalty_units | The loyalty program units are either "points", "stamps" or "visits" | points |
balance | The members loyalty balance in points, stamps or visits | 40 |
next_reward_at | The unit threshold to the next reward | 50 |
next_reward_at | The number of units till the next reward | 10 |
reward_name | The name of the reward linked to event | $5 Off |
reward_code | The promo code associated with the reward linked to event | WELCOME |
reward_expiration | The reward linked to event expiration UTC timestamp | 2020-07-10T00:00:00Z |
reward_value | The value of the reward in points (when applicable) | 50 |
For more details on how to use placeholders within your templates, please review your provider’s guides as implementation will be different per platform.
For Emma
If your content includes:
Congrats, you’ve earned [%reward_name%]!
When a $5 Off reward is earned your recipient will see, “Congrats, you've earned $5 Off!”
For MailChimp
If your content includes:
Congrats, you’ve earned *|EVENT:reward_name|*!
When a $5 Off reward is earned your recipient will see, “Congrats, you've earned $5 Off!”
Requested Password Reset
When a member requests a password reset, they must provide their account email through the Member Portal forgot password page or through the Spendgo APIs. Once this request has been submitted, the member will be sent a password reset link that directs them to provide and confirm their new password.
You have the option to define how a member can receive their password reset link — either by Spendgo’s default email notifications, text notifications, or your third party email integration.
Via Default Spendgo Email
No setup is required, this is automatically enabled using the Spendgo template and sent from ‘donotreply@spendgo.com’.
Via Text Notification
In the Spendgo dashboard you can enable the Requested Password Reset text notification:
Navigate to Settings > Notifications
Create a new notification
Select the notification type Requested Password Reset and click Next Step
Enter a unique Event Name
Define whether to require opt-in for members.
Note: We recommend to leave require opt-in turned off; you will want all requests to receive this one-time notification.Select your medium as Text
Enter in your text message content and click Next Step. For more info, see Text Message Compliance
Note: The unique reset password link is automatically appended to the end of each member’s message on send. A placeholder link "https://my.spendgo.com/p/placeholder" is displayed in the UI.Review and confirm by clicking to Create your notification
Via 3rd-Party Email Notification
The benefit of using your email integration is to send the link within your own template and from your own domain. In the Spendgo dashboard you can enable the Requested Password Reset email notification:
Navigate to Settings > Notifications
Create a new notification
Select the notification type Requested Password Reset and click Next Step
Enter a unique Event Name
Note: Jot down the event name as you have entered it. You will use this to map your event to the mailing in your email provider platform.Select your medium as Email
Review and confirm by clicking to Create your notification
Log into your integrated email provider platform to create your template. Insert the reset password link placeholder into your template. See notification placeholders.
Configure your event name trigger and complete the setup.
Helpful links:
• Setup a custom event in Emma
• Setup an automated event API in Mailchimp
• Event notification placeholders
Both Emma and MailChimp require emails to be subscribed in order to send an email. This is a limitation that can result in some members not receiving their notification.