Deal Product reference

Deal Product reference

Hello All,

I'm trying to use Zoho Writer to dynamically create a statement of work document. Our statement of work is heavily dependent on what products are included in the deal. As such, I need to be able to add or remove sections of text depending on whether a product is involved in the deal. Can someone tell me if this is possible, even if it involves a deluge script and if it is please point me in the correct direction. 

Thank you in advance.