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 / Using Compose Items In...
Power Automate
Unanswered

Using Compose Items In For Each

(2) ShareShare
ReportReport
Posted on by

I have a compose action which gets all of the unique titles in a list. The output of running the flow is shown below (I've blanked out the names for confidentiality purposes, but each one shows something like {"Title": "Lastname, Firstname MiddleInitial"}). I want to evaluate each of these individually in a For Each, but the flow sees them all as a single string.

 

cmitchener_0-1721159373123.png

 

Categories:
I have the same question (0)
  • trice602 Profile Picture
    16,048 Super User 2026 Season 1 on at

    Hi @cmitchener ,

     

    You could use a Parse JSON action below this and give it an example to work with by pasting in the JSON above. This will allow you to work with each "Title" inside a for_each loop with your desired conditions.

     

     

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at
    What is your desired output?
     
  • Nock Profile Picture
    42 on at
    The easiest way to solve this would be to add a Parse JSON activity like this. The content would be the Output of your Compose action and then, you should click 'Generate from sample' to paste the body content of your Compose:
     
     
     
    Then, you can add an Apply to each activity to iterate every single Title. However, this apply to each will generate another Apply to each for the body content as follows:
     
     
    I hope you find this reply useful. Thanks for your feedback!
  • trice602 Profile Picture
    16,048 Super User 2026 Season 1 on at
    Hey there!
     
    I am following up on this post using compose items in for each in this category general discussion from 07/16/2024.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 3 replies and 2 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more relies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    16,048 Super User 2026 Season 1 on at
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard