ooshy
TTypebot
•Created by ooshy on 8/29/2024 in #help-and-questions
Send message by hitting enter on keyboard
if possible, would be great to have the option 🙂
6 replies
TTypebot
•Created by ooshy on 8/29/2024 in #help-and-questions
Send message by hitting enter on keyboard
Hi @Baptiste on mac in chrome i need to push cmd+enter for the message to submit when the chatbot is embedded via iframe. Just hitting enter gives a new line in the field.
I am using a long text field
6 replies
TTypebot
•Created by ooshy on 8/20/2024 in #help-and-questions
Return string from async function in script logic node
Version: 2.18.4
11 replies
TTypebot
•Created by ooshy on 8/20/2024 in #help-and-questions
Return string from async function in script logic node
@William @Baptiste i don't see that option on my script node - https://privatesnap.s3.amazonaws.com/home/RTMHHZkx6bUn34Uqb6G9/Monosnap_MadlyGlobal_Direct__Editor__Typebot_2024-08-21_16-19-21.png
11 replies
TTypebot
•Created by ooshy on 8/20/2024 in #help-and-questions
Return string from async function in script logic node
Thanks for your answer @Baptiste
I have tried this at the bottom of my script node:
console.log('CONTENT', agent_response);
return agent_response;
setVariable("Assistant Messages", agent_response);
In console i can see there is a string in the agent_response
.
But when i try and display
{{Assistant Messages}}
in the following text bubble node it is empty.
I can see in the docs thatthe setVariable will only work when executed on the server but i can't see any settings available for this directly on the script node?11 replies