Olympic champions Australia survived a scare against Fiji to top Pool A and set up a semi-final with Canada at the Gold Coast 2018 Commonwealth Games, while New Zealand will face England in the other encounter on Sunday.
New Zealand's Regan Ware (C) evades a tackle to score a try during the men's rugby sevens gold medal match against Fiji at the Robina Stadium during the 2018 Gold Coast Commonwealth Games on the Gold Coast on 15 April 2018.
After going up 12-0 in the first half, New Zealand barely saw the ball in the second seven minutes, allowing Australia to level the scores.
With only the pool winners to progress to the knockout stages and remain in contention for a medal there was no room for complacency with every match a must-win encounter.
In the semifinals earlier on Sunday, South Africa lost 24-19 after Fiji led 12-0 at halftime.More news: Indiana Pacers Playoff Preview: 4 Factors That Will Decide the Series
The bottom two teams in each pool now exit the competition with Australia to face Kenya and Scotland to meet Wales in the first stage of the fifth to eighth place play-offs.
The women's final was also characterised by a strong first half performance from New Zealand and some desperate defence before Brazier stepped up to end home hopes of victory.
"For our women to claim the first ever women's sevens gold medal is fantastic, this is a group of players that continues to impress and inspire and that final was enthralling".
Facing a ferociously partisan crowd in the women's final against Australia, Kelly Brazier's 60-metre dash deep into extra-time had given the New Zealand women a 17-12 victory.
As she sat in the sin-bin Australia cleared their lines and worked the ball wide to Green and, while the Fijian-born flyer failed to round the defence as she had against England on day one, the crowd were soon raising the roof after Caslick broke free and raced away to score the winning try.