Cold, clumpy accretion onto an active supermassive black hole