Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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!  

  • dclynch7 Profile Picture
    8 on at
    Re: Workflow + Form Details + Post to Specific Channels in Teams

    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. 

  • Verified answer
    MarcelLehmann Profile Picture
    376 on at
    Re: Workflow + Form Details + Post to Specific Channels in Teams

    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

  • xxYYxx Profile Picture
    79 on at
    Re: Workflow + Form Details + Post to Specific Channels in Teams

    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. 

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492