Send with Zoho Sign option for Custom Module
I need the Send with Zoho Sign in a custom module. I found this Deluge script:
// Define the names of your custom module and the Zoho Sign module
customModule = "Custom_Module";
// Specify the record ID of the custom module record you want to work with (replace with your record ID)
recordID = 123456789;
// Get the custom module record
customRecord = zoho.crm.getRecordById(customModule, recordID);
// Check if a document is attached to the custom module record
attachedDocument = customRecord.get("Attached_Document");
if (!isEmpty(attachedDocument)) {
// If a document is attached, show the "Send with Zoho Sign" button
zoho.crm.custombutton.showButton("zohosignButton", "Send with Zoho Sign", customModule, recordID);
} else {
// If no document is attached, hide the "Send with Zoho Sign" button
zoho.crm.custombutton.hideButton("zohosignButton", customModule, recordID);
}
// Implement Zoho Sign-related functionality when the button is clicked
if (input.buttonClicked == "zohosignButton") {
// You can perform actions here to send the attached document via Zoho Sign. // This may involve using Zoho Sign APIs or an integration method. }
However, I would appreciate the steps needed to integrate the Zoho Sign API, handle authentication, the upload, and the necessary workflow.