Pooled testing for the diagnosis of COVID-19 via isothermal nucleic acid amplification and detection can be automated by using electromagnetically actuated swarms of millimetric magnets to handle droplets of magnetized samples on a microfluidic chip.