Data-driven workflows use system state—not just the completion of previous activities—to determine what an automation system should do next. This approach can help coordinate web-connected IoT devices and accommodate changing conditions in use cases such as building evacuation.