The use case is this:
The Adaptive Card has a button that asks the user to confirm they have read the text on the card, we are using a flow to store UPN, timestamp, TeamName and EventDetails into a SPO list. We want to use a webhook to trigger the flow in item 3, but you are limited what you can do with Adaptive Card buttons. We cannot get the Adaptive Card Action.Submit button to trigger the flow (I cannot use Action.OpenURL as we do not want a browser session). It may well be this is not possible? It must be to do with the way the Action.Submit is processed because the webhook URL works perfectly when executed from Postman.
I cannot find any reference to someone using a button to invoke a webhook, does that mean this cannot be done?
Could you not just use post an adaptive card and wait for a response. When the reponse is received write the timestamp etc. It's all part of the original flow then?
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
P.S. take a look at my new blog here
We started off by using the "Post an Adaptive Card to a Teams user and wait for a response" action, but we need to store a specific set of info for audit purposes. It must be a simple button press so the user has positively confirmed they understand the text on the card.
@MrNigel worth a look at Tomasz's site. He does a lot with Adaptive cards and you might be able to find what you are looking for here.
...been there and done that as well! The challenge is that the adaptive card is not generated by a flow, it is from an external app raising an alert via a SQL trigger. We have 300,000+ users who get these alerts so do NOT want to use a flow for anything other than registering the button press.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.