Enhance Sign CRM integration

Enhance Sign CRM integration

Hello all, 

I'm working on a custom Deluge script to enhance the integration between Zoho CRM and Sign by using a writer merge template for additional flexibility. I want to replicate the post-sign document integration that exists between CRM and Sign were the status of the sign document is reflected within CRM. I have found that within the Sign document API data their is the following value
  • "custom_data":"{'module':'Quotes','record':'1673798000085756001','source':'CRM'}",
which I have been able to successfully populate via the "zoho.sign.updateDocument" deluge function after creating the sign document via the "zoho.writer.mergeAndSign" deluge function.

However, this alone didn't make the document sync to the CRM. 

I then manually added an entry to the "ZohoSign Documents" custom module in the CRM that's created by the Sign and CRM integration however after completing the document signature the document status was not updated. 

Does anyone know what's required to add a document to the integration capabilities so that when actions are taken in Sign, those actions are represented in the CRM?