All articles on Zendesk
Handovers to the Zendesk Agent Workspace might not be always successful since the agent could be offline at the moment. In this case, a fallback scenario must be taken into account. This tutorial explains how to request a callback from a Zendesk Agent in order to be called back later.
Table of Contents
Retrieve Zendesk Talk phone lines
Before the virtual agent can actually request a callback, a correct and valid number from Zendesk Talk must be selected. If this process should be dynamic, the Get Phone Numbers Flow Node can be used. The Node's result returns a list consisting of all Zendesk Talk lines:
"name": "+1 (234) 567-7890",
"display_number": "+1 (234) 567-7890",
If the result is stored in the Context:
Next to this value, a Gallery or List message could let the user select the preferred number -- e.g. different numbers for different countries. Therefore, the country_code, number, or display_number value would fit.
Request the Callback
With the preferred and valid Zendesk Talk phone number in place, the actual callback can be requested. Accordingly, the Request Callback Node must be added to the Flow and edited:
In the example from above, the Zendesk Talk phone number is extracted from the Context, based on the Get Phone Numbers Node' result. Next to this, the user's phone number is inserted with a so-called Token. The number could be collected with a question or any other data source during the previous conversation. As soon as this Node is executed, the online Zendesk Agent will see the following request inside of the Agent Workspace: