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 / Create an array of all...
Power Automate
Answered

Create an array of all emails - To, From, CC, and BCC - Triggered by when a new email arrives

(0) ShareShare
ReportReport
Posted on by 87

I have a flow triggered by when a new email arrives

 

I need to create an array of all of the email addresses on that email - To, From, CC, and BCC

I am having some difficulty doing that 😞

 

Can someone please help? 🙂

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @nana001 

     

    Try this please

     

    image.png

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @nana001 

     

    This format is much better and flexible. If you have more than one recipients then it should be semi-colon separated. So in that case always add a split statement and append to array for To, From and BCC.

     

    image.png

  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @nana001 

     

    Please see below where I am using the split for 'To' recipients (more than one) and append to array.

     

    image.png

     

    Do the same for BCC as well for multiple recipients.

     

    If you have any more questions please let me know.

     

    Thanks

     

  • nana001 Profile Picture
    87 on at

    Thank you 🙂

  • tencentgolf Profile Picture
    4 on at

    I just tried this, and it did not work using ['To']. I looked at logs, and noted it is ['toRecipients'] and that worked.  Something for anyone on office 365 if having issues.

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 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard