web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Workflow + Form Detail...
Power Automate
Answered

Workflow + Form Details + Post to Specific Channels in Teams

(0) ShareShare
ReportReport
Posted on by 8

Hey all, 

 

I'm trying to set conditions for a digital hall pass for high school using the following scenario: 

 

Students submit responses to a form that includes - first name, last name, destination, period of the class they are in (1-8). 

 

My current workflow is: 

When response submitted

Get Response Details (Response ID)

Post Message in chat or channel (User)

 

I am able to create the workflow currently to post all responses in a single channel but I am hoping to create conditions that would perform the following task. 

 

When response submitted

Get Response Details (Response ID)

If Period 1

Post Message in chat or channel (User) for Period 1

If Period 2

Post Message in chat or channel (User) for Period 2

 

What would be the most effective solution for this beyond creating individual forms for each period...Please explain it like I am 5.

 

Thank you!  

Categories:
I have the same question (0)
  • xxYYxx Profile Picture
    79 on at

    Hi @dclynch7 , 

    you wrote, that the studens are submitting in which period they are (1-8). 

    If so, you can grab this information and und use a switch control to assign the message to the correct teams. 

  • Verified answer
    MarcelLehmann Profile Picture
    378 on at

    I would recommend you somtething like this.
    there is your formsInput (trigger) then create a Compose with the text to post later.

    the use a switch with a concat expression to convert the number in a string with a letter -> cause if u just use a number, the switch can not read the 'Equals' (yes i know, this is stupid)

    then put the text in the equals and create for each classperiod a switch and there the teams action in whcih u can define.

    this would be the answer for you at the starting level (advanced would be an other answer - more variable)

    2023-04-11 23_12_58-Edit your flow _ Power Automate und 6 weitere Seiten - Privat – Microsoft​ Edge.png

  • dclynch7 Profile Picture
    8 on at

    That worked! I had a suspicion that numbers wouldn't work when doing the switch method so I am glad you followed up with the "numbers won't work" advice. I changed the form to be non-integers and worked immediately. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 274 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 175

#3
Haque Profile Picture

Haque 166

Last 30 days Overall leaderboard