Create object variables in prefilledVariables on start bot
His, is possible to pass an object in prefilledVariables, as the 'contact' below?
If yes, how can I access 'contact.name' into my flow?
const reqData = {
typebot: TypebotName,
prefilledVariables: {
number: '929292920000',
contact: {id:1, name:'John', address:'xxx',...others keys}
}
};
const { data } = await axios.post(
TypebotUrl,
reqData
);
4 Replies