Hello everyone,
I am having some problems with a Pipedrive integration and would greatly appreciate any help. In my Zap, I search for a person by email and, if found, I want to add a new tag to that person's current tags. I am using the “Run JavaScript” action.
The search is going well and I am able to retrieve the tags.
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/304da4cc-aea1-40e2-9474-82d93ef8cb35.png)
However, the input shows this field as a key inside double brackets.
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/b4b84258-7f52-4b96-9752-563748063cf1.png)
Furthermore, JavaScript always considers the typeof inputData.currenttags as "undefined".
What am I doing wrong? Thank you very much.