Hi Tharindu,
This can be achieved. You need to create a data table with a Boolean field lets say OnCall along with other details what you need in your data table like name, phone etc.
Now in your call flow after the initial task or greeting you can create a menu to select from the below choice. In the Submenu you can create tasks for Check OnCall and Update Oncall. In Check OnCall you can check who would be the OnCall person based on the True/False set in the data table.
In the Update OnCall you can update your data table based on the input given.
Now in your CheckOnCall Task, you can call your data Table and put a decision to check who is call based on the True/False value set for the OnCall field in the data Table and you can play it as a prompt.
Now when you want to update the OnCall list from the data table, you can make a decision to check the OnCall and then use an update data based on the row you want to update in the data table to be the OnCall.You will need to create a custom data action using /api/v2/flows/datatables/${input.DataTableId}/rows/${input.Id} inorder to update the OnCall.
PS: Recommend to set a pin and based on the pin you should update the Oncall so that the users having only the right PIN can update the details.
Please let me know in case its not clear to you.
------------------------------
Siddhartha Chopdar
Sabre GLBL Inc
------------------------------
Original Message:
Sent: 07-17-2024 00:51
From: Tharindu Perera
Subject: Update data table through Call flow using callers input (DTMF)
Hi Team ,
We have a requirement of turning on and off a call flow by dialing a DID number. My initial thought was creating a data table with a Boolean logic and if value is true go to on and if value is False go to the off. I can add this data table reference to our existing call flow.
My question is , Is there a way of update the data table value through another call flow.
Use case is : Call center admins should be able to dial a number , and the call needs to play the current value and then give an option to set the value using DTMF(press 1 to set the value true or press 2 set the value false) .
Much appreciate if someone can provide a sample to do this.
Thanks ,
TP
#ArchitectureandDesign
#Routing(ACD/IVR)
------------------------------
Tharindu Perera
The Vanguard Group, Inc.
------------------------------