Live Helper Chat support forum.. Old google groups forum can be found here

You are not logged in.

Announcement

#1 2020-10-19 04:34:57

shrnt
New member
Registered: 2020-10-19
Posts: 4

Cannot find Execute Trigger Body

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.
1603081122_mbkzrmx7cj.png

I have tried to use Execute JS but it still cannot work
1603081281_msedge_pxjtvggi3e.png
1603081327_msedge_ronblvlpsd.png

Thanks

Offline

#2 2020-10-19 04:55:16

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,303
Website

Re: Cannot find Execute Trigger Body

Hi,
You will need to upgrade as it seems you are running older version.
https://doc.livehelperchat.com/docs/bot/trigger-body

Offline

#3 2020-10-20 07:52:07

shrnt
New member
Registered: 2020-10-19
Posts: 4

Re: Cannot find Execute Trigger Body

Hello, thank you for the quick reply.
I have upgraded but I have some problems. I am getting an error when I chat
1603180179_msedge_fisaldczoq.png
This is what I am sending.
1603180233_sublime_text_gwh0rd1gbc.png

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

#4 2020-10-20 07:59:39

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,303
Website

Re: Cannot find Execute Trigger Body

Just read documentation.... It has clear sample how to do all that... https://doc.livehelperchat.com/docs/bot/trigger-body

Offline

#5 2020-10-20 08:05:56

shrnt
New member
Registered: 2020-10-19
Posts: 4

Re: Cannot find Execute Trigger Body

Hello, my main problem is the Illegal string offset coming from the cache. After clearing cache it does not go away

Offline

#6 2020-10-20 08:07:28

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,303
Website

Re: Cannot find Execute Trigger Body

Disable cache and paste exact place where it happens as it's just compiled template.  https://doc.livehelperchat.com/docs/debug/

Offline

#7 2020-10-21 09:29:05

shrnt
New member
Registered: 2020-10-19
Posts: 4

Re: Cannot find Execute Trigger Body

thank you! okay another question. How do I get the bot to read the payload and send it back to the API call?

Offline

#8 2020-10-21 09:47:19

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,303
Website

Re: Cannot find Execute Trigger Body

Have you tried at-least read documentation https://doc.livehelperchat.com/docs/bot/rest-api ?

Offline

Board footer