Bot flow - To Communication - Feature not available

Hello,

I am currently building a Bot Flow in Genesys Cloud Architect.

I'm trying to make a string play characters by characters. E.g. "12345" as "1 (pause) 2 (pause) 3 (pause) ...) instead of "twelve thousand three hundred and forty-five".

I'm aware that different TTS engine might give different outcome, but is there a way to force it?

I've seen this function :

Where I could use ToCommunication("12345", Format.String.playChars), but even though it is in the documentation, it doesn't seem to be available in Architect (Bot Flow).

Here is the error message I receive:

Here are the functions I can use, but that are not what I am looking for:
image

Note: I'm using Google Cloud TTS integration.

Thanks a lot,
Leandre

Hi,

Can you try the following:

If(IsNotSetOrEmpty(Flow.myString), "", ToString(Split(Flow.myString, ""), " "))

would return "1 2 3 4" if Flow.myString was "1234"

Let me know if your still stuck.

Nicola

Hello,

That seems to be a great workaround, thanks!

Leandre

Just another way to do it.
If its captured as an integer then instead of an expression just use a Data type (or just convert it first)
Then once you have selected the variable on the right it will display options, and you can select what you want eg say each digit, or say entire value etc.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.