NotificaMe Hub icon

NotificaMe Hub

Integração com NotificaMe Hub API

Overview

The node integrates with the NotificaMe Hub API to send emails with attachments. Specifically, the "Enviar Email (Com Arquivos)" operation allows users to send an email through a specified email channel, including multiple file attachments by providing their public URLs.

This node is beneficial in scenarios where automated email notifications need to be sent with dynamic content and files attached, such as sending reports, invoices, or marketing materials directly from workflows without manual intervention.

Practical example:
A business automation workflow that generates PDF invoices can use this node to email those invoices automatically to customers by specifying the recipient's email, subject, HTML content for the email body, and attaching the invoice PDFs via their accessible URLs.

Properties

Name Meaning
ID Do Canal The identifier of the email channel through which the email will be sent.
Email Do Destinatário The recipient's email address where the email will be delivered.
Assunto The subject line of the email.
Template HTML The HTML content of the email body. Supports rich formatting and custom styling.
Anexos One or more attachments to include in the email. Each attachment requires:
- URL Do Arquivo: Publicly accessible URL of the file to attach.
- Nome Do Arquivo: The filename as it will appear in the email attachment list.

Output

The node outputs JSON data representing the result of the email sending operation. This typically includes confirmation details such as message IDs, status, or any response returned by the NotificaMe Hub API indicating success or failure.

If the node supports binary data output (not explicitly shown here), it would represent any files or raw data returned by the API, but in this case, the focus is on sending emails, so the output is primarily JSON confirming the action.

Dependencies

  • Requires an active connection to the NotificaMe Hub API.
  • Needs an API authentication token or API key credential configured within n8n to authorize requests.
  • The email channel ID must exist and be valid within the NotificaMe Hub system.
  • Attachments must be accessible via public URLs; the node does not upload files but references them by URL.

Troubleshooting

  • Invalid Channel ID: If the provided channel ID does not exist or is incorrect, the API will likely return an error. Verify the channel ID in your NotificaMe Hub account.
  • Invalid Recipient Email: Ensure the recipient email address is correctly formatted and valid.
  • Attachment URL Issues: Attachments must be publicly accessible URLs. Private or inaccessible URLs will cause the email to be sent without attachments or fail.
  • API Authentication Errors: Missing or invalid API credentials will prevent the node from authenticating with the NotificaMe Hub API.
  • HTML Content Errors: Malformed HTML might cause rendering issues in email clients; validate your HTML content before sending.
  • Network or API Downtime: Temporary connectivity issues or API downtime may cause failures; retry or check service status.

Links and References

Discussion