Cesc Fabregas came off the substitutes' bench to devastating effect to score twice as Spain came from 2-0 down to beat Chile 3-2 in Switzerland.
Chile appeared to be on course for a famous win after scoring twice in the opening 20 minutes, but world and European champions Spain rallied in the second half.
Spain have won all five of their Euro 2012 qualifying matches but have experienced mixed results in friendlies since winning the World Cup title last summer.
In seven matches, Vicente Del Bosque's men have been held by Mexico and suffered heavy defeats against Argentina and Portugal.
They were also beaten 2-1 by Italy in their previous friendly outing last month, and another defeat looked on the cards as Chile enjoyed the much better start tonight.
The South Americans, who were beaten 2-1 by Spain during the group stages of the 2010 World Cup, needed just 10 minutes to take the lead when Isla collected a superb long ball by Gonzalo Jara and then thumped an unstoppable shot across Iker Casillas into the far top corner.
Spain almost equalised through David Silva, whose shot was blocked by Bravo, before Chile doubled their lead in the 20th minute through Vargas, who played a one-two with another Barca new boy Alexis Sanchez before rounding Casillas and slotting home.
Jean Beausejour almost made it 3-0 in the 31st minute but Real Madrid custodian Casillas parried his shot.
Del Bosque made a treble change at the break, and one of the newcomers Iniesta helped get Spain back into the match.
Iniesta's club colleague Xavi gave his team-mate the ball 25 yards out and the man whose extra-time goal against Holland earned Spain the World Cup last July drilled a low shot past Bravo.
Del Bosque then threw on Fabregas and the playmaker, who has scored in his opening two games for Barca, helped Spain complete their comeback - with Iniesta continuing to play a key role.
Fabregas struck the equaliser after latching on to a great first-time through ball from Iniesta before poking his shot past the out-coming Bravo.
Then, after Chile had lost Contreras to a red card following a foul on Santi Cazorla, Fabregas claimed the victory for the Spanish.
Fernando Meneses fouled Alvaro Arbeloa inside the area and, although Fabregas' saw his penalty turned onto the post by Bravo diving to his left, the ball came straight back to the sub and he volleyed into the gaping net.