Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  SSML - Variables

    Posted 06-05-2025 19:16

    Peter_Stoltenberg | 2024-05-03 23:57:42 UTC | #1

    Hello,

    I'm trying to use some SSML with dynamic values and wanted to see if I was missing something. I'm trying to wrap my variable in SSML within an expression in my Bot Flow, but am getting errors every iteration I try. Neither options below work.

    ToCommunicationSsml("<google:style name='calm'>", flow.var, "</google:style>")

    ToCommunicationSsml(<google:style name='calm'> flow.var </google:style>)

    If it's not supported, then that would be helpful to know.

    Thanks, Peter


    Peter_Stoltenberg | 2024-05-06 17:58:39 UTC | #2

    Ok got this figured out.

    Just needed to run everything an append statement in a previous update data step

    append("<google:style name='calm'>", flow.var, "</google:style>")

    then did the

    ToCommunicationSsml(Flow.appendVar)

    and it worked like a charm.


    system | 2024-06-06 17:59:11 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: 26086