Hi Waqar,
Yes, in most of our cases I believe the above solution would take care of things. Unfortunately we have one other Service Desk that typically records their up-front IVR message daily and it says something like "Today is Tuesday, Feb 7 and all systems are operational". Usually very short unless there is an outage or significant degradation event. In that case, they re-record this announcement and describe what is happening in the environment.
I was hoping checking the file size or length of that specific user prompt would allow us to only dynamically play the up-front message in the event of an outage.
If we can use a Data Action to pull back the length of the user prompt in question, then I believe we can use a Decision to determine whether to play or not? I very well may be over complicating things :)
If the data action works as such, then I think all I'd need would be an assist on the Expression to check if the User Prompt is > xx seconds. Play user prompt audio if true, do not play if false sorta thing.
Thanks again for all the feedback and great suggestions.
------------------------------
Shane
------------------------------
Original Message:
Sent: 02-07-2023 10:24
From: Waqar Mahmood
Subject: Conditionally playing an audio prompt within an In-queue flow
If I am understanding your use case correctly then you can achieve your objective simply by updating the prompt.
Would this solution achieve your objective?
1. Suppose the name of the prompt the Service Desk updates is OutageAlert. Start by uploading a .wav file that is 100ms silence to this prompt.
2. Play this prompt in both the main IVR and the inqueue flow using the Find User Prompt action (so you don't have to republish the flows each time you upload an audio file to the prompt in order for the changes to take effect). It gets played in each flow every time. It plays silence at the outset.
3. Service Desk uploads a .wav file with appropriate verbiage to OutageAlert whenever an issue arises. Now a caller hears this verbiage in both the main IVR and the inqueue flow as soon as the upload is complete.
4. Service Desk uploads the .wav file with 100ms silence when the issue is resolved. Now the caller hears 100ms silence in both flows.
------------------------------
Waqar Mahmood
Herbalife International of America, Inc.
------------------------------