
Pipedrive Create
CertifiedCreate a new deal in Pipedrive CRM
Pipedrive Create
Create a new deal in Pipedrive CRM
Creates a new deal (opportunity) in your Pipedrive account with the specified details.
type: io.kestra.plugin.pipedrive.deals.CreateExamples
Create a deal with basic information
id: pipedrive_create_deal
namespace: company.team
tasks:
- id: create_deal
type: io.kestra.plugin.pipedrive.deals.Create
apiToken: "{{ secret('PIPEDRIVE_API_TOKEN') }}"
title: "Enterprise Software License"
value: 50000
currency: "USD"
Create a deal linked to a person
id: pipedrive_create_deal_with_person
namespace: company.team
tasks:
- id: create_deal
type: io.kestra.plugin.pipedrive.deals.Create
apiToken: "{{ secret('PIPEDRIVE_API_TOKEN') }}"
title: "Cloud Services Contract"
value: 100000
currency: "USD"
personId: 123
stageId: 1
expectedCloseDate: "2024-12-31"
Properties
apiToken *string
Pipedrive API token
Your Pipedrive API token for authentication.
title *string
Deal title
apiUrl string
https://api.pipedrive.com/api/v2Pipedrive API URL
Base URL for the Pipedrive API. Override for testing purposes.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150currency string
Currency
Currency code (e.g., USD, EUR, GBP)
customFields object
Custom fields
Map of custom field keys and values
expectedCloseDate string
Expected close date
Expected close date in YYYY-MM-DD format
orgId integerstring
Organization ID
ID of the organization this deal is associated with
personId integerstring
Person ID
ID of the person this deal is associated with
probability numberstring
Probability
Deal success probability percentage (0-100)
stageId integerstring
Stage ID
ID of the stage this deal will be placed in a pipeline
status string
Status
Status of the deal. Valid values: 'open', 'won', 'lost', 'deleted'
userId integerstring
User ID
ID of the user who will be marked as the owner of this deal
value numberstring
Deal value
visibleTo string
Visibility
Visibility of the deal. Valid values: '1' (owner only), '3' (entire company), or '5' (owner and followers)
Outputs
addTime string
Creation time
Timestamp when the deal was created
dealId integer
Deal ID
The ID of the created deal in Pipedrive
updateTime string
Last update time
Timestamp when the deal was last updated