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 / Sending 2 collections ...
Power Apps
Unanswered

Sending 2 collections to power automate

(0) ShareShare
ReportReport
Posted on by 340

Hi all,

I have an app where I am trying to send 2 collections to Power Automate.

da1ve_0-1683242160152.png

The first collection is a bunch of text inputs and 2 dropdown values.

The second collection is a Data Table (which is the output of a Gallery)

I have the actions of uploading to Power Automate working for each but would like to merge the 2.

 

This is my first onselect action

ClearCollect(colFiles, ShowColumns(AddColumns(Gallery2.AllItems, "Description", TextInput23.Text, "base64", With({varDemoFromAttachmentControl: JSON(Image8.Image,JSONFormat.IgnoreBinaryData)},Mid(varDemoFromAttachmentControl, Find(",", varDemoFromAttachmentControl)+1, Len(varDemoFromAttachmentControl) - Find(",", varDemoFromAttachmentControl) -1 ))), "Description", "base64", "Name") );
'Process-UploadMultipleFiles'.Run(JSON(colFiles,JSONFormat.IndentFour));
Clear(colFiles);
ClearCollect(
 varFileInfo,
 'Process-CreateFileTemplateAwithImage'.Run( 
 Dropdown6.Selected.Value,
 TextInput5.Text,
 Dropdown9.Selected.Value,
 TextInput10.Text,
 TextInput9.Text,
 TextInput12.Text,
 TextInput11.Text,
 TextInput19.Text,
 TextInput20.Text,
 TextInput14.Text
 )
);
Reset(AttachmentControl_1);
Reset(TextInput5);
Reset(TextInput14);
Reset(TextInput19);
Reset(TextInput20);
Reset(Dropdown6);
Reset(Dropdown9);
Notify("Success",NotificationType.Success);

This is my second onselect action 

ClearCollect(colSteps, ShowColumns(finalSteps, "stepTitle", "stepDetail"));
'Process-UploadTable'.Run(JSON(finalSteps,JSONFormat.IndentFour));
Clear(finalSteps)

In the end they would run using the same flow 'Process-UploadMultipleFiles'

In Power Automate after the PowerApps trigger action I have a Compose action

da1ve_1-1683242527712.png

da1ve_2-1683242689527.png

 

In this example above I have manually entered the first collections details but would like all of this to come through in one action

 

Thanks,
David

Categories:
I have the same question (0)

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 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard