Zoho Mail

Interact with Zoho Mail API

Actions5

Overview

The Zoho Mail node allows users to interact with the Zoho Mail API, specifically for managing email messages and attachments. The "Upload" operation under the "Attachment" resource enables users to upload files as attachments to emails in their Zoho Mail account. This functionality is particularly useful for automating email workflows where documents or files need to be sent alongside messages, such as sending invoices, reports, or any other relevant documentation.

Common Scenarios:

  • Automatically sending invoices as attachments when a new order is placed.
  • Uploading files to emails triggered by specific events in a business process.
  • Integrating file uploads into customer support workflows where attachments are necessary.

Properties

Name Meaning
Account ID The unique identifier for the Zoho Mail account where the attachment will be uploaded.
Binary Property The name of the binary property that contains the file data to be uploaded. Default is "data".

Output

The output of the "Upload" operation will return a JSON object containing the response from the Zoho Mail API after the attachment has been successfully uploaded. If the upload is successful, the response may include details about the uploaded attachment, such as its ID or URL. If there is no response, an empty object will be returned.

If the node can output binary data, it typically means that the uploaded file's metadata or content could be included in the output, depending on the API's response structure.

Dependencies

  • An API key credential is required for authentication with the Zoho Mail API.
  • Users must ensure they have the necessary permissions to upload attachments to their Zoho Mail account.

Troubleshooting

  • Common Issues:

    • Missing Binary Property: If the specified binary property does not exist in the input data, an error will occur. Ensure that the property name matches the one used in the workflow.
    • Authentication Errors: If the API key is invalid or expired, the node will fail to authenticate. Verify the credentials and ensure they are up-to-date.
  • Error Messages:

    • "Binary property 'X' is missing on item Y": This indicates that the specified binary property was not found in the input data. Check the property name and ensure the file is correctly attached.
    • Authentication-related errors may indicate issues with the provided API key or insufficient permissions.

Links and References

Discussion