Forum Discussion
Kelemvor333
Jun 27, 2019Iron Contributor
Can I have a form in a channel that will post in the conversations tab any time it gets filled out?
We have a recognition program at work where people currently fill out a paper form and turn it in and then generally post about it in Teams so everyone knows. We want to get rid of the paper form po...
MichaelLeeper
Sep 16, 2022Copper Contributor
This is what worked for me;
- Create a new flow that triggers when a new response is submitted
- The 2nd event is get response details, set the response id dynamic content to response id
- 3rd event is Post a message in a chat or channel
- You will need to format the message body to include your question/prompt followed by the dynamic content response
Hope this helps anyone trying to figure this out.
- Sarah_Jade_ASep 19, 2022Copper Contributor
Thanks, MichaelLeeper. I was able to figure it out by basing myself on a free template I found and its 3 steps are exactly as you describe. The trick is to make sure you input the correct form Id in the first 2 events, and once you get that right, the 3rd event will give you a pop-up so you can choose the dynamic fields from your form.
As a reference to others trying to do this, on the 3rd event called "Post adaptive card in chat or channel", I chose to Post as "Flow bot" and Post in "Channel". I then picked the Team and Chanel I wanted to post to, and then the code/formatting in the Adaptive Card field follows:
{ "type":"AdaptiveCard", "body": [ { "type": "TextBlock", "text": "place your cursor between the quotes here to get the popup", "size": "Medium", "spacing": "None", "wrap": true } ], "version": "1.2", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json" }