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 / MS Form response to PD...
Power Automate
Unanswered

MS Form response to PDF issue

(0) ShareShare
ReportReport
Posted on by

Hi all, 

I am a newbie to power automate and have been trying create a PDF which the data from a MS form response but having difficulty having the data show up. 

So far what occurs is the PDF will create with no file name. When you open up the PDF it just has the form titles like this. 

Screenshot 2024-02-20 104648.png 

Can someone guide me to the following: 

1. Have the file name appear 

2. Have the form inputted data on the PDF?

 

Thanks in advance. 

Categories:
  • Santhosh Balakrishnan Profile Picture
    169 on at

    Check the below steps and let me know if this works for you.

     

    1)Start by setting up a trigger for your Microsoft Form using "When a new response is submitted".

     

    2)Retrieve the details of the form response using the "Get response details" action. This action helps to retrieve the individual answers submitted by the respondent.

    triggerOutputs()?['body/resourceData/responseId]

     

    3)Build HTML content on compose action to structure your PDF document. Utilize HTML tags to format the text and layout according to your preferences. Incorporate dynamic content from the form response to populate the HTML template.

    outputs('Design_html_template')

     

    4)Implement a 'Create File' action to generate a temporary html file with the customized html content on the previous action.

     

     

    5)Then utilize the 'Convert File using path' action to convert PDF.

    outputs('Create_file')?['body/Path']

     

    6)Now add 'Create File' action and  provide the File content from the before step and also add the Filename with extension.

    outputs('Create_file')?['body/NameNoExt']

    body('Convert_file_using_path')

     

    6)As a final step, include a 'Delete File' action to remove the html file since it is changed as a pdf.

    outputs('Create_file')?['body/Id']

     

    If this solution proves helpful and resolves your issue, kindly consider marking it as accepted. Doing so will aid others who encounter similar challenges in the future.


    Regards,
    Santhosh Balakrishnan
    Apps4.Pro - Trusted Office365 T2T Migration partner. Migrate Exchange, SharePoint, Microsoft Teams, Stream, Yammer, Power Platform between tenants.
    Product Specialist - http://www.apps4.pro/

    Pic 1.png
    Pic 2.png

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard