Actions40
- Company Actions
- Note Actions
- Note Relation Actions
- Opportunity Actions
- Person Actions
- Pipeline Actions
- Task Actions
- Task Relation Actions
Overview
This node integrates with the Dalil AI API to manage various CRM-related resources, including Opportunities. Specifically, for the Opportunity resource, it supports operations such as creating, updating, deleting, retrieving a single opportunity, and listing multiple opportunities.
The Delete operation for Opportunity allows users to remove an existing opportunity from their CRM system by specifying its unique identifier (UUID). This is useful in scenarios where an opportunity is no longer relevant or was created in error and needs to be cleaned up.
Practical example:
- Automatically delete opportunities that have been marked as lost or obsolete in your sales pipeline to keep your CRM data clean.
- Remove test or duplicate opportunities during data migration or integration workflows.
Properties
Name | Meaning |
---|---|
Opportunity ID | UUID string of the opportunity to delete. This uniquely identifies the opportunity to be removed. |
Output
The output JSON object after a successful delete operation contains:
success
: A boolean indicating whether the deletion was successful (true
).id
: The UUID of the deleted opportunity.
Example output JSON:
{
"success": true,
"id": "uuid-of-deleted-opportunity"
}
No binary data is produced by this operation.
Dependencies
- Requires an active connection to the Dalil AI API.
- Requires an API key credential configured in n8n for authenticating requests to the Dalil AI service.
- The node uses HTTP methods (DELETE) to interact with the Dalil AI REST endpoints.
Troubleshooting
- Invalid Opportunity ID: If the provided UUID does not correspond to any existing opportunity, the API may return an error indicating the resource was not found. Verify the UUID is correct.
- Authentication errors: Ensure the API key credential is valid and has sufficient permissions to delete opportunities.
- Network issues: Connectivity problems can cause request failures; check network access to the Dalil AI API endpoint.
- API response structure changes: Unexpected API responses might cause errors; ensure the Dalil AI API version matches what the node expects.
If the node is set to continue on fail, errors will be returned in the output JSON under an error
field for each failed item.
Links and References
- Dalil AI API Documentation (hypothetical link, replace with actual if available)
- n8n documentation on creating custom nodes
- General REST API best practices for DELETE operations