Passing CRM Values to a Custom Function as Parameters
Hello,
Could someone help with this little custom function, please? It sends a text message as part of a workflow to a lead's mobile number, addressing the lead by name. How do I pass those two values from the Lead module? I see how to edit the arguments but struggling with the correct code.
P.S. The code already tested to work when I hard-code the two phone numbers like in "+1123456789"
resp = zoho.crm.invokeConnector("somefunction.send_message",
{
"body":"Hello, <LeadName>! Here's a message for you.",
"to":"+1<LeadMobile>",
"from":"+1MYNUMBER"
}
);
Many thanks!