Delete
Deletes an object from Pipedrive CRM (Activity, Deal, Note, Organization, Person, or Lead).
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Connection Id - The connection ID returned by the Connect node.
- Object Id - The ID of the object to be deleted.
Options
- Type - The type of object to delete (Activity, Deal, Note, Organization, Person, or Lead).
Output
- Result - The response from the Pipedrive API confirming the deletion.
How It Works
The Delete node removes an object from Pipedrive CRM. When executed, the node:
- Validates the provided Connection Id
- Validates the Object Id input
- Uses the selected Type option to determine what kind of object to delete
- Calls the appropriate Pipedrive API endpoint to delete the object
- Returns the API response as the result
Requirements
- A valid connection to Pipedrive established using the Connect node
- The ID of the object to be deleted
- Appropriate permissions in Pipedrive to delete the selected object type
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Connection Id
- Empty or invalid Object Id
- Invalid Type selection
- Pipedrive API errors (e.g., insufficient permissions, object not found)
Usage Notes
- The Object Id should be obtained from a previous operation (e.g., Create or Get)
- The Connection Id must be obtained from a previous Connect node
- Deleted objects cannot be recovered through the API
- The result contains the full response from the Pipedrive API confirming the deletion