Admin

Notifications

Manage email, WhatsApp, and SMS notification templates in SigmaDSA — define when messages fire, who receives them, what the body says, and which variables are interpolated. WhatsApp templates sync to Meta for approval.

The Notifications page (/settings/notification-templates) is your tenant's message-template library — every automated email, WhatsApp, and SMS the system sends. Templates tie to system events (Auto-Trigger), pick a Recipient class (Customer / Employee / Admin), and interpolate variables from the underlying record.

Notification Templates page with action buttons, filters, and templates table highlighted
Notifications: (1) Action bar — Refresh from Meta / Reset to Defaults / Recreate All on Meta / Add Template, (2) channel + status filters, (3) templates table.

What's on the page

Top action buttons

ButtonWhat it does
Refresh from MetaRe-pulls approval status for every WhatsApp template from Meta. Run after submitting new templates so the Meta Status column updates.
Reset to DefaultsRestores the seed catalogue of 25 templates that ships with every tenant. Wipes your edits — use cautiously.
Recreate All on MetaForces every WhatsApp template to re-submit to Meta. Use if templates somehow get out of sync.
Add TemplateOpen the modal to create a new template.

Filters

  • Channel — All / Email / WhatsApp / SMS.
  • Status — Active / Inactive (controls whether the template fires).

Table columns

ColumnWhat it shows
NameFriendly display name.
Template KeySystem identifier (lowercase, underscores). For WhatsApp, this is the Meta template name.
ChannelWhatsApp / Email / SMS.
TriggerThe auto-fire event (Lead Assigned, File Stage Changed, etc.) or "Unknown" if manual-only.
RecipientCustomer / Employee / Admin.
StatusActive / Inactive.
Meta StatusFor WhatsApp: APPROVED / PENDING / REJECTED.
CreatedWhen the template was added.
ActionsEdit / Delete / Preview / Re-submit to Meta.

Add a template

Click Add Template

A centred modal opens.

Add Notification Template modal with field groups highlighted and Save
Add Template: (1) Name + Template Key, (2) Channel + Auto-Trigger, (3) Recipients, (4) Message Body, (5) Variables list, (6) Save.

Identity

  • Name — friendly display name (e.g., "Lead Assigned to You").
  • Template Key — lowercase identifier with underscores, ends with channel suffix (_wa for WhatsApp, _email for email, _sms for SMS). E.g., lead_assigned_wa. This must be unique and, for WhatsApp, becomes the Meta template name.

Channel + Auto-Trigger

  • Channel — WhatsApp / Email / SMS. Drives whether the template syncs to Meta.
  • Auto-Trigger — pick the system event that fires this template:
TriggerFires when
Lead CreatedA new lead is saved.
Lead AssignedA lead is assigned (or reassigned) to a user.
Lead ConvertedA lead is converted to a file.
Callback ScheduledA new callback is created.
Callback Reminder30 mins before a callback's scheduled time.
File CreatedA new file is created.
File Stage ChangedA file moves between stages.
File Status ChangedA file's within-stage status changes.
File RejectedA file is marked Rejected.
Document Request SentThe team requests documents from a customer.
Document Uploaded by CustomerA customer uploads via the share-link.
Bank Login CreatedA bank login row is added.
Sanction Approved / ReceivedA sanction is recorded.
Disbursal RecordedA disbursal is logged.

Leave Auto-Trigger empty for manual-only templates (used by Actions → Send Message).

Recipients

Check one or more:

  • Customer — message goes to the applicant's mobile/email.
  • Assigned Employee — message goes to the file/lead's current owner.
  • Admin Users — message goes to every user in the admin role (use for revenue events like Disbursal).

Message Body

Free-text body with variable placeholders. Variables use the format {{variable_name}}.

For WhatsApp, the body must follow Meta's template guidelines:

  • Marketing language requires Marketing category submission.
  • No URLs that aren't allowed.
  • No emoji-heavy spam.
  • Variables must be sequential — {{1}}, {{2}}, {{3}} (SigmaDSA maps your named variables to numbers automatically).

For Email, basic HTML is supported.

For SMS, plain text only, 160-character segments.

Variables

The Variables card lists the placeholders available for the chosen trigger. For example, Lead Assigned exposes:

{{lead_id}}, {{lead_name}}, {{lead_mobile}}, {{lead_loan_type}}, {{lead_amount}}, {{assignee_name}}, {{tenant_name}}.

Copy the placeholder text into your Message Body. SigmaDSA substitutes them at send time.

Description (optional)

Internal note explaining when this template is used. Helps the next admin understand why it exists.

Click Save

The template lands on the list with Status=Active. If Channel=WhatsApp, SigmaDSA automatically submits it to Meta — the Meta Status column starts as PENDING and updates to APPROVED typically within an hour.

WhatsApp template lifecycle

WhatsApp templates have a stricter lifecycle because Meta moderates content:

StateWhat it meansCan it send?
PENDINGSubmitted to Meta, awaiting review.No (queued).
APPROVEDMeta approved.Yes.
REJECTEDMeta rejected with a reason.No. Edit + resubmit.
PAUSEDToo many user complaints reported it as spam.No (auto-paused).
DISABLEDManually disabled by admin or auto-disabled due to repeated rejections.No.

To re-submit a rejected template: open Edit → fix the issue per Meta's reason → Save → SigmaDSA resubmits.

Common flows

  • Onboard a new lender alert — Add Template → name "HDFC Sanction Received" → Channel WhatsApp → Auto-Trigger Sanction Approved → Recipient Customer + Admin Users → write body using {{file_id}}, {{lender_name}}, {{sanctioned_amount}} → Save → wait for Meta APPROVAL.
  • Fix a typo — Edit the template → save. For WhatsApp, this does not auto-resubmit — Meta re-approves only on full re-creation. Use Recreate All on Meta to force re-submission if needed.
  • Temporarily silence a noisy alert — Edit → set Status=Inactive → save. Template is preserved; no sends until reactivated.
  • Audit what's firing — go to Notification Logs.

Permission gating

LoanCRM.NotificationTemplates.* permissions. Default granted to admin role.

Next steps