Legacy Dev Forum Posts

 View Only

Sign Up

If Else Audio Prompt Expression

  • 1.  If Else Audio Prompt Expression

    Posted 06-05-2025 19:15

    Michael_Guthrie | 2024-02-15 00:01:46 UTC | #1

    I want to create an audio prompt that does a comparison to determine if it should play prompt number 1, or prompt number 2. However, I'm not sure what the syntax is. Basically, I want to do this:

    If(Flow.Value > 1) ToAudio(Prompt.NumberOne) else ToAudio(Prompt.NumberTwo)

    I can set this up by using a Decision node instead, but that's just going to add unnecessary clutter to the flow.


    MelissaBailey | 2024-02-15 00:20:23 UTC | #2

    If(Flow.Value > 1, ToAudio(Prompt.NumberOne), ToAudio(Prompt.NumberTwo))


    system | 2024-03-17 00:20:30 UTC | #3

    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: 24655