Workflow macros are used to define key functionality of the workflow, such as states, tasks, and triggers: