Zoho Zeptomail icon

Zoho Zeptomail

Consume Zoho ZeptoMail API

Actions2

Overview

This node integrates with Zoho ZeptoMail to send emails using predefined templates. Specifically, the "Send Template Mail" operation allows users to send templated emails by selecting a mail agent and a template from ZeptoMail, then providing recipient details and merge information for dynamic content.

Common scenarios include:

  • Sending personalized marketing or transactional emails where the email body is defined by a ZeptoMail template.
  • Automating bulk email campaigns with dynamic content merged per recipient.
  • Using ZeptoMail's infrastructure for reliable email delivery while managing templates centrally.

Example: A user selects a mail agent linked to their domain, picks a promotional email template, provides recipient addresses, and supplies JSON-formatted merge data to customize each email before sending.

Properties

Name Meaning
Mail Agent Select the mail agent associated with your domain to send the email through ZeptoMail.
Template Choose a ZeptoMail email template to use for the message body.
From Collection containing:
- From Address: The sender's email address belonging to the selected mail agent's domain.
- From Name: Optional display name of the sender.
To Comma-separated list of recipient email addresses.
Reply To Email address to be used as the reply-to address.
CC Comma-separated list of email addresses to be carbon copied.
BCC Comma-separated list of email addresses to be blind carbon copied.
Template merge info values JSON string containing merge field values to dynamically populate the chosen template. This JSON can be copied from the ZeptoMail templates page.

Output

The node outputs a JSON object representing the response from the ZeptoMail API after attempting to send the templated email. This typically includes status information about the email submission.

No binary data output is produced by this operation.

Dependencies

  • Requires an API authentication token configured in n8n credentials to access the Zoho ZeptoMail API.
  • Depends on ZeptoMail service availability and valid mail agents and templates configured in the user's ZeptoMail account.
  • The node uses internal helper functions to format recipient addresses and make HTTP requests to ZeptoMail endpoints.

Troubleshooting

  • Invalid or missing mail agent: Ensure the selected mail agent exists and is correctly configured in ZeptoMail.
  • Template not found or invalid: Verify that the chosen template key corresponds to an existing template under the selected mail agent.
  • Malformed merge info JSON: The merge info must be valid JSON matching the template's expected fields; otherwise, the API may reject the request.
  • Email address formatting errors: Recipient, CC, BCC, and Reply-To fields must contain valid email addresses separated by commas if multiple.
  • API authentication errors: Confirm that the API credential is valid and has necessary permissions.
  • If the node throws errors with messages from the API, check the error details for guidance and correct input parameters accordingly.
  • Use the "Continue On Fail" option to handle individual item failures gracefully during batch sends.

Links and References

Discussion