Created
September 10, 2015 05:08
-
-
Save ktoraskartwilio/b94037bd515be22da994 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"task_routing":{ | |
"filters":[ | |
{ | |
"friendly_name":"Gold Tickets", | |
"expression":"customer_value == 'Gold' AND type == 'ticket'", | |
"targets":[ | |
{ | |
"queue":"WQ0123456789abcdef0123456789abcdef", | |
"priority":"2" | |
} | |
] | |
}, | |
{ | |
"friendly_name":"Silver and Bronze Tickets", | |
"expression":"customer_value IN ['Silver', 'Bronze'] AND type == 'ticket'", | |
"targets":[ | |
{ | |
"queue":"WQabcdef0123456789abcdef0123456789", | |
"priority":"1", | |
"timeout":"300" | |
}, | |
{ | |
"queue":"WQabcdef01234567890123456789abcdef" | |
} | |
] | |
}, | |
{ | |
"friendly_name":"Leads", | |
"expression":"type == 'lead'", | |
"targets":[ | |
{ | |
"queue":"WQabcdef01234567890123456789abcdef", | |
"priority":"3" | |
} | |
] | |
} | |
], | |
"default_filter":{ | |
"queue":"WQabcdef01234567890123456789abcdef" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment