PurposeThis research investigates the impact of business analytics (BA) on corporate entrepreneurship (CE) and open innovation (OI), considering the moderated mediation analysis in the context of Iran as a developing country. The study was conducted in various industries, including food, chemicals, agriculture, automobile, and service industries, with 207 observations.Design/methodology/approachThrough an in-depth review of the extant literature a conceptual model was developed and the proposed hypotheses were tested using Structural Equation Modeling technique (PLS-SEM).FindingsThe results indicate that business analytics has significant effects on corporate entrepreneurship and open innovation. Open innovation has a significant effect on corporate entrepreneurship, with open innovation serving as a suitable mediator. Furthermore, the moderated mediation analysis shows the positive impact of Business Analytics on Open Innovation-Corporate Entrepreneurship relationship.Research limitations/implicationsAs this study was conducted in Iran, one of the main limitations can be attributed to the specific characteristics of the country which may affect how and how much the variables influence each other.Practical implicationsThe study highlights the importance of promoting Open Innovation in organizations and utilizing Business Analytics to make strategic decisions and foster innovation in entrepreneurial activities.Originality/valueThis study fills the gap in the literature by exploring how BA contributes to corporate entrepreneurship of the Iranian organizations in various industries, given open innovation as a mediator under dynamic market conditions.