Merge Different Documents based on Conditions

I would like to know whether it is possible to make a Google Form that uses conditional questions to decide which document to merge.

In our case, we have four different sales contracts. Depending on whether it is Customer to business, business to customer, business to business, or customer to customer, we want the mail merge to choose the document accordingly. Is this possible?