Personalize notifications with predefined properties
The message builder includes predefined user and event properties you can use to customize your message content. These properties include the first and last name of the recipient or sender of a notification, a recipient's web login, localized date and time information about when an event began, and the event ID. When a notification is sent that includes these properties, xMatters replaces them with the appropriate value.
Personalize notifications with recipient and sender properties
Use the recipient and sender properties to personalize your messages with the first and last names of the users that either sent or will receive the notification.
When a notification is sent, xMatters replaces the sender property variables with values that match the message initiator, and the recipient property variables with values that match the recipient.
Users can receive notifications from multiple paths in xMatters, and may not always know why they're being notified. Use the Alert Context property in your message content to give the recipient an indication of why they were notified.
When the message is sent, xMatters replaces the property with the actual notification path.
Here are examples of what the recipient will see:
- If the recipient was targeted directly (their target name was included in the list of recipients), the message displays "Direct Notification".
- If the recipient was targeted as a member of a group (or a subgroup, or dynamic team in the group), the message displays the path xMatters took in deciding to target that recipient, including the shift (for example, "Antares Service Support > Weekday AM" or "Antares Service Support > Weekend > Backup Support Group > Default").
- If the recipient was targeted because they are subscribed to events, the message displays the subscription. If they were subscribed as part of a group, the subscription, group and shift information is included (for example, "MIM Stakeholder Subscription > IR Team > Weekends").
Provide login information for new users
You can add a user's web login ID to your messages. This is useful if you want to send a personalized message to new users with instructions on how they can log into the system. When the notification is sent, xMatters replaces the web login property with the recipient's web login ID. For companies with SAML enabled, the web login field displays the identifier that users can log into their Single Sign On application with.
Include information about the event
Localized time and date information about the event
You can add event time and date properties to your message to inform recipients of the exact time an event started in xMatters. This is useful especially if they were not on-call to receive the original event notification. When the notification is sent, xMatters replaces the date and time variables with values that match the event's starting time and date, in the recipient's local time zone.
You can include the Event ID so that users can look up more information about the event in the Events Report. When the notification is sent, xMatters replaces the Event ID variable with the event's ID.
Add your company's instance information
You can add company properties, such as the name of the xMatters instance and URL link, to your message. This allows responders to easily differentiate between instances (for example, production and non-production) and navigate to the web UI from within the message.
Example of a message with predefined and custom properties
The following example displays a message built using a combination of the form, recipient, sender, event, and conference property types available in the message editor:
When a message sender uses the form to send a notification, the user receives an email where all the properties are filled in with relevant information:
Recipient, sender, and event properties are available in each message editor (email, text, and voice). You can add them to your messages by dragging them from the side panel to the desired location in the message editor. You can even add these properties to the Subject field of email notifications.
When you preview a message that includes event date and time properties, they are replaced with date and time values from when the preview was generated; these values are replaced with the actual start date and time of the event when it is initiated.