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 Automate - Building Flows
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? 🙂

I have the same question (0)
  • abm abm Profile Picture
    32,585 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,585 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,585 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 722 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 461 Moderator

#3
developerAJ Profile Picture

developerAJ 283

Last 30 days Overall leaderboard