Dynamic Slot will not do it. You are going to have to query the data action, get the values and then use some IF statements in the Communicate to show or not show different options. I don't think you will be able to do this easily with quick replies as we can't limit or expand the options available on the fly. I think just showing the buttons with the account and not specifying the labels could be possible. The other option is your web service could provide Debit Car ending in XXX as the response and use that with the Dynamic Slot and quick reply.
------------------------------
Robert Wakefield-Carl
Avtex Solutions, LLC
Contact Center Innovation Architect
https://www.Avtex.comhttps://RobertWC.Blogspot.com------------------------------
Original Message:
Sent: 10-27-2022 11:42
From: Clayton Curtis
Subject: Dynamic slot, dynamic response using variable
thanks Robert, here was actual requirement from business:
Which payment method would you like to use for this payment?
<button Bank account ending in XXXX and routing number ending in XXXX>
<button Debit card ending in XXXX>
<button Add new debit card for one-time payment>
<button Use different payment method>
------------------------------
Clayton Curtis
Enova Online Services, Inc.
Original Message:
Sent: 10-26-2022 22:03
From: Robert Wakefield-Carl
Subject: Dynamic slot, dynamic response using variable
I assume you are talking about slot quick replies, not buttons as in the digital menus. The concept of the dynamic slot is to have variability in the selections for recognition. I would suggest you change around your wording to be "please confirm which card below you want to make the payment to" or something like that. Then the slot will have the 4 digits of the possible cards. If you are only pulling back one card, then run the data action before a Yes/No tool and just display the result in the form of a question.
------------------------------
Robert Wakefield-Carl
Avtex Solutions, LLC
Contact Center Innovation Architect
https://www.Avtex.com
https://RobertWC.Blogspot.com
Original Message:
Sent: 10-26-2022 12:12
From: Clayton Curtis
Subject: Dynamic slot, dynamic response using variable
Our dynamic slot keeps failing, i want to make sure what we are trying is possible. Basically we are confirming payment with a few button responses. On of the buttons, we want to say "confirm your payment with credit card ending in {cc variable}"
For some reason when trying to use variable it fails. Thoughts?
#ArchitectureandDesign
#ConversationalAI(Bots,AgentAssist,etc.)
#DigitalChannels
#Implementation
------------------------------
Clayton Curtis
Enova Online Services, Inc.
------------------------------