On this page

Messaging ​

The Messaging module sends the system's messages over three channels: SMS, WhatsApp and email (P14). It sends transaction notifications (a receipt voucher, an invoice, a returned cheque and so on), bulk sends for offers and announcements, and customer satisfaction surveys after a sale. The screens appear in the sidebar under Messaging.

Email is available on every plan. SMS and WhatsApp are available only if the channel is included in the tenant's subscription plan (MS8).

Screens in this chapter ​

Screen in the sidebarWhat it's forPage
Message monitorOutgoing messages and the status of each, incoming messages, and resendingMessage monitor
Segments and bulk sendsSegments, recipient counts and bulk sendsSegments and bulk sends
ConsentEach party's consent to marketing and surveys, and their preferred channelConsent
Survey resultsPost-sale surveys and their resultsSurvey results
Event triggersMessages sent when documents are postedEvent triggers
Message templatesMessage text, editing it, and custom templatesMessage templates
Provider accountsThe SMS, WhatsApp and email gateways, and sending domainsProvider accounts

General settings (country code, message language and survey settings) are in Messaging settings.

How a message is sent ​

  1. The message is queued in the outbox in the same save as the document that caused it. If the document isn't saved, the message isn't queued.
  2. The recipient's number is normalised to international format (E.164) using the company's country code (MS9), and consent rules are applied (MS1).
  3. The message goes out through the branch's provider account, or the company's account if the branch has none (MS2).
  4. The message status changes only when the provider responds: Sent when the provider accepts it, and Delivered when a delivery report arrives. The system never shows a success that the provider hasn't confirmed.
  5. A message whose outcome is unknown is never resent automatically. A user resends it manually after checking (MS7).

Security and privacy ​

  • Provider keys are stored in the secrets store and are never shown again.
  • Document links can't be guessed, are valid for 30 days, and every time one is opened it's logged. Payslips are never sent (MS9).
  • Message text is deleted after 12 months, and delivery data after two years (MS10).

Segregation of duties ​

Viewing the outbox, resending, editing consent, bulk sending and approving large bulk sends are separate permissions (MS4). All event triggers are off until an authorised user turns them on (MS3). Post-sale surveys are described in Survey results (MS5).