Send SMS automatically on different Trigger Points?

Hi Team,

I am new to erpnext.I want to send the SMS to Different trigger points, for example when i create a new lead the SMS has to send automatically to that newly created lead.Please guide me how to achieve this in Erpnext?

Thanks in advance,
Jyoti

Have a look at this repository https://github.com/yrestom/erpnext_telegram. I think there are SMS related customizations in there.

I want to send SMS to customer if sales order is submitted.For this i wrote custom script
in Sales Order like this.
frappe.ui.form.on(‘Sales Order’, ‘on_submit’, function(frm){


var message = 'Sales Order No: ’ + frm.doc.name ;
console.log(“message”,message);
frappe.call({
method: “frappe.core.doctype.sms_settings.sms_settings.send_sms”,
args: {
receiver_list:numbers,
msg: message,
},
callback: function® {
if(r.exc) {
msgprint(r.exc);

  console.log(message);
   return;
  }
}

})
});

It is showing the message is sent ,but i have not received any

message.

did you find any solution?