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 / Create PDF from Micros...
Power Automate
Answered

Create PDF from Microsoft Forms via Power Automate

(0) ShareShare
ReportReport
Posted on 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!

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    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

     
  • Verified answer
    AnathiMj Profile Picture
    29 on at

    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

     

  • lua3wx Profile Picture
    9 on at

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

  • lua3wx Profile Picture
    9 on at

    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!

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 862

#2
Valantis Profile Picture

Valantis 738

#3
Haque Profile Picture

Haque 553

Last 30 days Overall leaderboard