Hayes was credited with the win, after pitching the final five innings, but walked in a run to reduce the margin to just one with bases still loaded. Canada's late bid for victory finally fell short, when Mark Johnson hit into a fielder's choice and Bartorillo had Stephen Mullaley out at third base.
"Pretty exciting game and the guys showed a lot of character to come back from such a deficit early in the game," said coach Mark Sorenson. "But there was always a good feel in the dugout and the guys believed we just needed to get on a bit of a roll.
"We talked about just focusing on getting one run and putting runners on base and building pressure. We wanted to get into their bullpen a little bit further.
"We got into a situation where the weather was working in our favour a little bit, pitchers were struggling to grip the ball and it became about seizing the moment and grabbing the opportunity.
"We got on that roll and we had the ability to accumulate runs once we got going."
Victory booked a final spot for New Zealand at 11am (NZT) tomorrow, when they will face the winners of the earlier Canada v Australia playoff.