Comments (3)
Sure - here is an example of a workflow I maintain purely for demonstration purposes in my personal Twilio account handling both direct to agent and queue transfer scenarios.
"task_routing": {
"filters": [
{
"filter_friendly_name": "Find Specific Agent",
"expression": "transferTargetType == 'worker'",
"targets": [
{
"queue": "WQ...",
"expression": "worker.sid == task.targetSid"
}
]
},
{
"filter_friendly_name": "Everyone Queue",
"expression": "transferTargetType == 'queue' && targetSid == 'WQ...'",
"targets": [
{
"queue": "WQ..."
}
]
},
{
"filter_friendly_name": "Sales Queue",
"expression": "transferTargetType == 'queue' && targetSid == 'WQ...'",
"targets": [
{
"queue": "WQ..."
}
]
},
{
"filter_friendly_name": "Support Queue",
"expression": "transferTargetType == 'queue' && targetSid == 'WQ...'",
"targets": [
{
"queue": "WQ..."
}
]
},
{
"filter_friendly_name": "Gold Support Queue",
"expression": "transferTargetType == 'queue' && targetSid == 'WQ...'",
"targets": [
{
"queue": "WQ..."
}
]
}
],
"default_filter": {
"queue": "WQ..."
}
}
}```
from plugin-chat-sms-transfer.
Hey @sbaar, to my knowledge you're absolutely right - when transferring to a queue you unfortunately have to setup a filter in your workflow for each queue. It's due to how the Workflow's work.
Flex's voice transfers actually route tasks/calls to agents without running them through the workflow again, in the future I expect native chat transfers to work similarly, but until then if you want to transfer chats to queues, you'll need a filter for each.
I'm not sure when you initially installed the plugin but I was made aware of an issue (#21) that could affect you yesterday and was fixed yesterday in #20
There were changes both to the plugin itself and the provided Twilio Serverless Function that actually performs the transfer, so be sure to update both!
from plugin-chat-sms-transfer.
Yeah also had to do this and expected their to be a better way of doing it. In the end we decided not to use Queues for chat, but good to know this is the only way to do it if we do want to put it back in! @johnfischelli would it be possible for you to provide your task router rules for comparison? I think I've done it in a similar way to @sbaar , but always good to have a reference to make sure nothing is being missed! :)
from plugin-chat-sms-transfer.
Related Issues (17)
- Suggestion: Add comment to clarify that workflowSid might be needed for users with multiple workflows in their Flex TaskRouter workspace HOT 1
- twilio-flex.min.js:142 Error: only absolute urls are supported HOT 6
- CORS Issue HOT 19
- Agent exceeds Channel per user limit HOT 1
- Add Support for Twilio Channel Janitor Service HOT 1
- Channel resource is associated with the old task after transfer. HOT 1
- Can't transfer webchat HOT 5
- Chat-Transfer Function Cannot be Tested Locally HOT 5
- Task not assigned to a particular queue HOT 2
- Spinning wheel after transfer HOT 3
- Update Readme details HOT 1
- Specify the need for an appConfig.js file HOT 1
- Incorrect env variable SERVERLESS_FUNCTION_DOMAIN in documentation/readme
- Call out SSO warning HOT 1
- the transfer does not work HOT 12
- plugin version HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin-chat-sms-transfer.