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 / Merge PDFs using 2 or ...
Power Automate
Answered

Merge PDFs using 2 or multiple variables in Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 21

Hello,

I'm trying to merge 2 documents using variables but the syntax is not working. Its recognizing the 2 variables as one text even though the delimiter , is used.

SimaC_0-1692181916662.png

 

The error message:

 

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: File '[here was the combined file pats]' doesn't exist
 at Microsoft.Flow.RPA.Desktop.Modules.PDF.Actions.MergePDFFilesAction.Execute(ActionContext context)
 at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 



Syntax used in PDF Files: %PDF_1%,%PDF_2%

Any thoughts on this?


I have the same question (0)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The action expects a list. Try using %[PDF_1,PDF_2]% to send it as a list.

    -------------------------------------------------------------------------

    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

     

  • Sima-C Profile Picture
    21 on at

    Thank you!

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    It seems like @Agnius got this solved for you.

     

    As a point of reference in future issues, hover over the "i" icon to see proper parameters or syntax.  Another tool that is helpful is the "More info" link at the top which takes you to the specific documentation.

     

    MichaelAnnis_0-1692198999400.png

     

    Best of luck!

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard