Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Table of Contents

1.1. Flow example

An example flow can be seen in Figure 1.

Image RemovedImage Added

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

Info

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

View file
nameRequest a call back from the queue-schema.json
height150

1.1.1. Flow description

Component 

Block of component

 Component parameters

Description

Start

Image Modified


Start component
Answer

Image Modified

Image Modified

Connect subscriber to the system
Join Queue

Image Modified

Image Modified

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)

Image Modified

Image Modified

End the call

Playback

(branch 2)

Image Modified

Image Modified

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)

Image Modified

Image Modified

Check if the subscriber pressed the number 1.

This requires:

  • enter the condition in the "Expression" field:

${getIVR} == '1'


Hangup

(branch 2)

Image Modified

Image Modified

End the call

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




Trigger

Image Modified

Image Modified

Trigger to execute the flow after the end of the call
If

Image Modified

Image Modified

Check if the subscriber pressed the number 1.

This requires:

  • enter the condition in the "Expression" field:

${getIVR} == '1'

Member info

Image Modified

Image Modified

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

Image Modified

Image Modified

Check if this subscriber has a callback issued earlier.

This requires:

  • enter the condition in the "Expression" field:

!${member_exists}

Callback Queue

Image Modified

Image Modified

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