attachments = zoho.crm.getRelatedRecords("Attachments","Module_Parent",recordId);
payload = {"broadcast":"true","text":"Used equipment available","card":{"theme":"modern-inline"},"buttons":{{"label":"View Details","action":{"type":"open.url","data":{"web":"myUrl" + id}}}},"slides":{{"type":"label","title":"*" + name + "*","data":{{"Price":price},{"Category":category},{"Barcode":barcode},{"Serial":serial}}}}};
resp = zoho.cliq.postToChannelAsAdmin(channelName,payload);