Lead to custom module

Lead to custom module

Hi, hope you guyes are fine and doing great. i was searching out to the solution of how can i transfer lead to custom module.
 what i am doing right now.

i created a copy of lead manually and name it Do Not DIsturb, and in the workflow rules created a rule on lead module and its that when a Lead Status is DND/Do Not Disturb  then custom function trigger. Through that custom module i need to connect my custom module,

can any body help me??