JuanCarlos | 2023-09-12 11:10:54 UTC | #1
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
Jason_Mathison | 2023-09-12 14:37:40 UTC | #2
While there might be a solution out there, I would recommend voting for
https://genesyscloud.ideas.aha.io/ideas/OP-I-337
to add velocity DateTool support to data actions.
JuanCarlos | 2023-09-18 06:12:17 UTC | #3
Thanks for your answer I have already voted, an interesting option appears to be able to transform date data
system | 2023-10-19 06:13:03 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 21951