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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create an array of all...
Power Automate
Unanswered

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,856 Most Valuable Professional on at
    Re: Create an array of all emails - To, From, CC, and BCC - Triggered by when a new email arrives

    Hi @nana001 

     

    Try this please

     

    image.png

  • abm abm Profile Picture
    32,856 Most Valuable Professional on at
    Re: Create an array of all emails - To, From, CC, and BCC - Triggered by when a new email arrives

    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,856 Most Valuable Professional on at
    Re: Create an array of all emails - To, From, CC, and BCC - Triggered by when a new email arrives

    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
    Re: Create an array of all emails - To, From, CC, and BCC - Triggered by when a new email arrives

    Thank you 🙂

  • tencentgolf Profile Picture
    4 on at
    Re: Create an array of all emails - To, From, CC, and BCC - Triggered by when a new email arrives

    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

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard