On this page

Event triggers ​

Purpose ​

An event trigger sends a transactional message to the party when a document is posted. Triggers replace message template types 1–10 of the old system (MS3). All triggers start switched off until an authorised user turns them on.

Open the screen ​

  • Menu: Messaging → Event triggers.
  • Route: /msg/triggers

Required permissions ​

ActionKeyLabel
Viewmsg.trigger.viewMessage triggers - View
Turn on, edit and deletemsg.trigger.updateMessage triggers - Update
Send a document or a statement on requestmsg.document.sendDocuments - Send by message

Events ​

Type in the old systemEvent
1Receipt voucher posted
2Payment voucher posted
3Sales invoice posted. Follows the invoice's branch: the branch's setting, the branch's provider account and the survey window (MS13)
4Purchase invoice posted
5 and 6Debit note posted and Credit note posted
7Account statement (on request)
8Cheque returned by the bank
9Attendance recorded
10POS sale. For point-of-sale sales to a named customer, with the device's branch (PB24)

The two patient-visit types (11 and 12) were dropped. Type 999 (manual send) is replaced by sending a document on request and by bulk sends.

Fields ​

FieldDescription
OnTurns the trigger on
ChannelSMS, WhatsApp or E-mail
BranchAll branches or a specific branch. A branch setting replaces the company setting for that branch's documents
TemplateThe event's Standard template, or another transactional template
Attach the documentBy e-mail, the document is attached as a PDF. By SMS and WhatsApp, a link to the document is sent
Use the party's preferred channelSends on the channel set in the channel preference instead of the chosen channel

Set up a trigger ​

Turn on a trigger ​

  1. Select Set up on the event's row, or select the row.
  2. Choose the Channel, Branch and Template, and make sure On is selected.
  3. Select Save. To add another channel or branch for the same event, select Add channel or branch.

From then on, every posted document schedules a message to the party's number (or e-mail address), and the message appears in the message monitor.

Documents sent ​

  • The document is printed with the print template assigned to it (S8).
  • The document link in an SMS or WhatsApp message can't be guessed, stays valid for 30 days, and every time it's opened is recorded (MS9).
  • Payslips and HR documents are never sent. Payslips are available only in self-service (HP17).

Business rules ​

  • Triggers send transactional templates only, so they don't need marketing consent. They still aren't sent on a channel the party has blocked (MS1).
  • Numbers are converted to international format using the company's country code, set in the messaging settings.
  • No message is scheduled for a party with no number and no e-mail address.

Common error messages ​

MessageCauseWhat to do
A trigger for this event and channel already exists.The setting already exists for the company or branchEdit the existing setting
Triggers send transactional templates only.A marketing template was chosenChoose a transactional template
This document cannot be sent by message (payslips are never sent).The document is protected—