dual-salmonD
Voiceflow3y ago
3 replies
dual-salmon

How to access user id passed through dialog API within Voiceflow?

My whatsapp bot makes the following call to voiceflow. I want to access the user_id within voiceflow and use it in API block or code block? How can I achieve that?

await interact(
user_id,
{
type: 'text',
payload: req.body.entry[0].changes[0].value.messages[0].text.body,
},
phone_number_id,
user_name
)
Was this page helpful?