Composer 8.1.4 - dynamically change prompt "Interpret-As"

hi,
I’m Using a variable that can hold an http path ( file.wav ) or a text to recite…
Can I dynamically change “Interpret-As” of a prompt ??

Regards

No but you can put the text as an alternative to the wav file in case it is not found. Just check the prompt block properties

Enviado de meu E6633 usando Tapatalk

It is not what I would do. The prompt has the ‘type’ → ‘Variable’ and this variable may reference a file.wav or a text … So the only way is to use a branch and send the flow to two different prompt. One with ‘interpret-As’ → ‘Audio’ and one with ‘interpret-As’ → ‘Text’ it based on the contents of the variable? :cry:

Or build your own prompt via VXML code. Use a backend for that.