FlexiRule Docs
Notify
Send automated alerts via email, system notifications, or UI messages configured visually.
Notify Action#
The Notify action is the primary communication hub in FlexiRule, enabling you to send automated emails, system notifications, or real-time UI messages.
1. What is it?#
A Notify block sends messages through three available channels:
- Email: Sends queued emails with optional attachments to internal users or external contacts.
- System Notification: Creates a notification log entry in the user’s bell toolbar.
- UI Message (Toast / Alert): Displays real-time popups directly in the user’s browser window.
2. When to Use#
Use the Notify action when you need to:
- Send automated emails on document events (e.g., sending an order confirmation email to a customer on save).
- Alert internal team members when a high-value transaction requires review.
- Display real-time user feedback (Toasts or Alerts) on form validation events.
3. How to Configure#
- Add the Action: Add a Notify block to your visual canvas.
- Select Channel: Choose Email, System Notification, or UI Message.
- Configure Recipients:
- Select users, roles, or dynamic email fields using the Smart Value Selector.
- Compose Subject & Message:
- Type message text and insert document fields or variables using the Smart Value Selector.
- Set Attachments (Email Channel):
- Toggle Attach PDF to automatically attach a PDF print format of the document.
4. Practical Example#
Scenario: Send Order Confirmation Email#
- Add a Notify action set to Email channel.
- Recipients: Select Customer Email (
@doc.contact_email) using the Smart Value Selector. - Subject:
"Order Confirmation: {doc.name}"composed via Smart Value Selector. - Message:
"Dear {doc.customer_name}, thank you for your order on {doc.posting_date}." - Attach PDF: Enable PDF attachment with default print format.
5. Related Features#
- Email Notifications: Detailed guide on email options and templates.
- Check (Condition): Filter when notifications are triggered.
6. Developer & Technical Details#
For notification dispatch mechanics and email queue architecture: