How to Disable Dialpad Ring Auto Dialer for Some Leads

How to Disable Dialpad Ring Auto Dialer for Some Leads

Workflow: RingCustom



create custom function RingActionCustom
must have the following arguments: "recordId" and "module"


  • static text for module's value (in our case Leads no quotes "" necessary, just plain text Leads or Deals)

  • Map recordId to the desired module's record id (Leads.Lead Id as seen on screenshot)

    in the function paste the following code:


Notes

m = {"nameSpace":"ringcentralringoutautodialer"};

apikeyresp = zoho.crm.invokeConnector("crm.zapikey",m);

zapikey = apikeyresp.get("response");

url = "https://www.zohoapis.com/crm/v2/functions/dialpadringautodialer__ringrest/actions/execute?auth_type=apikey&zapikey=" + zapikey;

resp = invokeurl

[

url :url

type :POST

parameters:({"module":module,"recordId":recordId}).toString()

];

info resp;

should look like this: