Note
Composable automation
Build automations from loose, high-level blocks that are easy to chain and change.
Automations work best when they are built from high-level blocks that are easy to chain together. That keeps each piece understandable on its own and makes the overall system easier to read later.
Tight coupling makes automation harder to maintain. Once one step depends too closely on another, simple changes start to ripple through the whole thing.
The practical rule is to keep the boundaries clean and the pieces replaceable. That makes it easier to adjust one block without rewriting the entire automation.