sidd3443 | 2023-04-24 06:19:18 UTC | #1
Based on data we are getting back from an API we want to dynamically create the menu choices. For example if we get 3 items back we would like to dynamically play something like this. For X press 1 , For Y press 2 For Z press 3. Using expression editor can you dynamically populate a Prompt Collection? Or do you have another idea on how to do this.
Thanks Sidd
sidd3443 | 2023-04-24 06:20:39 UTC | #2
I am fairly new to Architect so can someone please elaborate the best approach for this? And if this is feasible?
Kevin_Walsh | 2023-04-25 13:47:04 UTC | #3
Hello,
Within bot flows/ digital bot flows you could use a Dynamic Slot to build and present the options to the user. I've pulled together a small example, which you could build upon. It's based more on a text interaction to show the result:
But the import part is to use the Synonyms with the dynamic list to assign the synonyms "one" and "1" to the fist menu option, so when the user specifies 1 it picks the correct option.
And we just build up the variables used before the ask for slot action:
Note: within the flow I've limited the number of menu options to five (which you can change if required).
Hope this helps,
Kevin
Dynamic Menu Demo.yml|attachment (6.9 KB)
sidd3443 | 2023-04-26 06:37:30 UTC | #4
Appreciate for the reply.
We will not be using the Genesys Bot for the Inbound Call Flow. Is this possible for the simple Inbound Call Flow?
Regards Sidd
Kevin_Walsh | 2023-04-26 08:52:33 UTC | #5
I think you can find more information in this post on what you can do within Inbound Call Flows: https://developer.genesys.cloud/forum/t/dynamically-build-a-prompt-collection/5121
system | 2023-05-27 08:53:10 UTC | #6
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: 19598