Denmark is one of the leading countries in establishing digital solutions in the health sector. When SARS-CoV-2 arrived in February 2020, a real-time surveillance system could be rapidly built on existing infrastructure, This rapid data integration for COVID-19 surveillance enabled a data-driven response. Here we describe (a) the setup of the automated, real-time surveillance and vaccination monitoring system for COVID-19 in Denmark, including primary stakeholders, data sources, and algorithms, (b) describe outputs for various stakeholders, (c) how outputs were used for action and (d) reflect on challenges and lessons learnt. Outputs were tailored to four main stakeholder groups: four outputs provided direct information to individual citizens, four to complementary systems and researchers, 25 to decision-makers, and 15 informed the public, aiding transparency. Core elements in infrastructure needed for automated surveillance had been in place for more than a decade. The COVID-19 epidemic was a pressure test that allowed us to explore the system’s potential and identify challenges for future pandemic preparedness. The system described here constitutes a model for the future infectious disease surveillance in Denmark. With the current pandemic threat posed by avian influenza viruses, lessons learnt from the COVID-19 pandemic remain topical and relevant.