workflow automation pitfalls