Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hello, I want to send a trigger body through my API but I cannot find the option.
My aim is to generate buttons from my API.
I have tried to use Execute JS but it still cannot work
Thanks
Offline
Hi,
You will need to upgrade as it seems you are running older version.
https://doc.livehelperchat.com/docs/bot/trigger-body
Offline
Hello, thank you for the quick reply.
I have upgraded but I have some problems. I am getting an error when I chat
This is what I am sending.
I have tried clearing the cache but it does not help.
After this, I will also try the same with buttons.
Thank you very much.
Offline
Just read documentation.... It has clear sample how to do all that... https://doc.livehelperchat.com/docs/bot/trigger-body
Offline
Hello, my main problem is the Illegal string offset coming from the cache. After clearing cache it does not go away
Offline
Disable cache and paste exact place where it happens as it's just compiled template. https://doc.livehelperchat.com/docs/debug/
Offline
thank you! okay another question. How do I get the bot to read the payload and send it back to the API call?
Offline
Have you tried at-least read documentation https://doc.livehelperchat.com/docs/bot/rest-api ?
Offline
Pages: 1