@tuba There are a few ways to accomplish this but the way that I would probably do it off the top of my head is to use an option set. Create an option set that has an option for each type of prompt. On each option I would have an attribute for the prompt (text attribute) and I would either use the option set display for storing the button text or you could create another custom attribute for that if you want. Then on the UI I would add a repeating group and drop a button on it and make the data source of the repeating group your option set. This will create a button on the screen for every option in your option set. Then you just wire the option sets button text to your button by making the data source the current cells options button text and then viola you have 3 buttons with 3 different labels from your option set. When a user clicks the button on your workflow you would just use the current cells options prompt as the dynamic data for your API call to the completions API. Hope this helps.

1 Like