Fix workflow creation functionality