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 is designed to automate email sending within workflows, allowing users to specify recipients, sender details, email content, and templates. This node is useful for scenarios such as sending transactional emails, alerts, or marketing messages triggered by workflow events.

For example, you can use this node to:

  • Notify customers when their order status changes.
  • Send welcome emails to new users.
  • Dispatch internal alerts to team members based on system events.

Properties

Name Meaning
OrgnizationId The organization ID used to scope the email templates and API requests. Defaults to "1".
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 (required).
To Name The recipient's name (required).
From Email The sender's email address (required).
From Name The sender's name (required).
Is HTML Email Whether to send the email as HTML (true) or plain text (false). Defaults to false.
Subject The subject line of the email.
Body The body content of the email. Supports multiline input.

Output

The node outputs JSON data representing the response from the D97 Notifier API after attempting to send each email. Each output item corresponds to one input item and contains the API response in its json field.

If an error occurs during sending and the node is configured to continue on failure, the output will contain an object with an error property describing the issue.

No binary data is produced by this node.

Dependencies

  • Requires access to the D97 Notifier API at https://notificationapitest.api97.com.
  • An API key is hardcoded in the source code headers for authentication (apikey header).
  • The node uses HTTP POST requests to send emails and GET requests to load available email templates.
  • No additional n8n credentials or environment variables are explicitly required, but the API key should ideally be managed securely.

Troubleshooting

  • Common issues:
    • Invalid or missing API key will cause authentication failures.
    • Incorrect template ID or organization ID may result in errors or no email sent.
    • Missing required fields like recipient email or sender email will cause validation errors.
  • Error messages:
    • If the API returns an error, it will be included in the output under the error property if "Continue On Fail" is enabled.
    • Network or request errors will throw exceptions unless handled by the node's fail-safe mechanism.
  • Resolution tips:
    • Verify that all required fields are correctly filled.
    • Ensure the API key is valid and has sufficient permissions.
    • Confirm the organization ID and template IDs exist and are accessible.
    • Use expressions carefully to avoid malformed inputs.

Links and References

  • n8n Expressions Documentation
  • D97 Notifier API base URL: https://api.d97notifier.com (for reference)
  • Notification API test endpoint: https://notificationapitest.api97.com/api/Notification/SendEmail

Discussion