cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

Condition to check if TEAM channel already exists

I am working on flows to trigger actions as projects are added to a sharepoint list (or other sources) and would like creating a new list item to create a channel with the name of the project as the channel on an existing TEAM.  I figured out how to create an action to create the channel, but I would think I should check first with a condition to see if the channel already exists. 

Status: New
Comments
Level: Powered On

I tried using list Teams channels and then this condition on the output, but it keeps returning false when it should be true.  I have traced and I am getting back a list of channels and the one of the items displayName is the title:

 

@contains(items('Apply_to_each')?['displayName'], triggerBody()?['Title'])