C-level executives and managers are the first to understand the value that comes with a buttoned up workflow. Custom Functions in Zoho CRM can help with the integration of Modules. They make your workflow more robust and simpler, but they can also be a little overwhelming to put together sometimes.
Managers need to seek and add Custom Functions that matter. This custom function will help you to map Contacts under a Zoho CRM Campaign with no export/import process to follow.
If the Holly Grail of Email Marketing is delivering emails to the right contact at the right time and then be able to track the results back. Automate the process of sending Contacts to Campaigns and simplify your Campaign tracking results.
Custom Function
ContactId=input.cid.toLong();
rec = zoho.crm.getRecordById("Contacts",ContactId);
paramsmap=map();
paramsmap.put("authtoken","yourauthotokenidgoeshere");
paramsmap.put("scope","crmapi");
paramsmap.put("id",ContactId);
paramsmap.put("relatedModule","Campaigns");associate="<Campaigns><row no = \"1\"><FL val =\"CAMPAIGNID\" >" + CAMPAIGNID + "</FL></row></Campaigns>";
paramsmap.put("xmlData",associate);
url = postUrl("https://crm.zoho.com/crm/private/xml/Contacts/updateRelatedRecords",paramsmap);
Need Help
Custom functions can be a little overwhelming to put together sometimes. Please, do not hesitate to contact us. You can also schedule a free 15 min discovery call to review your workflow and make sure custom functions are needed.