resp = zoho.crm.getRecordById("Potentials",input.id);
info resp;
stage=resp.get("Stage");
name=resp.get("Potential Name");
date=resp.get("Closing Date");
id=(resp.get("POTENTIALID")).toLong();
info stage;
info name;
creatingMap=map();
creatingMap.put("POTENTIALID",input.id);
creatingMap.put("Stage",stage);
creatingMap.put("Potential Name",name);
creatingMap.put("Closing Date",date);
result = zoho.reports.createRow("Zoho CRM Reports","uploadpotentials",creatingMap);
info result;