Skip to main content

HI guys, 

 

I want to do the following I have been around it with custom actions without success:

  1. Use ‘updated deal’ as a trigger in pipedrive.
  2. Filter deals on the basis of a custom data field’s containing a certain value.
  3. Search for a term within the Notes of the deal that was updated and passed through the filter. 
  4. If the term is found update teh value in a custom data field within pipedrive. 

I’m not an really an API developer in truth but would value any suggestions anyone might have?

 

Best wishes Simon

Hi @SP1976 

You may want to explore using native Pipedrive Automations: https://support.pipedrive.com/en/article/workflow-automation

 

Does the Pipedrive Zap trigger return the Note IDs attached to the Deal?

If yes, then skip action #1 below.

 

Logic would look like this:

  1. Trigger: Pipedrive - Updated Deal
    1. NOTE: You may instead want to try using Pipedrive - Deal Matching Filter
  2. Action: Pipedrive API - Get Notes
    1. Filter by Deal ID
    2. https://developers.pipedrive.com/docs/api/v1/Notes#getNotes
    3. Used to get the Notes linked to a Deal
  3. Action: Looping - Create Loop from Line Items
    1. Iterate thru each Note ID
    2. NOTE: If there are lots of Notes linked to a Deal, then this could become costly for Task usage
  4. Action: Pipedrive API - Get Note
    1. Used to get the Note contents
    2. https://developers.pipedrive.com/docs/api/v1/Notes#getNote
  5. Action: Formatter > Text > Find
    1. Used to search for a term
  6. Action: Filter
    1. Used to continue if there is a match for the search string
  7. Action: Pipedrive - Update Deal

 


Thankyou so much, This is really helpful BUT it’s not there yet, the main limiter is that Zapier only pulls through 100 deals at a time in find multiple deals and it pulls in the same deals each time I run it. Is there a way around that?


@SP1976 

You would likely have to use custom Code with the Pipedrive API to iterate over the pagination.

 


Reply