In recent years the increasing availability of computer power and informatics tools has enabled the gathering of reliable data quantifying the complexity of socio-technical systems. Data-driven computational models have emerged as appropriate tools to tackle the study of dynamical phenomena as diverse as epidemic outbreaks, information spreading and Internet packet routing. These models aim at providing a rationale for understanding the emerging tipping points and nonlinear properties that often underpin the most interesting characteristics of socio-technical systems. Here, using diffusion and contagion phenomena as prototypical examples, we review some of the recent progress in modelling dynamical processes that integrates the complex features and heterogeneities of real-world systems.Q uestions concerning how pathogens spread in population networks, how blackouts can spread on a nationwide scale, or how efficiently we can search and retrieve data on large information structures are generally related to the dynamics of spreading and diffusion processes. Social behaviour, the spread of cultural norms, or the emergence of consensus may often be modelled as the dynamical interaction of a set of connected agents. Phenomena as diverse as ecosystems or animal and insect behaviour can all be described as the dynamic behaviour of collections of coupled oscillators. Although all these phenomena refer to very different systems, their mathematical description relies on very similar models that depend on the definition and characterization of a large number of individuals and their interactions in spatially extended systems.The modelling of dynamical processes is a research field that crosses different disciplines and has developed an impressive array of methods and approaches, ranging from simple explanatory models to realistic approaches capable of providing quantitative insight into real-world systems. Initially these models used simplistic assumptions for the micro-processes of interaction and were mostly concerned with the study of the emerging macro-level behaviour. This interest has favoured the use of techniques akin to statistical physics and the analysis of nonlinear, equilibrium and non-equilibrium physical systems in the study of collective behaviour in social and population systems. In recent years, however, the increase in interdisciplinary work and the availability of system-level high-quality data has opened the way to data-driven models aimed at a realistic description of complex socio-technical systems. Modelling approaches to dynamical processes in complex systems have been expanded into schemes that explicitly include spatial structures and have thus grown into a multiscale framework in which the various possible granularities of the system are considered through different approximations. These models offer a number of interesting and sometimes unexpected behaviours whose theoretical understanding represents a new challenge that has considerably transformed the mathematical and conceptual framework for t...