Julio Albuquerque
Julio Albuquerque
TTypebot
Created by Julio Albuquerque on 2/22/2024 in #help-and-questions
PrefilledVariables
Sorry! I misunderstood how "profilledVariables" worked, I thought there was no need to create them within the flow, I was just using them by typing {{name_of_variable}}. Now everything is working 100%! Once again, sorry for the intrusion.
19 replies
TTypebot
Created by PabloDocarmo on 2/20/2024 in #help-and-questions
startChat prefilledVariables
Sorry! I misunderstood how "profilledVariables" worked, I thought there was no need to create them within the flow, I was just using them by typing {{name_of_variable}}. Now everything is working 100%! Once again, sorry for the intrusion.
17 replies
TTypebot
Created by PabloDocarmo on 2/20/2024 in #help-and-questions
startChat prefilledVariables
I'm using version 2.22.2
17 replies
TTypebot
Created by PabloDocarmo on 2/20/2024 in #help-and-questions
startChat prefilledVariables
I'm using publicId and the error persists.
17 replies
TTypebot
Created by Julio Albuquerque on 2/22/2024 in #help-and-questions
PrefilledVariables
I'll try to downgrade and test which version it will work on... I'll see in git if there is any case about this.
19 replies
TTypebot
Created by Julio Albuquerque on 2/22/2024 in #help-and-questions
PrefilledVariables
2.22.2
19 replies
TTypebot
Created by Julio Albuquerque on 2/22/2024 in #help-and-questions
PrefilledVariables
I'm using it and it's working, I just can't pass variables in startChat: https://docs.typebot.io/editor/variables#prefilled-variables
19 replies
TTypebot
Created by Julio Albuquerque on 2/22/2024 in #help-and-questions
PrefilledVariables
Yes! I'm doing exactly what the documentation says, but I can't pass variables in startChat. I'm using version 2.22.2.
19 replies
TTypebot
Created by Julio Albuquerque on 2/22/2024 in #help-and-questions
PrefilledVariables
I'm making the request like this: const reqData = { isStreamEnabled: true, isOnlyRegistering: false, prefilledVariables: { numberContact: data.key.remoteJid.split('@')[0] data.from.split('@')[0], nameContact: data.verifiedBizName data.pushName || 'Anônimo' } }; const config = { headers: { 'Content-Type': 'application/json', Accept: 'application/json' }, maxBodyLength: Infinity }; const request = await axios.post(${url}/typebots/${typebotName}/startChat, reqData, config);
19 replies
TTypebot
Created by Julio Albuquerque on 2/22/2024 in #help-and-questions
PrefilledVariables
Exactly what I'm doing, but the variable is not populated at all! Returns like this: { "type": "p", "children": [ { "text": "Nome: " }, { "type": "inline-variable", "children": [] } ] },
19 replies
TTypebot
Created by Julio Albuquerque on 2/22/2024 in #help-and-questions
PrefilledVariables
Can you tell me how you did it?
19 replies