
I’ve created a Microsoft Form designed to collect detailed daily task reports. Each task is divided into five sections, Task 1, Task 2, Task 3, Task 4, Task 5, and each section includes several text-based questions such as:
Text responses are successfully being inserted into a Word template using content controls.
Each section also includes an optional image upload question. Respondents can upload up to three images per section, resulting in a potential total of 15 images per form submission.
The issue: While text responses are correctly mapped to the Word template, the uploaded images are not yet being inserted into the corresponding content controls.
User A uploads:
User B uploads:
The Word document uses content controls with the following naming convention:
T1I1, T1I2, T1I3 → Task 1 Images 1–3T2I1, T2I2, T2I3 → Task 2 Images 1–3T5I1, T5I2, T5I3 → Task 5 Images 1–3Each content control is intended to hold one image.
Enable dynamic insertion of uploaded images into the correct content controls in the Word template, based on the section and image number.
You've built a Microsoft Form to collect daily task reports, including optional image uploads per task section, and you're successfully inserting text responses into a Word template using content controls. However, you're facing a challenge: dynamically inserting uploaded images into the correct content controls (e.g., T1I1, T1I2, T1I3 for Task 1 images) based on the section and image number.
Here’s how you can solve this using Power Automate, based on best practices and tutorials like Christian Abata’s guide and Cloudmersive’s walkthrough .
concat('T', taskNumber, 'I', imageIndex)).