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 / repeating flow steps f...
Power Automate
Unanswered

repeating flow steps for data extraction from email to excel

(0) ShareShare
ReportReport
Posted on by 2

I just finished my first flow. It extracts data out of an email and populates an excel spreadsheet.  The one piece I can't figure out is how to make some of the flow steps repeat when there are multiple sets of data in a single email.  For example, i'm tracking order numbers, part numbers and error messages.  one order may only contain data for a single part where the next order may have data for five part numbers.

 

thanks in advance for your help!

 

Categories:
I have the same question (0)
  • harshdeol Profile Picture
    619 Super User 2026 Season 1 on at

    Hi @crylo678 ,


    You can use loops to repeat certain steps based on a condition. Please use the "Apply to Each" Action to iterate over the extracted data. This is where you handle scenarios where there are multiple sets of data in a single email.

     

    If you will provide the more details, I will be happy to help you further.

    ---------------------------------------------------------------------------------------------------------------------

    If your question got an answer, please click "Accept as Solution "✅, If you liked my answer, please hit the "thumbs-up" 👍button.

    Thank you,
    Harsh Deol 

  • crylo678 Profile Picture
    2 on at

    here is a snip of my flow, first step was when an email is received.  I need the apply to each to occur for all of these compose steps as well as the add row to excel.  Does the apply to each go at the beginning or at the end?  

    crylo678_0-1705938154666.png

     

  • harshdeol Profile Picture
    619 Super User 2026 Season 1 on at

    Hi @crylo678 ,

    Please add the "Apply to each" in the beginning and configure it to iterate on Array values. All the required Actions should be inside the Apply to each. For more information, please refer to following Microsoft documentation: Use the apply to each action in Power Automate to loop through an array of items. (contains video) - Power Automate | Microsoft Learn

     

     

    -------------------------------------------------------------------------------------------------------------------------

    If your question got an answer, please click "Accept as Solution "✅, If you liked my answer, please hit the "thumbs-up" 👍button.

     

    Thank you,
    Harsh Deol

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard