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.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.