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

Community site session details

Session Id : pRyNbB8+J/iW7gYw2iUK1j
Power Automate - Building Flows
Unanswered

Flow to post different messages in teams depending on folder and metadata

Like (1) ShareShare
ReportReport
Posted on 12 Jul 2024 20:16:15 by

 

Hello,

 

I am trying to design a flow that will post a message to different Teams channels when a release notes document is posted. I added a condition that is supposed to check for the folder (there will be five folders to check from) as well as the release status (two options).

 

Not sure if I am doing this correctly or what the best way to go about this is. My example is just testing for the first folder. A different message will be posted to two Teams channels depending on the folder as well as the release status chosen. My flow is not working though and I am not sure why. 

 

In the condition, it says folder path is relative to the site address. So, I've included the root folders. However, I've also just tried the subfolder without the root folders. Either way, when I test the flow it says it was a success but that the conditions were not met and so no message was posted. In my test, however, I did move a document to the correct folder and updated the release status metadata field. 

 

The flow does post the message if I trigger it from the desired folder and just have conditions for release notes. So, it must have something to do with the folder path condition.

 

JenG_1-1720815183479.png

JenG_3-1720815213977.png

 

Any help would be appreciated.

 

I have the same question (0)
  • JenG Profile Picture
    on 16 Jul 2024 at 15:31:00
    Re: Flow to post different messages in teams depending on folder and metadata

    Thank you for responding.

     

    The process is:
    -Document is posted to SharePoint library and metadata is updated.

    -Automation checks which folder document is posted in as well as what has been selected in the Release Status metadata column for that document.

    -Automation posts message to one of the five different Microsoft Teams channels. The message will be customized depending on which folder the document was posted in as well as which option was selected in Release Status column.

     

    There are five SharePoint library folders (Literature, Math, Reading, Science, and Social Studies) and two options in the Release Status metadata field (Advanced and Released).

     

    Examples:
    -If document was posted in Literature folder and Release Status was changed to Advanced, then specific message is posted to the Literature Teams channel saying Advanced Release Notes were posted to the Literature folder with link to document.

    -If document was posted to Math folder and Release Status metadata field was updated to Released, then specific message is posted to Math Teams channel saying that Release Notes were posted to Math folder with link to document.

     

  • Michael E. Gernaey Profile Picture
    48,938 Super User 2025 Season 2 on 12 Jul 2024 at 22:00:39
    Re: Flow to post different messages in teams depending on folder and metadata

    Hi @JenG 

     

    Can you please focus on what you want done etc. I removed all the other stuff as I am not sure from this what you want done. Please do a short write up on the Process you are trying to do, because thats what PA is a process. Then we can help you build the process.

     

    I am trying to design a flow that will post a message to different Teams channels when a release notes document is posted. I added a condition that is supposed to check for the folder (there will be five folders to check from) as well as the release status (two options).


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 736 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 396 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 339

Last 30 days Overall leaderboard
Loading complete