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 / Power Automate: Extrac...
Power Automate
Answered

Power Automate: Extract recipients from email

(0) ShareShare
ReportReport
Posted on by 12

Hi all,

I'm working on a Power Automate flow that saves all recipients (items in TO line only) as individual items in a SharePoint List. I've found numerous tutorials how to extract data from the mail body but none for the TO line in mail header.

 

Example: A new mail arrives in my inbox that has 3 recipients:

  1. amy@test.com
  2. josh@test.com
  3. joe@test.com

Upon completion of the flow I have 3 new entries in a SharePoint list with the names of the 3 mailadresses.

 

I'm ok with the first 2 parts of the flow (when new e-mail arrives, get e-mail) but struggle then.

 

Who can help? Much appreciated!

Bildschirmfoto 2023-10-15 um 21.02.15.png
Categories:
I have the same question (0)
  • Markus924 Profile Picture
    12 on at

    UPDATE: I've experimented with dynamic content 'To' and export this to an item but it leads to duplicate entries and it does not work with mails where there is more than 1 recipient.

  • Verified answer
    trice602 Profile Picture
    16,244 Super User 2026 Season 1 on at

    Hi @Markus924 ,

     

    I was able to take multiple email addresses from the To: field and create individual items in my SP List. Here's the flow:

     

    trice602_0-1697398400471.png

     

    My 2nd compose uses the split() expression:  

     

    split(outputs('Compose_2'),';')
     
    trice602_1-1697398455525.png

     

    Next I initialize an array variable.

     

    trice602_2-1697398515522.png

     

     

    Lastly,

     

    For each email address in my array, I create an item.

     

    trice602_3-1697398578711.png

     

     

     

  • trice602 Profile Picture
    16,244 Super User 2026 Season 1 on at

    Hi @Markus924 ,

     

    Also note, you don't need "Get Emails (V3)" action because the data you are working with is all contained in the trigger output.  Please also consider marking this reply as a solution also.

     

     

  • Markus924 Profile Picture
    12 on at

    Thanks, @trice602, this works perfectly well!

  • trice602 Profile Picture
    16,244 Super User 2026 Season 1 on at

    Hi @Markus924 ,

     

    Very nice!  Have a great day over there!

     

     

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 791

#2
Valantis Profile Picture

Valantis 582

#3
Haque Profile Picture

Haque 529

Last 30 days Overall leaderboard