# Scripts, errors, and run control

import { CardGrid, LinkCard } from "@astrojs/starlight/components"

Control how a flow executes after it starts: branch with conditions, loop over lists, pause and resume runs, call other
flows, run scripts, handle failures, page through API results, use helper shortcuts, and finish with Success or Failure.

[Branch with a Condition](./condition/)
  [Create a loop](./create-a-loop/)
  [Pause with Wait](./wait/)
  [Wait and resume a flow](./wait-and-resume-playbook/)
  [Call a flow](./call-a-flow/)
  [Run a script](./run-a-script/)
  [Handle step errors](./error-handling/)
  [Handle API pagination](./handling-pagination-in-mindflow/)
  [End a flow with Success or Failure](./end-a-flow-with-success-or-failure/)
  [Copy steps, flows, notes, and layout](./handy-tools/)
