Actions16
Send Transactional Email
AI-generatedOverview
This node operation sends personalized transactional emails using the Bento API. It supports sending emails in either HTML or plain text format, with customizable sender and recipient addresses, subject lines, and email body content. Users can also specify whether the email is transactional, which affects tracking and analytics, and provide template variables for personalizing the email content dynamically. This node is useful for scenarios such as sending password reset links, order confirmations, or any other automated, personalized email communications.
Use Case Examples
- Sending a password reset email with a personalized link in HTML format.
- Sending a plain text order confirmation email with dynamic order details.
- Sending a transactional notification email from a specific sender address with custom template variables.
Properties
| Name | Meaning |
|---|---|
| Recipient Email | The email address of the recipient to whom the transactional email will be sent. |
| From Email | The sender's email address that will appear in the email's 'From' field. |
| Subject | The subject line of the email. |
| Email Type | Specifies whether the email body is sent as HTML or plain text. |
| HTML Body | The HTML content of the email, supporting template variables for dynamic content substitution. |
| Text Body | The plain text content of the email, supporting template variables for dynamic content substitution. |
| Transactional | Boolean flag indicating if the email is transactional, which affects tracking and analytics. |
| Personalizations | Template variables to personalize the email content, allowing substitution of dynamic values in the email body. |
Output
JSON
operation- The operation performed, here it will be 'sendTransactionalEmail'.success- Boolean indicating if the email was sent successfully.emailrecipient- The recipient email address used in the operation.from- The sender email address used in the operation.subject- The subject line of the sent email.type- The type of email body sent ('html' or 'text').transactional- Indicates if the email was marked as transactional.personalizations- The template variables and their values used for personalizing the email.
apiResponse- The raw response from the Bento API after attempting to send the email.message- A human-readable message describing the result of the operation.error- Error message if the email sending failed.
Dependencies
- Bento API
Troubleshooting
- Ensure that the recipient and sender email addresses are valid and correctly formatted; invalid emails will cause errors.
- HTML email bodies are validated to prevent dangerous content like scripts; ensure your HTML content is clean and well-formed.
- If the API credentials are missing or incorrect, the node will fail with authentication errors; verify your Bento API credentials.
- Payload size limits are enforced; very large email bodies or personalization data may cause errors.
- Network issues or Bento API rate limits can cause temporary failures; retry after some time or check your network connection.
Links
- Bento API - Send Transactional Email - Official Bento API documentation for sending transactional emails.