Monetize360
WorkflowsFunctionsUser Interactions

Send Email

Send an email to one or more recipients

Send Email

Send an email to specific people or to everyone with a certain role. You can use templates to personalize the email, attach files, and include your data in the message.

Technical Name: EmailNotificationFunc

Properties

  • Execution Mode: SYNC
  • Type: NATIVE
  • Category: User Interactions
  • Function ID: 5f9a1ea8-5d9a-4f2b-a8f6-8f6b5d9a1ea6

Input Schema

Optional Parameters

ParameterTypeDescription
tostringComma-separated list of recipient emails
roleIdstring (uuid)Role ID to send email to all users with this role
mobjectIdstring (uuid)Object ID for resolving reference/picklist fields
mdataIdstring (uuid)MData record ID for field resolution
ccstringComma-separated list of CC email addresses
bccstringComma-separated list of BCC email addresses
bodystringEmail body content
replyTostringReply-to email address
attachmentIdsarrayArray of attachment file IDs
templateIdstring (uuid)ID of the template to use for email content
dataObjectobjectObject for template resolution

[Image placeholder: EmailNotification configuration panel]

Input Example

Simple Email

{
  "to": "customer@example.com",
  "body": "Your order has been processed successfully.",
  "cc": "manager@example.com",
  "replyTo": "support@example.com"
}

Template-Based Email

{
  "roleId": "customer-role-uuid",
  "templateId": "order-confirmation-template-uuid",
  "dataObject": {
    "orderNumber": "ORD-12345",
    "totalAmount": "$250.00",
    "customerName": "John Doe"
  }
}

[Image placeholder: Email composition example]

Output Schema

FieldTypeDescription
successbooleanIndicates if the email was sent successfully
timestampstring (date-time)Timestamp when the email was sent
messageIdstringMessage identifier or status message

Email Templates

Templates support variable substitution using {{variable}} syntax:

<p>Dear {{customerName}},</p>
<p>Your order {{orderNumber}} has been confirmed.</p>
<p>Total Amount: {{totalAmount}}</p>

[Image placeholder: Email template editor]

Use Cases

Order Confirmation

Send confirmation emails after order placement:

Start → InsertOrder → EmailNotification(OrderConfirmation) → End

Approval Notifications

Notify approvers of pending tasks:

{
  "roleId": "approver-role-uuid",
  "templateId": "approval-request-template-uuid",
  "dataObject": {
    "requestType": "Purchase Order",
    "amount": "$5,000",
    "requester": "John Doe"
  }
}

[Image placeholder: Email notification workflows]

Best Practices

  1. Use Templates: Create reusable templates for consistency
  2. Personalization: Include recipient-specific information
  3. Test Emails: Always test templates before production use
  4. Error Handling: Check success status and handle failures
  5. Mobile Responsive: Design templates for mobile devices

Limitations

  • Maximum recipients per email: 100
  • Maximum attachment size: 10MB total
  • Maximum email size: 15MB
  • Rate limit: 100 emails per minute

[Image placeholder: Email analytics dashboard]