cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Teams adaptive card response to POST a HTTP request and trigger another Flow

Hi all,

 

I'm looking to build a flow that sends an adaptive card to a user where the responses will be able to POST a HTTP request and trigger another Flow as the end point with the "HTTP Request" trigger.

Would like to know if there's any way to do this?

 

For example, when a user receive the adaptive card below and selects any of the action items, I want this response to be sent to trigger another flow via HTTP request.

Thanks!

 

123.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver II
Resolver II

Re: Teams adaptive card response to POST a HTTP request and trigger another Flow

@Justjuice 

 

Following is what I learn after few hours trial. hope it help you.  I almost finished and I think it would work. Point is Get your team channel's email address and use Office 365 outlook to send actionable message to this email. 

 

 1.   "Actionable Message" can not be send directly to team , and there is a ideas register for this.

     https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Post-a-Actionable-Message-to-Microsoft-Team...

 

2. You can do it indirectly as I mention above , I refer following blog, I was able to test it in outlook. 

 

     https://ashiqf.com/2020/01/12/actionable-outlook-message-using-adaptive-card-connected-to-sharepoint...

 

-> I did test it also at team and message posted at team channel but Card was removed because  if sender and receiver is same , Card will be display, if not the same you need to register you card to [ Actionable Email Developer Dashboard] in order to let you card be able to display for others.  which is also mentioned in above blog. 

 

and following is URL that I think may useful

 

  Actionable message Designer: https://amdesigner.azurewebsites.net/

  legacy actionable message card : https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#card-examples

    

View solution in original post

6 REPLIES 6
Highlighted
Resolver II
Resolver II

Re: Teams adaptive card response to POST a HTTP request and trigger another Flow

Following need premium connector "Http", is that what you want ?

 

1. button to submit data back to flow.

 

card.png

 

2. call http to trigger http trigger flow after response from team.

 

callHttpAfterCardResponse.png

 

 

Highlighted
Frequent Visitor

Re: Teams adaptive card response to POST a HTTP request and trigger another Flow

Hi MinRao,

 

Thanks for the quick response!

Actually, I'm referencing this article below, where the adaptive card is sent via outlook and when the receiver clicks an action, this action will trigger a HTTP request, with the trigger shown in the last screen shot:
https://www.about365.nl/2018/08/17/custom-actionable-messages-with-microsoft-flow-part-2-getting-the...

123.PNG

 

456.PNG

 

789.PNG

 

 

Your suggestion looks feasible and let me try to explore it as well!

Thank you for your reply (:

Highlighted
Resolver II
Resolver II

Re: Teams adaptive card response to POST a HTTP request and trigger another Flow

@Justjuice  Please accepted as solution for other to refer in the future if that help you, thanks.

Highlighted
Frequent Visitor

Re: Teams adaptive card response to POST a HTTP request and trigger another Flow

Hi MinRao,

 

I think your method works well to trigger another flow.

My main goal is to update Teams adaptive card when a response is received or when the card has timed-out.

Do you have a way to do that?

 

I read about this in the website below where the user's response will send a http POST action to Flow to trigger an update on the card (e.g. Thank you for your response!) , but I am having trouble doing it for Teams:

https://www.about365.nl/2019/05/01/custom-actionable-messages-with-microsoft-flow-update/

 

I hope that explains my issue clear enough....

Many thanks!

 

Highlighted
Resolver II
Resolver II

Re: Teams adaptive card response to POST a HTTP request and trigger another Flow

@Justjuice 

 

Following is what I learn after few hours trial. hope it help you.  I almost finished and I think it would work. Point is Get your team channel's email address and use Office 365 outlook to send actionable message to this email. 

 

 1.   "Actionable Message" can not be send directly to team , and there is a ideas register for this.

     https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Post-a-Actionable-Message-to-Microsoft-Team...

 

2. You can do it indirectly as I mention above , I refer following blog, I was able to test it in outlook. 

 

     https://ashiqf.com/2020/01/12/actionable-outlook-message-using-adaptive-card-connected-to-sharepoint...

 

-> I did test it also at team and message posted at team channel but Card was removed because  if sender and receiver is same , Card will be display, if not the same you need to register you card to [ Actionable Email Developer Dashboard] in order to let you card be able to display for others.  which is also mentioned in above blog. 

 

and following is URL that I think may useful

 

  Actionable message Designer: https://amdesigner.azurewebsites.net/

  legacy actionable message card : https://docs.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#card-examples

    

View solution in original post

Highlighted
Frequent Visitor

Re: Teams adaptive card response to POST a HTTP request and trigger another Flow

Thank you so much MinRao!
Wow let me study this over the weekend and get back to you! 😁

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (9,344)