Skip to main content
Community site session details

Community site session details

Session Id : 1tDClU+UnWomw9KeV3zjhD
Power Automate - General Discussion
Answered

Create PDF from Microsoft Forms via Power Automate

Like (0) ShareShare
ReportReport
Posted on 15 Apr 2024 05:47:10 by 9

Hello,

I would like to build an automated flow to create pdf when got feedback from Microsoft forms. This flow the first run was successful, and the subsequent tests all reported errors as below. 

 

lua3wx_0-1713159092451.png

Other question, the file was created on OneDrive is not pdf, because convert file is preview? 

 

Thanks in advance!

  • lua3wx Profile Picture
    9 on 15 Apr 2024 at 07:48:05
    Re: Create PDF from Microsoft Forms via Power Automate

    The flow runs succeeded after deleting one parameter. I am not clear why is 3 parameters instead of 4 parameters required as Microsoft document mentioned.

    Thank you!

     

  • lua3wx Profile Picture
    9 on 15 Apr 2024 at 07:45:50
    Re: Create PDF from Microsoft Forms via Power Automate

    Thanks for your prompt feedback. The flow runs succeeded after deleting one parameter.

  • Verified answer
    AnathiMj Profile Picture
    29 on 15 Apr 2024 at 07:20:33
    Re: Create PDF from Microsoft Forms via Power Automate

    Good day 

    According to the screenshot of the error, you are passing 4 parameters instead of 3 parameters for the "Replace" function kindly check the screenshot below to see how the replace function works.

    AnathiMj_0-1713165623344.png

     

  • v-yueyun-msft Profile Picture
    on 15 Apr 2024 at 05:51:05
    Re: Create PDF from Microsoft Forms via Power Automate

    Hi , @lua3wx 

    The error code means that you need to convert the first parameter which in replace() function to String type.

    replace(  string(body('Create_HTML_table')) , .......)
     

    Best Regards,

    Yueyun Zhang

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete