How to automatically link a deal to a project
We create projects automatically via API based on end users purchasing a product through our website.
Most of these end users will have had a deal in pipedrive already. Once the deal is closed won, it goes to our after sales team. After sales team uses projects.
How can we automatically link the closed won deal to the newly opened project?
Answers
-
Hello @Fred,
Assuming in the process, you will be using Search Person API (to find the contact in Pipedrive to link to the new Project), you can use the ID of the person from this call in a separate request to List deals associated with a person which will return information about all deals linked to the contact, and you can filter out only deals with the right "status" and add the ID(s) under deal_ids parameter in your Add Project call.
0