cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
middo
New Member

Creating a word document using form option output, word template document and contents from document library

Hello 

 

we are looking to stream line creation of a number of documents using power automate, forms and word.

 

I hope to devise a form, word template with information already entered and plain text content controls. 

 

Is it possible to copy the contents of multiple word documents within a flow on the response of relating form option field being set as yes? i.e.

 

question 1

yes 

no

 

question 2 

yes 

no

 

if the person completing the form answers yes to question 1 I need to get the contents of a specific word document and add it to the word document template being created. This also applies to question 2 with a different document.

 

is this possible?

 

or would it be easier to delete the specific information from the word template if the user answers no the the above questions? and is this possible?

 

Hope you can help and appreciate any assistance. 

1 REPLY 1
RaashiSen
Community Support
Community Support

Hello @middo ,

 

To fairly understand your question-

Lets say you have a Form with 2 questions

you create a flow with trigger - when a response is submitted

next, use 'get response details' action from Forms(if using MS Forms)

From here, you can do two ways-

1. create a condition, like if ques 1 equals yes or ques 2 equals yes

then get content, populate the word template, and do the rest

 

else, have 2 separate conditions

condition 1- if ques 1 equals yes-
if yes: doc 1, if no: doc 2

add new step with next condition, saying if ques 2 equals yes-

if yes: doc 3, if no: doc 4
so on...

Its possible, but going to be lengthy
you can also use Parallel branch for running both the conditions together
make sure the word template is separate, otherwise this might lock the file for editing

 

To your second case, I believe you cannot remove something from word template, its for editing, not omitting.

 

Let us know how it goes 🙂

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,106)