Goldylocks icon

Goldylocks

Interact with the Goldylocks ERP API

Email → Send

AI-generated

Overview

This node sends emails using the Goldylocks ERP API. It is useful for automating email communications such as sending notifications, alerts, or marketing messages directly from the ERP system. For example, it can send an email with a custom HTML message, plain text, or email templates linked to specific document types, and can include attachments via URLs.

Use Case Examples

  1. Sending a notification email to multiple recipients with a custom subject and HTML content.
  2. Sending an email using a predefined template linked to a document type and document ID.
  3. Sending an email with file attachments by providing URLs to the files.

Properties

Name Meaning
Sender Email Email address of the sender, required to specify who the email is from.
Sender Name Display name of the sender shown in the email.
Subject Subject line of the email message.
Recipients Comma-separated list of recipient email addresses to send the email to, required field.
Document Type ID ID of the document type used for selecting an email template if applicable.
Document ID Specific document ID to generate dynamic values for the email template if needed.
HTML Message HTML content of the email if not using a template.
Plain Text Message Plain text content of the email message.
Attachments Comma-separated list of URLs to files to attach to the email.

Output

JSON

  • success - Indicates if the email was sent successfully.
  • response - Response from the Goldylocks API after attempting to send the email.

Dependencies

  • Goldylocks ERP API with API key authentication

Troubleshooting

  • Ensure the sender email address is valid and authorized to send emails via the Goldylocks API.
  • Verify that recipient email addresses are correctly formatted and separated by commas.
  • Check that the API key credential is correctly configured and has permissions to send emails.
  • If using document templates, ensure the document type ID and document ID are valid and exist in the ERP system.
  • Attachments URLs must be accessible and valid; otherwise, the email may fail to send.

Discussion