Purpose An organization can be understood as a knowledge network in which teams send and receive knowledge. Many studies have explored knowledge sharing across teams but did not consider the direction of knowledge flows (KF), specifically how the knowledge inflow (KIF) and knowledge outflow (KOF) can be induced and influence team activities differently. To fill this gap, this paper distinguishes between KIF and KOF, examines their antecedents and consequences and considers how KIF and KOF within a team moderate the relationship between antecedents and KF of a team. Design/methodology/approach This study used structural equation model analysis of a sample of 341 individuals within 73 teams from four companies. Findings The results suggest that IT support is essential because it influences both KIF and KOF. However, only KOF has a significant effect on team performance suggesting that ambidexterity is not always necessary. In promoting KOF, increasing task interdependency is also effective. The effect of IT support varies with the level of KIF diversity. Originality/value The findings emphasize the importance of distinguishing KOF from KIF in a team's knowledge network under the theoretical lens of ambidexterity. Identifying how IT support influences KF and how these flows separately affect team performance can provide useful insights into managing and facilitating KF in an organization.