Zoho Sign/Forms

Hi,

I’ve had an automation request from my colleagues, as they want to be able to send a Zoho Sign request via blueprint or even a button, which requires fields to be synced to the form.

I have been able to achieve this by creating a button (ideally would like to the same within a blueprint - but no big deal if cant), which opens a URL for a Zoho form, which when the user submits, it sends a Zoho Sign form - now this works fine, however it doesnt create a record within the Zoho Sign modules within CRM.

A workaround I have done is using this set of code within Flow to add an attachment to the account record.

Now, have I gone about this the totally wrong way, or is there a way within Sign that I can get it to update the modules for me.

{
searchQuery = "(Email:equals:" + mp.get(0).get("recipient_email") + ")";
getrec = zoho.crm.searchRecords("Contacts",searchQuery);
if(getrec.get(0).get("Account_Name") != null)
{
	accountID = getrec.get(0).get("Account_Name").get("id");
	getDoc = zoho.sign.downloadDocument(docID);
	response = zoho.crm.attachFile("Accounts",accountID,getDoc);
	info response;
}
}