I added a “Pipedrive Trigger” node to react on changes from Pipedrive (e.g. a deal being updated).
However running the node returns:
Problem running workflow
UNKNOWN ERROR - check the detailed error for more information
Pipedrive Trigger: Scope and URL mismatch
What I tried
Using the normal Pipedrive node (CRUD e.g. getting a list of deals) using OAuth2 works fine and returns the expected data.
Also running the Pipedrive Trigger using an API token instead of an OAuth2 authentication works fine. But I don’t want to use the API token because it gives full access to Pipedrive and doesn’t allow to limit the access scope (which has data security implications).
I finally figured out, how it works. If anyone should come across the same problem, here it is:
When I add a Pipedrive trigger node to my workflow, n8n uses the Pipedrive API to add a new webhook. This API is only accessible if the OAuth2 settings in Pipedrive include the access scope “Administer account”.