Execute trigger with javascript #1898
Replies: 2 comments 1 reply
-
You should be using this instead of JS approach. I highly recommend using that approach not JS to execute triggers... And to execute javascript it should be |
Beta Was this translation helpful? Give feedback.
-
Initially I tried to do it that way, but the values that are returned by my API are not calculated. The calculation is done only through JavaScript. I tried to follow this tutorial to run a trigger through javascript but it didn't work, not even with window.parent https://doc.livehelperchat.com/docs/javascript-arguments#how-to-execute-any-trigger-manually Is there any other way I can force the execution of a trigger by JavaScript? |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm trying to run different triggers based on the true or false result, but it displays this error, do you know how I could fix it?
When I put it to display only the console log it returns me the way I need it, but I can't display it in the chat for the user
Beta Was this translation helpful? Give feedback.
All reactions