iago
iago
TTypebot
Created by iago on 8/8/2024 in #help-and-questions
FEATCH USE VARIABLES
I'm using a fetch that makes a request to fill in an options, but I need to have access to the variables as is done on the run server. how do I do this?
2 replies
TTypebot
Created by iago on 8/7/2024 in #help-and-questions
Options defaultvalue
Hi guys I'm setting the defaultvalue in options.string.layout but when I go to options.name it's coming up undefined, how do I set a value in a text field without it coming up undefined?
conversationId: option.string.layout({
label: 'Conversation ID',
defaultValue: '37',
isRequired: true,
isHidden: false,
}),

if (!options.conversationId) return logs.add('Conversation ID is missing')
conversationId: option.string.layout({
label: 'Conversation ID',
defaultValue: '37',
isRequired: true,
isHidden: false,
}),

if (!options.conversationId) return logs.add('Conversation ID is missing')
I'm doing it like this, and passing a condition to check if it has any value, but it always comes undefined
1 replies
TTypebot
Created by iago on 8/6/2024 in #help-and-questions
Variable to integration
Hey everyone, I am creating an integration where I will make a POST request, but I need to use a variable from Typebot. How do I retrieve a variable to use in my integration code?
3 replies