The study of the initial conditions of relativistic heavy-ion collisions and the subsequent development of hot and dense nuclear matter at the LHC is fundamental for the understanding of the strong nuclear force. The traditional approach of comparing observables with hydrodynamical models based on different initial conditions typically fails to isolate the effects of the initial conditions due to the sensitivity of the observables to the collective behaviour of the expanding system. Correlations of the mean transverse momentum [p T] and the anisotropic flow Fourier coefficients v n have been shown to serve as a unique probe of the initial conditions of the heavy-ion collisions with little to no bias from final state effects.In this talk, correlations between [p T] and v 2 or v 3 are presented as a function of centrality in Pb−Pb and Xe−Xe collisions at TeV and TeV, respectively, measured with ALICE. Additionally, measurements of the higher-order correlation between [p T], v 2, and v 3 is measured for the first time. All of these measurements are compared with hydrodynamical models using IP-Glasma or TRENTo initial conditions. The former is based on Color Glass Condensate effective theory with gluon saturation and the latter is a parameterized model with nucleons as the relevant degrees of freedom. The data is best described by models using IP-Glasma initial conditions, whereas the TRENTo based models fail to describe the data regardless of the parametrization.