How does the cough assist machine work? The cough assist machine includes a mask, mouthpiece or tracheostomy adaptor that is applied to the airway. As your child breathes in, the machine blows air into the lungs slowly. After a short pause, the machine quickly pulls the air out, along with any mucus, much like a cough.