Use RPA and AI to track demand patterns and forecast demand for a retail business. RPA is used to extract data from the Customer Relationship Management (CRM) system. AI is then used to identify patterns and trends in customer demand to create a Machine learning (ML) model. The resulting AI model is then used to forecast future demand for products. Using intelligent automation with AI models allows retailers to forecast demand and optimize their inventory levels. This reduces costs associated with carrying excess inventory and stock-outs which could result in lost sales.