Skip to main content

Notification System

You can configure various notifications in your system to remind you of important activities such as tasks, sales orders, payments, follow-ups, and contract expiry.

1. Setting Up a Notification

To access notifications:

Home > Settings > Notification

Event Types (Send Alert On)

  • New: Trigger when a new document is created.
  • Save / Submit / Cancel: Trigger on document lifecycle changes.
  • Days Before / Days After: Trigger relative to a date field.
  • Value Change: Trigger when a field value changes.
  • Method: Trigger when backend method executes.
  • Custom: Send notification via selected Email Account.

Set the Document Type, Conditions, Recipients, and Message to complete setup.

1.1 Dynamic Subject

You can use Jinja templating:

{{ doc.name }}

This allows dynamic values from the document.

1.2 Conditions

doc.status == "Interested"

Conditions can be combined using and / or.

1.3 Message Template

<h3>Order Overdue</h3>

Transaction {{ doc.name }} has exceeded the due date.

{% if comments %}
Last comment: {{ comments[-1].comment }} by {{ comments[-1].by }}
{% endif %}

<h4>Details</h4>

- Customer: {{ doc.customer }}
- Amount: {{ doc.total_amount }}

1.4 Prevent Duplicate Notifications

Use a custom field (e.g., Notification Sent) and update it after sending alerts to avoid repeated notifications.

2. Slack Notifications

Notifications can be sent to Slack using a webhook URL.

  • Create Slack App
  • Enable Incoming Webhooks
  • Add webhook URL in ERPNext

Note: Slack uses Markdown formatting instead of HTML.

3. System Notifications

System notifications appear inside ERPNext (bell icon) for assignments, mentions, shared documents, and energy points.

Note: These do not send emails or SMS; they appear only inside the system UI.

4. WhatsApp Notifications

WhatsApp notifications are sent using Twilio integration.

Note: Only pre-approved message templates are allowed.

5. SMS Notifications

SMS alerts require SMS Settings configuration.

6. One-off Reminders

Steps:

  1. Open document
  2. Click Menu (⋮) → Remind Me
  3. Select time and message
  4. Save

This creates a single scheduled system notification.

Related Topics

  • SMS Settings
  • Document Follow
Rating: 0 / 5 (0 votes)