module = zoho.crm.getRecordById("Leads", input.LeadsID.toLong());
createMap = map();
createMap.put("Name", ifnull(module.get("Name"),""));
createMap.put("Owner", ifnull(module.get("Owner"),"").get("id"));
createMap.put("Phone", ifnull(module.get("Phone"),""));
createMap.put("Email", ifnull(module.get("Email"),""));
createCustomModule = zoho.crm.create("Deals", createMap);
info createMap;
info createCustomModule;