Adding Attachments from WorkDrive to Deal
I am currently trying to develop some workflows in CRM so that when an Opportunity/Deal is Won, 2 files in our WorkDrive are attached to the Opportunity/Deal automatically instead of our users having to go into the WorkDrive to find the files to attach.
I've looked at the Zoho CRM API and seen that there is an option to upload an attachment to an Opportunity/Deal using Deluge, but I am unsure of how the API works. Was hoping to get some help on this!
I tested this code below with my own values and CRM connection, but I don't understand under the "files" section in the request there is "text file"? and not "photo" from the request above? Am I missing something here?
Thanks