In this video, you can learn how to raise a sales signal with a deluge script whenever the lead is created in ZOHO CRM.
sales signal code:
lead = zoho.crm.getRecordById("Leads",lid);
email = lead.get("Email");
name = lead.get("Last_Name");
namespace = "test_test";
subject = "New Lead created #" + name;
message = "New Lead created in Zoho CRM" + " from " + email;
signalMap = Map();
signalMap.put("signal_namespace",namespace);
signalMap.put("email",email);
signalMap.put("subject",subject);
signalMap.put("message",message);
result = zoho.crm.raiseSignal(signalMap);
Make sure email is mandatory for raising a sales signal!
Thanks for watching
Ещё видео!