If I want to route it to a flow, I put FLOW to targetType? I tried it didn't work...what are the accepted values for targetType?
window._genesys = { widgets: { webchat: { transport: { type: 'purecloud-v2-sockets', dataURL: 'https://api.mypurecloud.com', deploymentKey : 'YOUR_DEPLOYMENTKEY_HERE', orgGuid : 'YOUR_ORGGUID_HERE', interactionData: { routing: { targetType: 'QUEUE', targetAddress: 'YOUR_QUEUENAME_HERE', priority: 2 }Flows are configured within the admin UI, in widget deployments. That way, you can update the flow without having to change the website. You can pass variables to the flow from the website to help you determine which queue to route the chat to.
I setup a flow already along with a new deployment key for version 2, what I am trying to do is to send the chat to this flow instead of a queue.
Is QUEUE the only available variable for targetType?
Or does that mean it defaults to a queue here unless there is something in the flow re-route it to another?
For the new widget (version 2), specifying a flow is not yet supported as we work through the remaining issues.
You can specify a flow for widget 1.1 within the deployment. The flow will be then used for routing chats. When you create a chat flow, you can use the queue specified on the website for routing, as noted here: https://help.mypurecloud.com/articles/inbound-chat-flows-overview/
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.