I’m curious how does your Scenario look, and where are you using an if() function and also getting the ‘parseJSON’ error?
I would think that if you’re submitting JSON text to a Crisp module, or any module, I wouldn’t say any parsing is being done at all and the JSON is simply being passed to the module as-is, to be further processed by that module.
Just thought I might step in and pat you on the back for the great job you did while figuring out this problem. I’m thrilled to see you were able to learn more about the product and come up with a solution!
Also thank you for coming back and sharing this.
Keep up the amazing work!