foreign-sapphire
foreign-sapphire14mo 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
W. Williams (SFT)
the api does not render in the Web Chat unless you do it through the web chat integration code. @NiKo | Voiceflow correct?
NiKo | Voiceflow
NiKo | Voiceflow14mo ago
Correct, only the use of chat.interact will render the traces in the Chat Widget.
foreign-sapphire
foreign-sapphireOP14mo 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 => {

Did you find this page helpful?