web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Suggested Answer

MS Form

(0) ShareShare
ReportReport
Posted on by 2
 
 

Here is the intended workflow:

 

  • A Microsoft Form will be made available via a SharePoint link.

  • Users will access the form, complete the required fields, and provide their signature digitally.

  • Upon submission, the completed form along with the e-signature should be automatically saved PDF to a designated SharePoint folder.

Categories:
I have the same question (0)
  • Suggested answer
    Riyaz_riz11 Profile Picture
    3,891 Super User 2025 Season 2 on at
    Hi,
     

    Step 1: Trigger - Microsoft Form Submission

    1. Trigger: When a new response is submitted (Microsoft Forms).

    2. Get response details: Use Get response details action.

     Step 2: Convert Form Response to HTML

    You’ll build an HTML representation of the form submission.

    Example:

    <html>
    <body>
    <h2>Form Submission</h2>
    <p><strong>Name:</strong> @{outputs('Get_response_details')?['body/Name']}</p>
    <p><strong>Email:</strong> @{outputs('Get_response_details')?['body/Email']}</p>
    <p><strong>Comments:</strong> @{outputs('Get_response_details')?['body/Comments']}</p>
    <p><strong>Signature:</strong><br/><img src="@{outputs('Get_response_details')?['body/Signature']}" width="300"/></p>
    </body>
    </html>

    Ensure your form collects image URLs or base64 strings for the signature (e.g., using a tool like Microsoft Forms + Power Apps or embedding a third-party signature field via a Power Apps form).

     Step 3: Convert HTML to PDF (via OneDrive)

    1. Add "Create file" (OneDrive for Business):

      • Folder Path: Choose temp folder

      • File Name: FormSubmission_@{utcNow()}.html

      • File Content: Your HTML from previous ste 

    2. Add "Convert file":

      • File: ID of the HTML file

      • Target Type: PD 

    3. Add "Create file" (SharePoint):

      • Site Address: Your SharePoint site

      • Folder Path: Target folder

      • File Name: FormSubmission_@{utcNow()}.pdf

      • File Content: PDF from "Convert file"

    4. (Optional) Delete the temp file from OneDrive to keep things clean.

     

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard