Zoho Zeptomail icon

Zoho Zeptomail

Consume Zoho ZeptoMail API

Actions2

Overview

This node integrates with the Zoho ZeptoMail API to send emails. Specifically, for the Message resource and the Send Template Mail operation, it allows users to send templated emails using predefined ZeptoMail templates. This is useful in scenarios where you want to automate sending personalized emails based on templates, such as marketing campaigns, notifications, or transactional emails.

For example, a user can select a mail agent (an email sending identity), choose a template created in ZeptoMail, provide recipient addresses, and supply merge information in JSON format to customize the template content dynamically for each recipient.

Properties

Name Meaning
Mail Agent Select the mail agent (email sending identity) to use for sending the email.
Template Choose a ZeptoMail template to use for the email 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 added as CC recipients.
BCC Comma-separated list of email addresses to be added as BCC recipients.
Template merge info values JSON string providing merge data to populate dynamic fields in 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 sending request.

No binary data output is produced by this operation.

Dependencies

  • Requires an API authentication token configured via OAuth2 credentials for Zoho ZeptoMail.
  • Depends on the availability of 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 the ZeptoMail API.

Troubleshooting

  • Invalid or missing mail agent: Ensure that 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 in ZeptoMail.
  • Malformed merge info JSON: The mergeinfo property must be valid JSON. Invalid JSON will cause errors when sending the email.
  • Email address formatting: Recipient, CC, BCC, and Reply-To addresses should be valid email formats and separated by commas if multiple.
  • API authentication errors: Check that the OAuth2 credentials are valid and have not expired.
  • Error messages from API: The node surfaces error details returned by ZeptoMail. Review these messages to identify issues like quota limits, invalid parameters, or server errors.

If the node is set to continue on failure, errors for individual items will be included in the output with error messages.

Links and References

Discussion