Conversational agents (CAs) primarily adopt knowledge scaffolding (KS) or emotional scaffolding (ES) to intervene in learners' knowledge gain and emotional experience in online learning. However, the ill-defined design for KS and ES, as well as insufficient understanding of their interactive effects on learning outcomes, have hindered the advancement of CAs in theory and practice. This study proposed systematic KS and ES design principles based on Zone of Proximal Development and growth mindset theories. We investigated their individual and combined impacts on knowledge gain and emotional expe...