PurposeIn the context of the environmental degradation challenge in manufacturing firms, greening the supply chain (SC) is the most widely endorsed method to mitigate the adverse repercussions of climate change. Based on organizational learning and resource dependence theories, the aim of this research is to know how green supply chain external integration (GSCEI) and green supply chain internal integration (GSCII) influence ambidextrous green innovation (AGI). It also examines the mediating roles of green absorptive capacity (GAC) and green knowledge integration capability (GKIC), as well as the moderating role of green technology dynamism (GTD).Design/methodology/approachTo assess the hypothesized model, data were obtained with 386 questionnaires from managers employed in manufacturing firms in Pakistan applying a cross-sectional approach. A partial least square structural equation modeling technique was implemented to evaluate the data.FindingsThe results revealed that GSCEI and GSCII substantially impact AGI. Moreover, GAC and GKIC serve as mediators between GSCEI and AGI. GAC and GKIC also intervene in the relationship between GSCII and AGI. GTD was significant as a moderator for the correlation between GSCEI and AGI. However, it does not moderate the relationship between GSCII and AGI.Practical implicationsThis research offers significant comprehension and an innovative approach for manufacturing organizations to curb environmental corrosion by stimulating AGI through green SC integration. It suggests to practitioners that integrating internal knowledge with external partners expands communication and collaboration to ensure that resources connected with environmental preservation flow smoothly.Originality/valueThis research is a valuable addition to the field, as it explores for the first time the missing link among the studied constructs. It opened the black box of how knowledge-related capabilities facilitate knowledge resources to elicit AGI, an area that has not yet been explored.