Skip to content

Commit d3a4326

Browse files
committed
feat: add the missing presets to pipedrive destination defined in actions prop
1 parent b93a98c commit d3a4326

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

  • packages/destination-actions/src/destinations/pipedrive

packages/destination-actions/src/destinations/pipedrive/index.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,27 @@ const destination: DestinationDefinition<Settings> = {
100100
partnerAction: 'createUpdateActivity',
101101
mapping: defaultValues(createUpdateActivity.fields),
102102
type: 'automatic'
103+
},
104+
{
105+
name: 'Create or Update a Deal',
106+
subscribe: 'type = "identify"',
107+
partnerAction: 'createUpdateDeal',
108+
mapping: defaultValues(createUpdateDeal.fields),
109+
type: 'automatic'
110+
},
111+
{
112+
name: 'Create or Update a Note',
113+
subscribe: 'type = "track" and event = "Note Upserted"',
114+
partnerAction: 'createUpdateNote',
115+
mapping: defaultValues(createUpdateNote.fields),
116+
type: 'automatic'
117+
},
118+
{
119+
name: 'Create or Update a Lead',
120+
subscribe: 'type = "track" and event = "Lead Upserted"',
121+
partnerAction: 'createUpdateLead',
122+
mapping: defaultValues(createUpdateLead.fields),
123+
type: 'automatic'
103124
}
104125
]
105126
}

0 commit comments

Comments
 (0)