Ploomes CRM icon

Ploomes CRM

Interact with the Ploomes CRM API with full OData support

Actions126

Deal → Delete

AI-generated

Summary

Deletes a single Deal in Ploomes CRM by ID by sending a DELETE request to the Ploomes API (/Deals()).

Inputs

  • ID (required) — The Ploomes Deal ID to delete (string). It is inserted directly into the request URL as /Deals(). It can be set from an expression so each input item deletes a different deal.

Output shape

One output item per input item, routed to one of three outputs: Success, Error, or Timeout. If the API returns an empty body, which is typical for DELETE, the Success item is { success: true, resource, operation, timestamp }. If the API returns a body, that body is returned as the item instead.

Errors do not appear on the Success output. For an HTTP error, the item is { error, statusCode, isTimeout, resource, operation, timestamp }. It goes to the Error output, or to the Timeout output for HTTP 408/504. Unless 'Continue On Fail' is enabled, a non-timeout error also stops the workflow. Timeout errors never stop the workflow. They are routed to the Timeout output and the loop continues. The node uses the 'ploomesApi' credential. Deletion is permanent as far as this node is concerned, and there is no confirmation or undo. The resource and operation values in the payload are the internal values 'deal' and 'delete'.

Examples

Example 1: Remove a specific deal that was created by mistake.

Resource: Deal, Operation: Delete, ID: 12345678.

Example 2: Delete every deal ID emitted by a previous node, such as a Get Many with a filter.

Resource: Deal, Operation: Delete, ID: ={{ $json.Id }}. The node runs once per input item. Connect the Error output to a notification step.

Links

Discussion