Share feedback, ideas and get community help

Home
Members
Stergios
S
Stergios
Offline, last seen 3 months ago
Joined September 13, 2024
Hi,

any idea how we can send arrays via the webhook body?

For example, this custom body does not work (Error 500) if {{var}} is set an array, such as ["A", "B", "C"] in a previous block

{
"input": {{var}}
}

I've examined my endpoint logs and it seems that the request does sends an empty body, when {{var}} is an array. I've also tried putting quotes before and after the variable -
i.e.,
"{{var}}", still this did not work.

If you use a typical string variable, such as "A B C", the call just works.
5 comments
m
S
B
Hi!

Is there a way to have some type of persistent menu button in the UI, and whenever you click on it the bot navigates the user to a specific block?

This could work by capturing a click in the parent website, and then utilizing a Typebot command to 'force' send a specific keyword (e.g. '/TRIGGER_PATH_A'), using a JS command similar to the below one:

Typebot.setInputValue(...) <- but this command just prefills the user input without actually submitting/sending it
(as explained correctly in documentation https://docs.typebot.io/deploy/web/libraries/html-javascript#commands, so it behaves more like like a shortcut...)

Any idea how we could send the user to a specific path through clicking on a static UI element? I think this could significantly enhance the conversational UX in numerous ways @Baptiste. Maybe I am missing something 🙂

In any case, thanks in advance for any help/ideas!
2 comments
B
S
S
Stergios
·

Ask Assistant

Quick question about the new Ask Assistant functionality: has anyone tried to use some JS code for a function? In the Code section of a Function, can we somehow set the value of a Typebot variable? Many thanks in advance.
10 comments
B
S
V