auto-detect workflow steps

auto-detect workflow steps