Webhook problem with leads doctype

The Webhook is not triggered on setting the trigger to “before_insert”. Even custom script is not called on this trigger for the leads doctype.