Create a new person in Pipedrive CRM

Creates a new person (contact) in your Pipedrive account with the specified details.

yaml
type: "io.kestra.plugin.pipedrive.persons.Create"

Create a person with basic information

yaml
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

yaml
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

Pipedrive API token

Your Pipedrive API token for authentication.

Person name

Full name of the person

Default https://api.pipedrive.com/api/v2

Pipedrive API URL

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

Custom fields

Map of custom field keys and values

SubType object

Email addresses

List of email addresses for this person

Organization ID

ID of the organization this person belongs to

Owner ID

ID of the user who will be marked as the owner of this person

SubType object

Phone numbers

List of phone numbers for this person

Visibility

Visibility of the person. Valid values: '1' (owner only), '3' (entire company), or '5' (owner and followers)

Creation time

Timestamp when the person was created

Person ID

The ID of the created person in Pipedrive

Last update time

Timestamp when the person was last updated