Artificial intelligence (AI) applications are complex and rapidly evolving, and thus often poorly understood, but have potentially profound implications for public health. We offer a primer for public health professionals that explains some of the key concepts involved and examines how these applications might be used in the response to a future pandemic. They include early outbreak detection, predictive modelling, healthcare management, risk communication, and health surveillance. Artificial intelligence applications, especially predictive algorithms, have the ability to anticipate outbreaks by integrating diverse datasets such as social media, meteorological data, and mobile phone movement data. Artificial intelligence-powered tools can also optimise healthcare delivery by managing the allocation of resources and reducing healthcare workers' exposure to risks. In resource distribution, they can anticipate demand and optimise logistics, while AI-driven robots can minimise physical contact in healthcare settings. Artificial intelligence also shows promise in supporting public health decision-making by simulating the social and economic impacts of different policy interventions. These simulations help policymakers evaluate complex scenarios such as lockdowns and resource allocation. Additionally, it can enhance public health messaging, with AI-generated health communications shown to be more effective than human-generated messages in some cases. However, there are risks, such as privacy concerns, biases in models, and the potential for 'false confirmations', where AI reinforces incorrect decisions. Despite these challenges, we argue that AI will become increasingly important in public health crises, but only if integrated thoughtfully into existing systems and processes.