Chaining Adaptive Cards
Note
An Enterprise license or higher is required to access these features.
Note
Introduced in DC2023.01
An Adaptive Card can now be configured to trigger follow-up Adaptive Cards Adaptive Cards are preformatted boilerplate messages that can be selected by an agent to be sent to a client. They are written using an open card exchange format that allows the developers to 'write once' and share with any compliant host application, creating a chain of adaptive cards and allowing for more complex flows. This functionality is primarily useful for the pre-dialogue phase, where a customer can go through several adaptive cards before routing to an appropriate agent without needing a single oversized form. However, they can also be sent by the agent manually, or used in the post-dialogue phase. Follow-up Adaptive Cards can be set up in the response of the first/predecessor Adaptive Card. Once the Adaptive Card has been submitted, the next configured Adaptive Card(s) in its response will be activated.
As said, Adaptive cards can be used at three moments within a dialogue; before contact with an agent, during contact with an agent and after contact with an agent.
Dialogue Behavior
How to configure chained adaptive cards in SharePoint
The chain of an Adaptive Card can be set up by adding "AdaptiveCardIds" to each action in the Response column in SharePoint:
{
"Actions": [{
"Id": "Submit",
"TargetUris": [],
"Response": {
"Content": "This is a message",
"Type": "Message"
},
"AdaptiveCardIds": ["pick-department", "register"]
}]
}
In the above example the Adaptive Cards with the ids "pick-department" and "register" will be created and sent to the client after the action with the id "Submit" is activated.