grumpy-cyan•2y ago
Tracking individual users transcripts?
Hi everyone, I’m experimenting with VF for an event assistant for a non profit event.
I’m still getting details on how the registration process will be, but I know I’ll likely have to integrate this within whatever applications they have planned.
Is there anyway I can tell the bot who the user is on load? Initial thoughts were to have an API look them up in the database of whatever app their using but I’d like to transfer the data so that the bot knows who the user is on load. Thoughts?
3 Replies
fascinating-indigo•2y ago
This is a good way to do it!
https://developer.voiceflow.com/docs/chat-widget#pass-default-variable-values-optional
It lets you pass in variables upon loading the VF widget. If you have the user information on your end then you can pass that in 🙂
grumpy-cyanOP•2y ago
This would work if I could pass the values from a logged in user. Anyway to do this using the API? I’ll look into the documentation to see if I find anything also
Yes, using API you can pass your variable in the state object (interact endpoint) and/or use the update variables endpoint.
More details on your Dialog API doc on dev portal.