cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Trying to conditionally build a Word document

I'm trying to build a contract dynamically, either hiding or revealing certain clauses in the Word template based on the values from the form.  For example, we have a template for a Master Agreement.  We also have a template for Addendum A that can be added to the end of the Master Agreement.  If the person filling out the form indicates they need a Master Agreement with Addendum A, how do we produce one combined Word document?

 

I have been able to take input from a MS Form and build a Word document from a template with results from the form.  We're using the Plumsail connector for that. 

 

One idea is to try to combine multiple Word templates, but I'm not sure Flow is capable of appending/combining Word documents (I'm know you can combine PDF, but we need it in Word).

 

Another idea is to have all the content in the Word template, and then hide/remove blocks or sections of the template depending on the results of the form. But I can't figure out how to do that.

 

Thanks for any suggestions!

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Hi @v-yamao-msft , thanks for the reply.  

 

Actually, I just found a solution.  Plumsail has released a new action called Merge DOCX!   Good timing.  It looks like they just rolled it out: https://community.plumsail.com/t/merge-docx-action-missing-from-flow/7567

 

The action doesn't appear automatically, so I had to create a custom connector as outlined here: https://plumsail.com/docs/documents/v1.x/flow/create-custom-connector.html?highlight=custom%20connec...

 

It even allows the ability to merge multiple Word docs into one, which is exactly what we were looking for.

 

View solution in original post

4 REPLIES 4
v-yamao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Thanks for feedback.

 

Per my certain knowledge, it is currently not possible to merge documents into a single file using Flow.

 

Two connectors, Plumsail and Muhimbi have the ability to merge PDF files but not Word documents.

 

Please consider submitting a request on Flow Ideas Forum for this feature:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-yamao-msft , thanks for the reply.  

 

Actually, I just found a solution.  Plumsail has released a new action called Merge DOCX!   Good timing.  It looks like they just rolled it out: https://community.plumsail.com/t/merge-docx-action-missing-from-flow/7567

 

The action doesn't appear automatically, so I had to create a custom connector as outlined here: https://plumsail.com/docs/documents/v1.x/flow/create-custom-connector.html?highlight=custom%20connec...

 

It even allows the ability to merge multiple Word docs into one, which is exactly what we were looking for.

 

Hi @Anonymous ,

 

Thanks for updating and sharing.

The docs you shared with us are really helpful.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

Encodian have just released a new action which enables multiple word documents to be combined into a single word document. See below

9a.png

Ref: https://support.encodian.com/hc/en-gb/articles/360023972213-Merge-document-array-to-Word

May help?

Thanks J

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,836)