How to skip entries depending on prior entry response?