Allow set_workflow to detect audio or video and choose appropriate workflow