D97 Email Notifier

Send email notifications via D97 Notifier API

Overview

The D97 Email Notifier node sends email notifications using the D97 Notifier API. It allows users to send customized emails by specifying recipients, sender details, email content, and optionally selecting an email template from a list fetched dynamically from the API.

This node is useful in automation workflows where email alerts or notifications need to be sent based on events or data processed within n8n. For example, it can be used to notify customers about order status updates, send marketing emails using predefined templates, or alert team members about system events.

Properties

Name Meaning
OrgnizationId The organization ID used to fetch available email templates and identify the sending context.
Email Template Name or ID Select an email template from a dynamically loaded list or specify a template ID directly.
To Email The recipient's email address.
To Name The recipient's name.
From Email The sender's email address.
From Name The sender's name.
Is HTML Email Whether to send the email as HTML (true) or plain text (false).
Subject The subject line of the email.
Body The main content/body of the email.

Output

The node outputs an array of JSON objects, each representing the response from the D97 Notifier API for each email sent. The JSON contains the API's response data confirming the email dispatch or any error messages if the request failed.

No binary data output is produced by this node.

Dependencies

  • Requires access to the D97 Notifier API at https://notificationapitest.api97.com.
  • An API key credential is required for authentication with the D97 Notifier API. This key is included in the HTTP headers.
  • The node dynamically loads email templates via an API call using the provided Organization ID.
  • No additional environment variables are explicitly required beyond the API key.

Troubleshooting

  • Common issues:

    • Invalid or missing API key will cause authentication failures.
    • Incorrect Organization ID may result in failure to load email templates or send emails.
    • Providing an invalid email address format in "To Email" or "From Email" fields may cause the API to reject the request.
    • If the selected Email Template ID does not exist or is invalid, the API might return an error.
  • Error messages:

    • Errors returned from the API are captured and can be output per item if "Continue On Fail" is enabled.
    • Typical errors include authentication errors, validation errors for email addresses, or template-related errors.
  • Resolution tips:

    • Verify the API key and ensure it has proper permissions.
    • Double-check the Organization ID and email addresses.
    • Use the dynamic template loader to select valid templates.
    • Enable "Continue On Fail" to handle partial failures gracefully.

Links and References

Discussion