Preventing Agent Failures in Enterprise AI: Marketing Personalization Case Study