Skip to content

Notification

Description

The Notification node sends messages or alerts to specific users or groups within the MinuteView platform.
It supports two delivery types:

  • Toast — Displays a real-time pop-up message in the user’s interface (e.g., “Task Completed Successfully”).
  • Notification — Sends a system notification to the user’s inbox within the MinuteView app (persistent, includes subject and body).

This node can be used in workflows to alert users about process results, approvals, automation failures, or data changes.


How It Works

  1. The node validates the notification type (Toast or Notification) and ensures required fields are provided.
  2. Depending on the type, it constructs the appropriate DTO and sends a web request to the MinuteView API:
    • /MinuteView/api/ToastNotifications for toast pop-ups
    • /MinuteView/api/notifications for system notifications
  3. Recipients can be targeted by Users and/or Groups.
  4. The message is dispatched immediately through the MinuteView notification system.

Notification Types

TypeDescriptionUse Case
ToastReal-time pop-up message (temporary)Instant feedback on workflow success or failure
NotificationPersistent message in user inboxTask updates, system alerts, approval requests

Input Fields

FieldTypeDescriptionRequired
Notification TypePicklistType of message to send — Toast or Notification.
Recipients (Users)Text / User SelectorComma-separated list of usernames or user IDs.✅ (if Groups empty)
Recipients (Groups)Text / Group SelectorComma-separated list of group IDs.✅ (if Users empty)
BodyText (multi-line)The main content of the message.

When Notification Type = "Toast"

FieldTypeDescriptionRequired
HeaderTextThe short title or heading of the toast message.
Toast TypePicklistThe toast style to display: Success or Error.

When Notification Type = "Notification"

FieldTypeDescriptionRequired
SubjectTextThe subject line of the notification message.

Output Data

Output VariableTypeDescription
taskMessageStringReturns "Notification sent" on success.
statusReturnStringCompleted if successful, or Fail if the message could not be sent.

Example Configurations

✅ Toast Example (Success Message)

SettingValue
Notification TypeToast
HeaderWorkflow Complete
BodyThe drawing export process has finished successfully.
Toast TypeSuccess
Recipients (Users)jtennent

Result:
Displays a green success toast on the user’s screen.


⚠️ Toast Example (Error Message)

SettingValue
Notification TypeToast
HeaderExport Failed
BodyUnable to process the DWG file. Please check logs for details.
Toast TypeError
Recipients (Groups)Design Team

Result:
Displays a red error toast to all users in the “Design Team” group.


📩 System Notification Example

SettingValue
Notification TypeNotification
SubjectNew Revision Uploaded
BodyA new revision has been uploaded for project: HVAC_Main_Plant. Please review.
Recipients (Users)sarahj, mthompson

Result:
Sends a persistent MinuteView notification with the subject “New Revision Uploaded” to the specified users.


Task Flow Summary

StepAction
1Validates all required fields based on Notification Type.
2Prepares payload for /api/ToastNotifications or /api/notifications.
3Sends notification to MinuteView Web API via internal service account.
4Returns success or failure result to workflow.

Status Messages

StatusDescription
CompletedNotification sent successfully.
FailInvalid input, missing recipients, or API failure.

Error Handling

If the task fails, it logs the error message in the workflow execution log and sets:


statusReturn = "Fail"
taskSuccess = false

Common causes include:

  • Missing notification type
  • No users or groups defined
  • API endpoint unreachable
  • Invalid JSON or DTO payload

Example Workflow Integration

mermaid
graph LR
    A[AutoCAD Export] --> B{Export Status}
    B -->|Success| C[Notification (Toast: Success)]
    B -->|Failure| D[Notification (Toast: Error)]

Notes

  • The node requires the MinuteView server’s internal API endpoints to be reachable.
  • Toast notifications are intended for immediate feedback; they are not persistent.
  • System notifications appear in the user’s inbox and remain until dismissed.
  • Users and groups can be combined for multiple recipients.
  • Multiple Notification nodes can be chained for layered messaging (e.g., one toast + one email).

Category: Utilities Task Name: Notification

Tentech 2024