With the release of SuiteCRM 7.3 comes Alerts. These are displayed within SuiteCRM as a small badge in the menu bar. I.e:


Since these are just stored as beans we can add notifications by simply creating a new record with the appropriate values and saving it. For example:

$alert = BeanFactory::newBean('Alerts');
$alert->name = 'My Alert';
$alert->description = 'This is my alert!';
$alert->url_redirect = 'index.php';
$alert->target_module = 'Account';
$alert->assigned_user_id = '1';
$alert->type = 'info';
$alert->is_read = 0;

Calling this can be used to create an alert for a specific user like so: