logo
search
Others

How to Create a Power Automate Flow for Forms, Word, and SharePoint

Olivia MillerOlivia Miller Sep 25, 2026 869 views

Question details

The user needs to build a Power Automate flow that handles Microsoft Forms responses, inserts multiple uploaded images into a Word document template, creates a SharePoint folder, and emails the folder link.

How to Create a Power Automate Flow for Forms, Word, and SharePoint
Product
Microsoft Power Automate
Device & OS
not provided
Scenario
Automating employee onboarding or data collection by passing multiple image attachments from Microsoft Forms into a single Microsoft Word document template.
Observed behavior
The flow successfully inserts text and a single picture into the Word template, but fails to insert multiple images when a user uploads more than one attachment to the form question.
Before you start

Ensure you have premium Power Automate licensing, as the 'Populate a Microsoft Word template' action is a premium connector. Additionally, verify that your Word template is saved in an accessible OneDrive or SharePoint document library.

Solution 1Recommended

Map Multiple Images to Fixed Picture Content Controls

Use this solution to embed multiple uploaded photos directly into the generated Word document by using individual picture content controls.

Power Automate's Word connector does not currently support repeating sections containing picture content controls well. To bypass this limitation, you must define a strict maximum number of uploads in your form, and create a separate picture control for each expected upload in the Word template.

1
Prepare the Word template

Open your Word template document. Navigate to the Developer tab, and insert a distinct Picture Content Control for each possible uploaded image (e.g., Picture 1, Picture 2, Picture 3). Save the template back to SharePoint.

2
Initialize Compose actions

In your Power Automate flow, add a separate 'Compose' action for each picture control to handle the expected array of attachments from the Forms response.

3
Retrieve the file content

Add an 'Apply to each' loop using the attachment data from Microsoft Forms. Inside the loop, use the 'Get file content' action to retrieve each image's binary data.

4
Map data to Word controls

Add the 'Populate a Microsoft Word template' action. Map the outputs from your specific Compose actions to their corresponding picture content control fields in the action menu.

Map Multiple Images to Fixed Picture Content Controls
Handling missing images: If a user uploads fewer pictures than the template expects, the flow might fail due to empty variables. Consider adding condition checks or a default transparent placeholder image to prevent flow termination.
Free Microsoft Office alternative

View and Edit Your Generated Documents with WPS Office

While Power Automate manages your automated workflows in the Microsoft ecosystem, WPS Office provides a lightweight, free, and highly compatible alternative to Microsoft Word for preparing your templates and viewing your final generated documents.

Fully compatible with Microsoft Word (.docx) formats, including content controlsLightweight architecture ensures fast loading of documents with multiple heavy imagesFree to use with an intuitive, familiar ribbon-style interfaceSeamless cross-platform document editing across Windows, Mac, Linux, and mobile
microsoft office alternative - wps office

Frequently Asked Questions

Why do repeating picture content controls fail in Power Automate?

The 'Populate a Microsoft Word template' premium connector currently has limited support for repeating sections that contain picture content controls. It works best with repeating text, but struggles to dynamically allocate varying numbers of images, requiring fixed individual picture controls instead.

What happens if a form user uploads fewer pictures than my Word template expects?

If your Power Automate flow strictly maps four uploaded images to four picture controls, but the user only uploads two, the flow may fail when trying to retrieve non-existent array items. You can fix this by adding condition branches to supply a default blank image when an upload is missing.

Can I automatically email the populated Word document as a PDF?

Yes. After the 'Populate a Microsoft Word template' action, you can add the 'Convert Word Document to PDF' action (often requires a OneDrive temporary save step), and then attach that newly created PDF to an 'Send an email (V2)' action.