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 / How to initialize Vari...
Power Automate
Answered

How to initialize Variable as Array with PowerApps Data?

(0) ShareShare
ReportReport
Posted on by 110

Hey guys,

 

in my Flow-Process I want to pull some datafields from PowerApps and use it to populate a Word template (This works so far).

 

Problem is that there can be up to 63 data fields from PowerApps and I don't want to initialize a single variable for each of these fields. My goal is to save all these PowerApp-Inputs in one variable (from the type array) and then pick these Array values (which represent the PowerApps datafields) in the "Populate a Microsoft Word template.

Right now I have no Idea whether this is possible or not and I also don't know how to implement this in Flow...

 

Any help is appreciated!
Thanks in advance!

 

Julian

Categories:
  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    Hi @julianhoewel_95 

     

    In PowerApps, you can create a record or a collection and then use the JSON function and pass the data over to Flow 

     

    JSON makes the record or collection in JSON format

     

    then in Flow you can read the variable as a string

    Then use the json expression to get the object and then traverse through it

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard