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 / Trigger Power Apps (V2)
Power Apps
Unanswered

Trigger Power Apps (V2)

(0) ShareShare
ReportReport
Posted on by 353

Hi All,

 

I have a sheet in Power Apps where I need to create a PDF file with two images by starting a flow in Power Automate from the PDF icon. The name of the file that will be generated is entered into Power Apps through a text entry.

 

Francisco77_0-1695907025050.png

My Power Automate flow starts with a Power Apps (V2) trigger.

 

Francisco77_0-1695907580094.png

 

 

What should be the formula for the PDF icon in Power Apps so that it takes the two images and the title?.

 

FlowName.Run(????)

- TextInput is the entry name = Input in Power Apps (V2)

- Upload1 is the image 1 = File Content in Power Apps (V2)

- Upload2 is the image 2 = File Content Apps (V2)

 

Thanks¡

Categories:
  • JasonZF Profile Picture
    572 on at

    Here is how I send files to Power Automate. If the names of the images being sent aren't really being used anywhere, you can name them whatever you want.

    FlowName.Run(
     TextInput1.Text,
     {
     file: {
     contentBytes: Image1.Image,
     name: SomeSortofName
     }
     },
     {
     file: {
     contentBytes: Image2.Image,
     name: SomeSortofName2
     }
     }
    )

     

  • Francisco77 Profile Picture
    353 on at

    Hi @JasonWS 

     

    I see the follow error in the formula, what could it be due to?.

     

    Francisco77_0-1695910496486.png

    Thanks¡

  • JasonZF Profile Picture
    572 on at

    Your second image does not have quotes around its name.

  • Francisco77 Profile Picture
    353 on at

    Thanks but apparently that's not the problem. The error message continues: "Invalid number of arguments, 3 received, 1 or 2 expected".

  • JasonZF Profile Picture
    572 on at

    Forgive the delayed reply. I think I've seen this error before when I have some of the inputs in Power Automate marked as "not required." This may be the issue. If you indeed don't always provide both images, perhaps one can be supplied with blank values.

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard