Chat Flow from Website

When I use Developer to chat it routes the interaction through the Widget that then follows the Chat flow that I have built out to do schedule evaluations, and other fun stuff. When the customer uses the code from Developer it seems to be bypassing the Chat flow and going directly to the queue. My question is, "targetType" and "targetAddress" below, if they change this to Flow, and Flow Name, respectively, will that force it to the Chat flow that is associated with the Widget?

<script> window._genesys = { "widgets": { "webchat": { "transport": { "type": "purecloud-v2-sockets", "dataURL": "https://api.mypurecloud.com", "deploymentKey": "", "orgGuid": "", "interactionData": { "routing": { "targetType": "QUEUE", "targetAddress": "Avtex Test Queue", "priority": 2 } }

Hi :wave:
To trigger your Chat Flow, you need to adjust the corresponding Widget Deployment setting "Route to Flow" and select your newly created Chat Flow from the dropdown.
See Create a widget for web chat, expand the Version 2 section for the details.
Note that when you create a new Inbound Chat Flow, the initial template will include a task with default logic that honors the legacy queue routing. You may adjust that based on your needs. See Inbound chat flows overview.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.