Pipedrive Delete

Pipedrive Delete

Certified

Delete a deal from Pipedrive CRM

Deletes a deal in Pipedrive. Pipedrive soft-deletes the record: it is moved to the trash and only purged permanently after 30 days, during which it can still be restored from the Pipedrive UI.

This task is a cleanup tool, not part of the normal deal lifecycle. To close a deal, use Update and set status to won or lost instead of deleting it.

yaml
type: io.kestra.plugin.pipedrive.deals.Delete

Delete a deal by ID

yaml
id: pipedrive_delete_deal
namespace: company.team

tasks:
  - id: delete_deal
    type: io.kestra.plugin.pipedrive.deals.Delete
    apiToken: "{{ secret('PIPEDRIVE_API_TOKEN') }}"
    dealId: 123
Properties

Pipedrive API token

Your Pipedrive API token for authentication.

Deal ID

The ID of the deal to delete

Defaulthttps://api.pipedrive.com/api/v2

Pipedrive API URL

Base URL for the Pipedrive API. Override for testing purposes.

Reference (ref) of the pluginDefaults to apply to this task.

Deleted

Whether the deal was successfully deleted