New Zealand will go into Sunday's Champions Trophy bronze medal match with their confidence enhanced by a strong showing in a narrow loss to Australia at the North Harbour hockey stadium.
It was to have been a must-win match for the Black Sticks but that changed when Spain upset the Netherlands 3-1 in the earlier semi-final.
Australia won 2-1, the first goal courtesy of Black Sticks defender Matt L'Huillier, who deflected in a cross from Desmond Abbott after 14 minutes.
The Black Sticks equalised when Andy Hayward scored from a penalty corner, but after dominating the second half they conceded a simple goal with 12 minutes to go.
They could still have snatched a draw but failed to convert the last of their eight penalty corners in the final minute of play.
The hosts still have a lot to play for though as they've yet to finish the top eight tournament with a medal.
New Zealand plays the Netherlands at 3.35pm on Sunday before the defending champions Australia play Spain at 6.05pm.