Yang Y
posted this
16 February 2023
edited 16 February 2023
posted
16 February 2023
Hey Serhii
We have a 'Person' type custom field on the Person object in Pipedrive. Field name 'Name2'
We also defined a lookup field (account) on the account object in SF. Field name 'Related Account'
We are mapping the Person object to the Account object
We are inserting new record and hoping that we can also create Account that has 'Related Account' field populated based on the 'Name2' field from the Pipedrive Perons record.
The custom field called 'Name2' (Person type) resides on the source Person record in pipedrive
e.g. The source Person record is with PersonID 650, when we query the Persons table by that ID
the field 'Name2' is returned like below:
{"active_flag":true,"name":"CoapplicantFirstName Coapplicant","email":[{"value":"","primary":true}],"phone":[{"value":"","primary":true}],"owner_id":13115543,"value":630}
Apprently it is a Person object with PersonID 630.
We are hoping to grab the PersonId from the custom field Name2, in this case 630, and query/look up on this ID to grab the person object related field (Name, Email, Phone etc) and create new Account record in SF
Is that doable?
Thans
Yang