Automated Peritoneal Dialysis. APD is a form of PD done with a machine called a cycler. The cycler will automatically drain and fill dialysate from the peritoneal cavity. Most of the exchanges are done while the patient sleeps. Generally, people are connected to the cycler for 8 to 10 hours each night. 13-14..