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 Apps / Using Flow to send col...
Power Apps
Answered

Using Flow to send collection data in PowerApps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm building an app for our annual reviews and using collections so save local data for calculation purposes. At the end of the review i have a submi button that uses a Flow to send an mail. I want to be able to include the collection information that as selected throuhout the app in the email. I have multiple collections that would be included in the email.

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Could you please share a bit more about your scenario?

    Do you want to pass a Collection from your app to a flow, then embed it within the Body part of the email?

    If you want to pass a Collection from your app to a flow, then embed it within the Body part of the email, I afraid that there is no direct way to achieve your needs in PowerApps currently.

    Currently, Microsoft Flow only accepts String Text value as Parameter value passed from an app.

    As an alternative solution, you could consider take a try to concatenate values within the Collection into a Single one String value with a specific separator (e.g. #), then pass the Text String value from your app to the flow. Within the flow, you could use Split function to split the string value into an array value.

    Please check and see if the following blog would help in your scenario:

    https://www.techmikael.com/2017/05/saving-collection-of-images-from.html

    In addition, the user @mtxe32 has faced same needs with you, please check the response within the following thread:

    https://powerusers.microsoft.com/t5/General-Discussion/Using-Collection-Content-in-a-Flow/m-p/8677

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Kris,

     

    Thank you for response. I've looked through those posts before and ran into the same issues.

     

    I've switched to putting it into an html text and then running the html through the SendEmail function. This seems to work but it does not format properly and sends the html text and data instead of just the data. Also it seems to send 3 copies of the last data in the email.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Kris,

     

    I did some research and had to use the HTML route and was able to get my information out.

     

    Thank you for the support!

  • svijay_001 Profile Picture
    Microsoft Employee on at

    I was able to get this issue by using the JSON method in  powerapps. I have detailed it on the below article :

     
    The idea is to have the collection converted to JSON and parse the JSON object at the Flow end like any other JSON Object.
     
     
     

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard