Create a new person in Pipedrive CRM
Creates a new person (contact) in your Pipedrive account with the specified details.
type: "io.kestra.plugin.pipedrive.persons.Create"Examples
Create a person with basic information
id: pipedrive_create_person
namespace: company.team
tasks:
- id: create_person
type: io.kestra.plugin.pipedrive.persons.Create
apiToken: "{{ secret('PIPEDRIVE_API_TOKEN') }}"
name: "John Doe"
emails:
- value: "[email protected]"
primary: true
phones:
- value: "+1234567890"
primary: true
Create a person linked to an organization
id: pipedrive_create_person_with_org
namespace: company.team
tasks:
- id: create_person
type: io.kestra.plugin.pipedrive.persons.Create
apiToken: "{{ secret('PIPEDRIVE_API_TOKEN') }}"
name: "Jane Smith"
orgId: 123
emails:
- value: "[email protected]"
primary: true
label: "work"
Properties
apiToken *Requiredstring
Pipedrive API token
Your Pipedrive API token for authentication.
name *Requiredstring
Person name
Full name of the person
apiUrl string
https://api.pipedrive.com/api/v2Pipedrive API URL
Base URL for the Pipedrive API. Override for testing purposes.
customFields object
Custom fields
Map of custom field keys and values
emails array
Email addresses
List of email addresses for this person
orgId integerstring
Organization ID
ID of the organization this person belongs to
ownerId integerstring
Owner ID
ID of the user who will be marked as the owner of this person
phones array
Phone numbers
List of phone numbers for this person
visibleTo string
Visibility
Visibility of the person. Valid values: '1' (owner only), '3' (entire company), or '5' (owner and followers)
Outputs
addTime string
Creation time
Timestamp when the person was created
personId integer
Person ID
The ID of the created person in Pipedrive
updateTime string
Last update time
Timestamp when the person was last updated