Zoho CRM Custom icon

Zoho CRM Custom

Consume Zoho CRM API

Overview

This node allows you to delete a Sales Order in Zoho CRM by specifying its unique Sales Order ID. It is useful for automating the cleanup or management of sales orders directly from your n8n workflows. For example, you might use this node to automatically remove test or duplicate sales orders, or as part of a process that retracts orders under certain business conditions.

Practical Example:

  • After a customer cancels an order via your e-commerce platform, you can trigger this node to delete the corresponding Sales Order in Zoho CRM.

Properties

Name Type Meaning
Sales Order ID String ID of the sales order to delete (required).

Output

The output will be a JSON object containing details about the deleted Sales Order. The structure typically includes confirmation data returned by Zoho CRM after deletion, such as the ID of the deleted record and possibly status information.

Example Output:

{
  "id": "1234567890",
  "status": "deleted"
}

Note: The exact fields depend on Zoho CRM's API response.

Dependencies

  • Zoho CRM Account: You must have access to a Zoho CRM account.
  • OAuth2 Credentials: The node requires valid Zoho OAuth2 credentials configured in n8n (zohoOAuth2Api).
  • API Access: Ensure your Zoho CRM user has permission to delete sales orders.

Troubleshooting

Common Issues:

  • Invalid Sales Order ID: If the provided Sales Order ID does not exist, the node will throw an error indicating the record was not found.
  • Insufficient Permissions: If your Zoho CRM user lacks permission to delete sales orders, you may receive an authorization error.
  • Authentication Errors: Expired or misconfigured OAuth2 credentials will result in authentication failures.

Error Messages & Resolutions:

  • "Record not found": Double-check the Sales Order ID for typos or ensure it exists in Zoho CRM.
  • "Permission denied": Verify your Zoho CRM user's permissions.
  • "Invalid OAuth token": Re-authenticate or refresh your Zoho OAuth2 credentials in n8n.

Links and References


Summary:
This node provides a straightforward way to automate the deletion of Sales Orders in Zoho CRM, making it valuable for maintaining clean and up-to-date sales records within your automated workflows.

Discussion