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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract Multiple Items...
Power Automate
Unanswered

Extract Multiple Items From Array.

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I am using a trigger "When a new email arrives" which contains data in form shape. Next i am using "Compose" action to split email into an array, which outputs something like this:

 

Note that there are multiple products in email.

 

split004.PNG

 

Next i am extracting data with their specific name like:

 

split005.PNG

 

split001.PNG

 

 

In last  i am using "Compose" action to index my name or company etc. Extracting one item is easy. But as you can see above, i have multiple items in product section. What i need is to extract both product id in loop.

 

This is what i am getting, as you can see loop considers both lines,  it only gives first id both times

  

split003.PNGsplit002.PNG

 

 

can someone please help me on this? How this is possible to get multiple items?

 

Thanks

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    @Anonymous 

     

    I assume you want bot the items as a single string

     

    • Try to 'Initialize a variable out of the loop.
    • User 'Append to string variable'.
    • Outside the loop use variable.

    CFernandes_1-1599720198540.png

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    Thank you CFernandes for your response,

     

    So far I have managed to to filter items.

     

    Here you can see the following:

     

    split007.PNGsplit008.PNG

     

    Problem is, I have to use product items like name, id and qty to create a multiple records list. 

     

    Is there any possible way to use these items (name, id and qty) for creating record list like in loops?

     

    Thanks

     

  • louis_J Profile Picture
    12 on at

    Is there a way to do this without a loop?

  • Chriddle Profile Picture
    8,443 Super User 2025 Season 2 on at

    You should show us the original data from the email (before splitting, etc). Is it HTML?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard