Request a call back from the queue

1. Description

Task of the flow:

The subscriber is standing in queue. You need to invite him to press "1" to request a call back.

1.1. Flow example

An example flow can be seen in Figure 1.

Fig. 1. Flow of  request a call back from the queue

For convenience, you can download the completed JSON file, which is attached below, and import it. 

1.1.1. Flow description

Component 

Block of component

 Component parameters

Description

Component 

Block of component

 Component parameters

Description

Start



Start component

Answer

Connect subscriber to the system

Join Queue

Redirect the subscriber to the "Telemarketing" queue.

Select the required queue in the "Queue" field.

Set a timer to play an offer to request a call back (Timer1):

  • press the "Add Timer" button;

  • in the "Interval (sec)" field, enter the time (in seconds). After this time, the record selected using the “Playback” component will be played;

  • enter the number of playback repetitions, in the "Tries" field.

Hangup

(branch 1)

End the call

Playback

(branch 2)

Play a file with a suggestion to press "1" to order a  call back.

This requires:

  • select "media" in the "File type" field;

  • select the file that contains the offer to order a back call by pressing "1" in the "Media" field that appears, 

  • switch "Get digits" to the active position;

  •  value - 1 in the fields "Min" and "Max";

  • Set the name of the variable in which the value selected by the subscriber will be written  in the "Set result to variable" field . In this example, getIVR

If

(branch 2)

Check if the subscriber pressed the number 1.

This requires:

  • enter the condition in the "Expression" field:

${getIVR} == '1'



Hangup

(branch 2)

End the call

It is necessary to move the "Break" switch to the active position.









Trigger

Trigger to execute the flow after the end of the call

If

Check if the subscriber pressed the number 1.

This requires:

  • enter the condition in the "Expression" field:

${getIVR} == '1'

Member info

Search for information on the subscriber.

This requires:

  • Enter the subscriber's number in the "Destination" field. In the example, it is taken from the variable - ${caller_id_number} ;

  • select the queue in the "Queues" field in which the scan will be performed;

  • enter in the "Set" element:

 member_exists - id

If

Check if this subscriber has a callback issued earlier.

This requires:

  • enter the condition in the "Expression" field:

!${member_exists}

Callback Queue

Create a call back.

This requires:

  • select the queue from which the call back  will be made in the "Queue" field,

  • in the "Hold (sec)" field, enter the number of seconds after which you want to call back;

  •  enter the subscriber's number in the "Destination" field. In the example it is passed to the "${caller_id_number}" variable

  • select the type of communication in the field "Communication type" . In the example, "Mobile" is selected;

  • enter the next data in the "Set variables" element to display to the operator information that the subscriber has left a request for a call back :

Source - Call Me Back