How do you get related INCOMING email records with a DELUGE custom function in Zoho CRM?
Hi Everyone!
As part of a function I am creating, I need to get the latest incoming email from a contact.
When using a getRelatedRecords function for the Emails related to a Contact, the function only returns Outgoing emails. No incoming emails are gathered.
Does anyone know how to get incoming email records related to a contact in Zoho CRM using custom functions?
Here's my code:
relatedemails = zoho.crm.getRelatedRecords("Emails","Contacts",contact_id,1,10);
info relatedemails;
Obviously nothing fancy.