Snippets are pieces of workflows. You can copy and paste them directly into any Tray workflow.
New to snippets? Watch this video
For more details please see our Snippet Documentation
A typical architecture when looping is to immediately use a boolean to evaluate the next step.