{
type: "AdaptiveCard",
'$schema': "http://adaptivecards.io/schemas/adaptive-card.json",
version: "1.0",
body: [
{
type: "Container",
spacing: "Medium",
items: [
{
type: "ColumnSet",
columns: [
{
type: "Column",
width: "300px",
spacing: "Small",
separator: true,
verticalContentAlignment: "Top",
items:
[
{
type: "TextBlock",
text: "Common Actions",
size: "Large",
horizontalAlignment: "center",
weight: "bolder"
},
/*
{
type: "Input.text",
id: "fan",
isVisible: false,
value: "FAN"
},
*/
{
type: "ActionSet",
actions:
[
{
type: "Action.Submit",
title: "Find Customer Status",
role: "Button"
},
{
type: "Action.Submit",
title: "Find Billing Account Status",
mode: "Primary"
},
{
type: "Action.Submit",
title: "Find Customer Mapping for Billing Account",
mode: "Primary"
},
{
type: "Action.Submit",
title: "Find Finance Account Number",
mode: "Primary"
}
]
}
]
}
]
}
]
}
]
}
Edit 5/22/2024:
I'm using an Adaptive Card for the questions because I like the presentation it affords, i.e., vertical button list, and weighted headers.
I also anticipate taking advantage of other Adaptive Card features, so I'd like to continue using it. But if I have no other choice but to use a Basic Card, then I will be sad.... but I'll do it.
Edit 2 5/22/2024:
To be fair, I'm not sure that a Basic Card would work, but I think it is likely. I'll test it.
-- also, I updated the code above to read mode: "Primary" for each Action.Submit button. Previously it was role: "Button"
In the drop down below that says "Only selected topics", select the topic which would trigger based on the user's question. This way, user can either select a button on the Adaptive card or type in question or the related trigger phrase of the topic.
Please like and mark this as a solution, if that works for you.
Regards,
Sandeep.
Romain The Low-Code...
74
Pablo Roldan
61
stampcoin
10