I've "mined" my dreams for both poetry and essays. I try to record them as closely as possible. Sometimes it's difficult remembering exactly what the dream was, and even more difficult to incorporate it into my writing.