Hello
We have a call overflow system, in which if a client does not want to wait for a call to be answered, they can ask you to call them.
This system uploads a record to a contact list that we subsequently manage through a campaign
The problem we have is that duplicate records are loaded in this contact list, if the customer requests that we call them more than once
We want to create a data action, to be able to create a call rule that prior to the call, check the contact list and see if that client has already called you, if their phone number is duplicate
We have a data action (Get Conversations by DNIS) that what it does is look at whether or not a phone number has called us since in a given time interval
Our idea is to modify this data action so that as the phone number it takes the one that is in the contact list and as intervals, the date that is in the contact list (registration date) and the current date
In order to check whether the client has called us again or not and let the record go to a telephone agent or not.
I leave the data action code in case you can help us modify them
Request body template
{
"interval": "${input.Date}",
"order": "asc",
"orderBy": "conversationStart",
"paging": {
"pageSize": 25,
"pageNumber": 1
},
"segmentFilters": [
{
"type": "and",
"predicates": [
{
"type": "dimension",
"dimension": "dnis",
"operator": "matches",
"value": "${input.DNIS}"
}
]
}
]
}
Thank you all