Adding files (attachments) to the Send Mail API in Zoho Deluge
- files = opportunity.getJSON("File_1");
- if(files != null)
- {
- for each file in files
- {
- fileMap = Map();
- fileId = file.getJSON("File_Id__s");
- fileMap.put("id",fileId);
- attachmentsList.add(fileMap);
- }
- }
- emailDataMap.put("attachments",attachmentsList);
- emailResp = invokeurl
- [
- url :"https://www.zohoapis.com/crm/v7/Price_Requests/" + priceRequestId + "/actions/send_mail"
- type :POST
- parameters:emailFullDataMap.toString()
- connection:"zoho_crm_email_api"
- ];
These lines of code allow you to add attachments when sending an email through an API in CRM. The ID that needs to be passed for each file is the file's encrypted ID. The IDs can be put into a list and should be inserted into the "attachments" parameter in the JSON object.
Related Articles
SharePoint Adobe Sign - Send Document
1. Create MergeFields Dictionary of all fields to populate in the form 2. Bools/Checkboxes should be set to a workflow string of YES or NO 3. Each Type in the MergeFields should be a string, no numbers 4. Find the document id from the "Send" link on ...
Debugging serializing/deserializing using Zoho 2.0 Wrapper
In the NewtonsoftJsonSerializer class, place breakpoints in the catch statements of the Serialize and Deserialize methods
Sharepoint - Modify items permissions in Workflow
http://timwalwyn.com/2017/10/17/modify-item-permissions-on-sharepoint-online-using-sharepoint-designer-and-rest-api/
SharePoint Adobe Sign - Download document
1. Set a workflow variable to OUT_FOR_SIGNATURE 2. Create a loop while a workflow AgreementStatus variable is OUT_FOR_SIGNATURE 3. Use Adobe Sign Action "Get Agreement status for Agreement ID" 3a. Use Agreement ID from the current item saved in the ...
Super Admin Cutover SOP
When doing a cutover from one Zoho super admin to another, here are some main things to consider so you do not break any integrations that are set up. Overview When doing a super admin cutover the best practice is to individually change the super ...