foreign-sapphire•14mo ago
Easiest Way to render a "user" message into the widget after interacting with the interact dm api?
If i use voiceflow.chat.interact({ im successfully interacting and receiving a response back in the widget but the interact message that is sent does not appear in the widget. - What is the best way to render a message in the widget?
3 Replies
the api does not render in the Web Chat unless you do it through the web chat integration code. @NiKo | Voiceflow correct?
Correct, only the use of chat.interact will render the traces in the Chat Widget.
foreign-sapphireOP•14mo ago
hey guys thanks for the reply - thats what i thought and am currently doing but the issue is I want the chat.interact to render a message as if it was sent from the "user" it currently only renders the traces from the system side. My integration snippet below :
window.voiceflow.chat.interact({
type: "intent",
payload: {
intent: {
name: "/request"
},
query:
${request}
,
variables: {}
}
}).then(response => {