Actions
Adaptive Cards have a wide range of actions that can be triggered in a few different ways.
Last updated
Adaptive Cards have a wide range of actions that can be triggered in a few different ways.
Last updated
There are a few ways to trigger the following actions. Options range from a standard button from inside an or an :
Adding the ActionSet to your Adaptive Card and selecting "Add an action" from the
Adding an and selecting an Action Type from the dropdown menu within the .
Selecting a column from a and selecting an Action Type from the dropdown menu within the .
Selecting a TableCell from a and selecting an Action Type from the dropdown menu within the .
Add actions directly onto the card by selecting the and clicking "Add an action".
A simple action that will open whatever URL you put in the "Url" parameter in the .
Acts as the main action button for sending data back to Looply.
Use this action for "Approving" or "Rejecting" cards or if your card contains Input Elements where the data you want to use will be sent to your Looply Workflow. When a user clicks on this action any data bound to the action is sent back to Looply as well.
For example, a card that is of this shape:
This action will trigger a new card to appear within your current card. This is perfect if you don't want to show aspects of your card until the end user clicks on this action. A common use case for this is if a user wants to reject a card yet if they reject will have to supply a reason.
Here's an example below:
This is a simple action that will show and hide select elements within the adaptive card.
The above card has 2 fields and an Action.Submit action. If both fields are filled and the button is clicked then the data sent to Looply will look like this:
The above is a card with a "Reject" button that if clicked will show an where they will have to select a value to send back to Looply in order to reject the card.
Note: Data from inputs in this nested card will still be sent back to Looply as there is an button connected. Data sent to Looply will follow the same principles as shown in the section.
This action provides no use within Looply and should not be used. This action is useful if the card is implemented on an independent system from Microsoft Teams where a developer will independently make an invoke call to a Microsoft Bot/App. This button is identical in design to the action yet the data is not automatically sent anywhere as this process is independently implemented by the hosting app.