Assuming contactrecord is required, the following result was found.
Buttons > Create Button where the function arguments will be p_ContactID = Contacts.Contact_ID v_OutputMessage = ""; r_ContactRecord = zoho.crm.getRecordById("Contacts", p_ContactID); // // get merge field names (for reference) v_TemplateID =...