Docs
On this page
concept4 min readApplication: System Email

Outbound notifications

How an outbound notification decides when to send, who receives it, which channel carries it and what the message says.

An outbound notification sends a message to people when a record is created or updated, or when a script asks for it. It decides who is told about a change and what they read, and you need the administrator role to configure one.

What a notification is made of

Notifications are listed under Messaging & notifications → Notifications & templates → Outbound notifications in the Administration workspace. Each one names the table it watches, when it sends, who receives it and how the message is built.

Part Fields What it decides
Trigger point Table, Type The table whose records the notification watches, and whether it sends on create, on update, on both, or only from a script.
Gate Active, Condition Whether the notification sends for this change.
Audience Recipients, Send to initiator The users and addresses that receive it, and whether the person who made the change is one of them.
Order Priority order Which notification a recipient gets when several match.
Delivery Version, provider configurations Which channels send it, and with which template.
The default notification “Incident - Has been created” with WhatsApp, Email and Teams provider configurations, each using the template “Work - with Summary & Client Journal”.

When a notification sends

A notification sends only when something calls the notification engine. For record changes, that is an After trigger on the table. Servicely supplies a trigger for each of these tables:

Trigger Table
Work - Generate notifications Work
Workflow task - Generate notifications Workflow task
SLA - Generate notifications SLA
Interaction - Generate notifications Interaction
Knowledge - Generate notifications Knowledge

Tables that extend Work, such as Incident, use its trigger. A table with no such trigger sends no create or update notifications until it has one. The trigger runs after create and after update, and its script is OutboundNotification.processNotifications(current, operation);. See Triggers.

The engine then takes the active notifications for the table whose Type fits the operation:

Value Meaning
Create Sends when a record is created.
Update Sends when a record is updated.
Create/Update Sends on either.
Scripted Sends only when a script calls it by name.

A notification is sent only when its Condition script sets answer to true. A notification with an empty Condition does not send on create or update.

A Scripted notification is sent from a trigger, a workflow or a job, and the script can pass it values. Notification recipients and content shows the call. To repeat a message while a condition holds, use Reminder generators.

How recipients are chosen

Recipients is a script that sets answer to a list of users, groups and email addresses. Servicely resolves the list to email addresses and removes duplicates. An invalid address is dropped, and the others still receive the message. An address whose email address override has Outbound Processing Disabled set to Yes is left out. See Email address override fields.

Matching notifications run in Priority order, lowest first. Every notification with the lowest priority order sends to all its recipients. A notification with a higher priority order sends only to addresses that have not yet received one. Different recipients can therefore get different notifications from one update.

Send to initiator decides whether the user who made the change receives the notification when they are a recipient. It is No by default.

A change that comes from an inbound auto-reply email sends nothing unless Process auto replies is Yes. This prevents mail loops.

Channels and templates

Version chooses how the message is delivered. Enhanced Notifications (v2) sends through one provider configuration per channel. Classic Email Notifications (v1) sends email only and keeps the subject and body on the notification. Classic (v1) notification fields lists its fields.

Each provider configuration has a Provider type and a Messaging template. It can also hold Messaging account, From and Context script scripts.

Value Meaning
Email Sends an email through an Email messaging account.
Teams Sends a Microsoft Teams message.
WhatsApp Sends a WhatsApp message.

A recipient who is a user is sent the channels in their notification preference, which they set in their profile. The default preference is email. Teams and WhatsApp go only to users who chose them. A user those channels cannot reach gets the email, if the notification has an Email provider configuration. An address that belongs to no user gets the email.

A messaging template holds the message for one provider type. For email that is a Subject and an HTML Template. Several notifications can share a template and pass it their own values through context scripts. A provider configuration offers the active templates of its type that have Outbound notification template set to Yes. Templates with Email client template set to Yes are offered to agents in the email composer. Servicely does not send through a template whose Active is No.

When a provider configuration names no messaging account, email goes through the active Email messaging account marked Default.

Replies and the watermark

Servicely adds a watermark such as servicely:MSG0000001: to the body of each email it sends about a record. When someone replies, inbound processing reads the watermark and updates the same record. Watermark on the Email tab of Email and notification settings controls this, and it is Yes by default. Inbound message fields describes how a reply is matched to its record.

Default notifications

Servicely supplies notifications for incidents, requests, changes, problems, HR cases and their tasks, and for knowledge articles, approvals and SLAs. Most are inactive by default. These are active by default:

  • “Incident - Has been created”
  • “Incident - Client journal was updated”
  • “Incident - Work journal has been updated”
  • “Workflow task - Approval request for ITSM request”
  • “Workflow task - Approval request for HR case”
  • “Workflow task - Approval request for Change”

An active notification still sends no email until the instance has an active outbound messaging account and the Outbound email processing job is active. See Create a messaging account. A new instance also holds back all outbound email until Send all email to is cleared. See Redirect all outbound email in a test environment.

Last updated 3 December 2026commit 97a56b9c7df7Chris Jones
Back to top