cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tetralink
Frequent Visitor

Get PowerApps collection using Powerapps V2 trigger in Power Automate

Is there a way for the new Power Apps v2 to pull collections? Not practical to have two automate setups to accomplish pulling the collection and also input data. Just can't find any resource for v2 regarding collections.

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

Hi @Tetralink ,

 

I've made a test for your reference:

vbofengmsft_0-1664257068860.png

 

 

In Canvas  APP:

 

Flowname.Run(JSON(CollectonName))

 

vbofengmsft_2-1664257501374.png

 

vbofengmsft_3-1664257517766.png

 

Result:

vbofengmsft_1-1664257424529.png

 

Best Regards,

Bof

View solution in original post

gabibalaban
Dual Super User
Dual Super User

@Tetralink ,

Use JSON() function to convert to collection to a JSON string.

The string should be send to Power Automate as string parameter and inside the flow use a Parse JSON action to convert this to an array of objects similar to your collection.  

To obtain the JSON schema, use Generate from sample option of the Parse JSON action in power automate.

Hope it helps !

View solution in original post

3 REPLIES 3
v-bofeng-msft
Community Support
Community Support

Hi @Tetralink ,

 

I've made a test for your reference:

vbofengmsft_0-1664257068860.png

 

 

In Canvas  APP:

 

Flowname.Run(JSON(CollectonName))

 

vbofengmsft_2-1664257501374.png

 

vbofengmsft_3-1664257517766.png

 

Result:

vbofengmsft_1-1664257424529.png

 

Best Regards,

Bof

gabibalaban
Dual Super User
Dual Super User

@Tetralink ,

Use JSON() function to convert to collection to a JSON string.

The string should be send to Power Automate as string parameter and inside the flow use a Parse JSON action to convert this to an array of objects similar to your collection.  

To obtain the JSON schema, use Generate from sample option of the Parse JSON action in power automate.

Hope it helps !

Tetralink
Frequent Visitor

Thank you both! That answered my question!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,262)