Zoho CRM helps businesses keep track of and manage leads, customers, products – even employees. But what about all those record images? Uploading them from URLs is not something that Zoho offers natively within the CRM, and when organizing your CRM for product inventory, or Real Estate Properties its an absolute necessity. This article will teach you how to upload your images in bulk and import them into your desired Zoho CRM module so that they are automatically associated with corresponding records created or updated by this process
Requirements:
Setup a Zoho connection that allows the needed scope
Steps:
Once Completed you should see a screen like this:
Do not forget to map the arguments to get the recordid.
//Getting the image you want as the record image
getimg = invokeurl
[
url: "THE IMAGE ITSELF (NOT JUST A FOLDER LINK)"
type: GET
];
//Setting the image url as a file
getimg.setParamName("file");
imgurl = {"http://www.zohoapis.com" + "/" + "Leads" +"/" + recordid + "/" + "photo"};
photo = invokeurl
[
url: imgurl.toText()
type: POST
files: getimg
connection: "zoauth" //This is the connection in zoho crm
];
//Debug to see the response
info photo;
This will take the image and download it directly as the record image for your module.
RGC is passionate about sharing improvements with our service partners. If you are a user of one our partner platforms subscribe below to get free solutions and advice you won’t get anywhere else.