Skip to content

Alerts best practices

This document contains information, general guidelines, and examples for alert types used in Braze documentation.

Alert types

Alerts categorize information that a reader should be aware of. There are four alert types that can be used in our documentation:

  • Important
  • Note
  • Tip
  • Warning

When to use an alert

Use alerts to draw a reader’s attention to important information. Keep the content short and to the point. We want to make sure that information sticks with the reader.

Refer to the following table for definitions of each alert:

Alert TypeDefinition
ImportantIncludes essential information that should be addressed by the reader, such as:
  • Deprecated features
  • Impacts on billing
  • Information pertaining to relevant updates
  • Pressing feature caveats (ex: beta features)
  • Other important tidbits of information
NoteIncludes one-off information that the reader should know, such as:
  • Feature caveats
  • Formatting guidance
  • Helpful callouts
  • Information that is demoted from an Important alert due to the alert's content dropping in severity (ex: a long-standing important alert shifting to a standard note)
TipIncludes supplementary knowledge and recommendations for the reader to be aware of, such as:
  • Additional troubleshooting articles
  • Steps and shortcuts that help increase usability (ex: additional customization for in-app messages)
WarningIncludes essential information that a reader must address and can include:
  • Irreversible consequences (ex: Campaign and Canvas deletion)
  • Feature-breaking behavior
  • Loss of data
  • Other crucial warnings

Alert Best Practices
Here are general guidelines and best practices for alerts.

As a general rule of thumb, avoid using alerts for content that is essential to the article structure (like feature introductions, setup instructions, and steps to use a feature.). When in doubt, consult with the team during peer review.

GuidelineExample
Explain the information in the alert in a clear, concise statement.

Note alert in Step 4: Add Filters to Your Segment Section
For alerts that apply to different sections of the same article, consider creating a new section that captures these details to avoid repetitive content.
  • dispatch_id is an ID for a specific message dispatch, such as a campaign send. All push events that originate from the same dispatch include the same dispatch_id. Use dispatch_id to group events that belong to the same dispatch, allowing you to group and correlate the push message lifecycle for that dispatch (such as Send, Bounce, and Open).
  • state_change_source returns a string of the full source name. For example, the source CSV import will return the string CSV import. Available sources are listed below:


Property details in Message Engagement Events
Separate the information into short paragraphs or lists within the alert. **Important:** Do not send legally required transactional emails to SMS gateways as there's a strong likelihood that those emails will not be delivered.

Although emails you send using a phone number and the provider’s gateway domain (known as an MM3) can result in the email being received as an SMS (text) message, some of our email providers do not support this behavior. For example, if you send an email to a T-Mobile phone number (such as "[email protected]"), your SMS message would be sent to whoever owns that phone number on the T-Mobile network.

Keep in mind that even though these emails may not be delivered to the SMS gateway, they will still count towards your email billing. To avoid sending emails to unsupported gateways, review the [list of unsupported gateway domain names](https://www.fcc.gov/consumer-governmental-affairs/about-bureau/consumer-policy-division/can-spam/domain-name-downloads).

Important alert in Import your email list
Consider any additional formatting that may impact how the alert displays (code snippets, steps, surrounding images, and more).

Tip alert with code snippet in Price drop notifications
Include a line break for alerts that begin an article.Example of an alert beginning an article.

Content Card Implementation Guide
When writing about beta features, include an Important alert that calls out the beta status and related Braze contact information. Place this beta alert after the overview text and before the first main heading.Example of an important alert for a beta feature.
Avoid using two or more alerts in a row if possible. Instead, reorganize or include the information as part of the text.An example of two alerts next to each other, which you should avoid.
If you find your alert is lengthy, consider creating a new section that includes the information as a list. For example, instead of including troubleshooting steps in an alert, consider creating a troubleshooting section or providing a link to a related article.Example of a new section of content.

Alert examples

Refer to the following examples for how and why each alert type is used in our documentation.

Important alert

Important:

Private browsing windows do not support web push.

  • Article: Push for Web
  • Use case: Includes essential feature caveat that the reader should know as they set up their web push.
  • Alert reasoning: Use an Important alert as opposed to a Note alert because the content’s importance is greater for a reader to know as they set up their web push.

Important:

Appending a BCC address to your campaign or Canvas results in doubling your billable emails for the campaign or Canvas component since Braze sends one message to your user and one to your BCC address.

  • Article: Email Settings
  • Use case:
    • Provides important feature caveat about the possibility of doubling billable emails
    • Redirects reader to contact their customer success manager as needed
  • Alert reasoning: The Important alert is used here to communicate details about the BCC addresses in their email settings. This information is best presented using an Important alert as opposed to a Warning alert because omitting this information does not impact the feature irreversibly (such as feature breaking, permanent data loss).
  • Article: Advanced Campaign Settings
  • Use case: Includes pressing feature caveat about the Notification Priority. Redirects the reader to new information that’s available.
  • Alert reasoning: The Important alert is best used here to redirect the reader to current information and to highlight that the section is applicable only to certain users. It’s also placed after the section header, which forces the user to address the important alert before reading the rest of the section.

Note alert

  • Article: Create a Content Card
  • Use case: Includes additional information that a reader should be aware of as they learn more about Content Cards.
  • Alert reasoning: This Note alert provides background information on how Braze cycles older Content Cards for users. This is helpful, supplemental information for the reader to be aware of and does not require the use of an Important or Tip alert.
  • Article: Custom Attributes
  • Use case: Includes general information that a reader should be aware of. Provides an article to learn more about related content (time attributes).
  • Alert reasoning: This information is best relayed using a Note alert as opposed to an Important alert because the content is directed to provide general information. Disregarding this information would not impact the ease of use for this feature.
  • Article: Manage Custom Data
  • Use case: Includes general information that a reader should be aware of. Redirects to Braze contact for further information.
  • Alert reasoning: This Note alert provides additional information about data storage that would be helpful for a reader to know as they manage their custom attributes. However, the content does not require a stronger indication of importance to the reader, so a Note alert is acceptable here.

Tip alert

  • Article: SMS and RCS Billing Calculators
  • Use case: Includes tool for the reader to understand their message length and SMS segment count. Provides information that may be helpful for the reader in their understanding of copy limits.
  • Alert reasoning: This is a lengthy Tip alert because it provides a space for entering the copy to see how many segments a message dispatches. The Tip alert is the best option here because this is a helpful generator for the reader to use in the process of setting up their SMS messages.
  • Article: Export KPIs for Daily App Uninstalls by Date
  • Use case: Provides troubleshooting advice when using this endpoint.
  • Alert reasoning: The Tip alert provides additional support for the reader. Use a Tip alert as opposed to a Note alert because the focus of the content is to assist the reader by providing the troubleshooting article.

Warning alert

  • Article: User Profile Lifecycle
  • Use case: Indicates something that the reader should not do when creating their user profiles in Braze.
  • Alert reasoning: The Warning alert is used to caution the reader against assigning an external_id before uniquely identifying them. This information is best relayed using a Warning alert as opposed to an Important alert because it includes irreversible consequences for the user profile.
  • Article: Segment for Currents
  • Use case: Cautions the reader when creating Currents connectors. Includes the consequence of incorrectly creating these connectors.
  • Alert reasoning: The Warning alert is best used here to describe the limitations of the Braze Segment Currents integration. Use a Warning alert as opposed to an Important alert because creating more than one of the same Currents connectors incorrectly may result in losing data.
  • Article: Create a Canvas
  • Use case: Lists the information that may cause the feature to not work. Details how the intended audience may not receive the campaign or enter the Canvas.
  • Alert reasoning: The Warning alert is used here to note how the feature may work incorrectly. This information is best relayed using a Warning alert as opposed to an Important alert because the information is critical and may result in breaking the Canvas delivery.
New Stuff!