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 / Get outputs from Do-Until
Power Automate
Suggested Answer

Get outputs from Do-Until

(1) ShareShare
ReportReport
Posted on by 280
Good day experts! Asking for your help on how I can extract or get the final outputs outside Do-Until?
For context, I have selected the email ids from get items then would like to send an email to distinct email ids only. thus, my send an email action is outside the Do-Until to avoid multiple send out. Thank you in advance!
Categories:
I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    16,277 Super User 2026 Season 1 on at
    Hi,
     
    Yes, inside your Do-until loop, add an action append string variable (as an example if you are capturing email addresses inside your do-until loop).  Then outside your Do-until loop, in your send email action, you can reference the variable you have been appending values to outside the loop.
     
    This doesn't have to a string variable, could also be an array depending on what you are doing inside your loop.

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

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

  • scorpio24 Profile Picture
    280 on at
    Hi @trice602, tried using append to array however, the results are not adding up, it's just replacing the values like set variable. Sample is when my do until loop had 10 actions, the last output it captures is just the 10th and not getting 1-9
  • trice602 Profile Picture
    16,277 Super User 2026 Season 1 on at
    Hey there!
     
    I am following up on this post get outputs from do-until in this category building flows from 02/02/2025.  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 2 replies and 1 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 replies 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,277 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 411

#2
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard