Webex Contact Center
Send a survey after each answered Webex Contact Center call, from a flow step at contact end or the task ended event.
What it does
When a call ends in Webex Contact Center, a step in your flow (or a relay that receives the task:ended event) sends
the call's details to Sayvara, which queues one survey for each answered call.
Status
Add-on, available on request. The recipe below is built into Sayvara and tested with sample data. Our team sets it up with you and checks it on your Webex Contact Center before your first surveys go out. Ask at support@sayvara.com.
The recipe
Flow Designer (no code)
- In Flow Designer, open the event flow that runs when a contact ends and add an HTTP Request node.
- Method
POST, addresshttps://api.sayvara.com/v1/triggers/pbx/webex-cc, headerAuthorization: Bearer <your API key>, content typeapplication/json, and a body built from your flow's variables:
{
"interactionId": "<the interaction id>",
"ani": "<the caller's number>",
"dnis": "<the number dialled>",
"direction": "inbound",
"agentId": "<the agent id>",
"terminatingParty": "<Agent or Customer>",
"reason": "<the end reason>",
"endedTime": "<end time, epoch milliseconds>",
"talkSeconds": "<talk time in seconds>"
}Send talkSeconds on every call. Sayvara counts a call from this node as answered only when the talk time is
above zero; if talkSeconds is missing, it needs agentId instead. A call without either is answered 202 with
not_answered and gets no survey, so a caller who hangs up in the queue is never surveyed.
- Make an answered test call. The call appears in Sayvara under Contacts.
The HTTP Request node cannot make the Sayvara-Signature. If signed triggers are on for your organisation, use the
relay below.
Relay for the task ended event
Subscribe a small relay to the task:ended event. The relay checks Webex's signature, then sends the event's body
unchanged to the same address with your API key and, when signed triggers are on, a Sayvara-Signature (see
Phone systems). Sayvara reads the call from the event's data. A task:ended
event without terminatingParty is an offer the agent did not answer while the customer still waits, so it gets no
survey.
How the call is read
| Sayvara | Webex Contact Center |
|---|---|
| Call id | interactionId |
| Customer number | ani (inbound) or dnis (outbound) |
| Answered | reason is not RONA or abandoned, and talkSeconds above zero (from the flow without talkSeconds: an agentId) |
| Channel | mediaType telephony; chats and email get no survey |
| End time | endedTime, else createdTime |
For the answers Sayvara gives, see Phone systems.
Was this page helpful?
Thanks. Need more help? Email support@sayvara.com