
EspoCRM
Actions21
Overview
This node is designed to delete an Opportunity record in a CRM system. It is useful when you want to programmatically remove an existing opportunity from your database or CRM platform, for example, to clean up outdated or invalid sales opportunities.
A practical use case would be automating the removal of lost or cancelled deals based on certain criteria, helping keep your sales pipeline accurate and up-to-date.
Properties
| Name | Meaning |
|---|---|
| Opportunity ID | The unique identifier of the opportunity to delete |
Output
The output JSON typically contains information about the deletion result. This may include confirmation that the opportunity was successfully deleted or details about any errors encountered during the process.
No binary data output is expected from this operation.
Dependencies
- Requires connection to the CRM system where the Opportunity records are stored.
- Needs an API key or authentication token configured in n8n to authorize deletion requests.
- The node depends on external modules for descriptions and operations logic, which handle the actual API calls.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Opportunity ID will likely cause the deletion to fail.
- Missing or incorrect API credentials can prevent successful communication with the CRM.
- Network connectivity problems may interrupt the request.
Error messages:
- "Opportunity not found" indicates the specified ID does not exist.
- "Unauthorized" or "Authentication failed" suggests issues with API credentials.
- Timeout or network errors imply connectivity problems.
To resolve these, verify the Opportunity ID, ensure valid API credentials are set up, and check network access.
Links and References
- Refer to your CRM's API documentation for details on deleting Opportunity records.
- Consult n8n documentation on setting up API credentials and using HTTP request nodes if needed.