Summarizing the results of [1], we discuss the four-dimensional effective approach to type II N = 1 supersymmetric flux compactifications with general SU (3) × SU (3)-structure. In particular, we study the effect of a non-trivial warp factor, which we argue leads naturally to a supergravity formulation invariant under local complexified Weyl transformations. We show that the full ten-dimensional supersymmetry equations can be obtained as F-flatness and D-flatness conditions from the superpotential and Kähler potential. We then consider nonperturbative corrections to these supersymmetry conditions, following from adding instanton or gaugino condensation effects to the superpotential. As examples, we show how smeared instantons allow to understand the ten-dimensional geometry of KKLT-like AdS vacua and we give an explanation for the superpotential for "mobile" D3-branes in terms of a non-perturbatively induced generalized complex structure.Contribution to the proceedings of the 3rd workshop of the RTN project 'Constituents, Fundamental Forces and Symmetries of the Universe' in Valencia, 1-5 October, 2007.