CALGARY -- Johnny Gaudreau scored 35 seconds into overtime to give the Calgary Flames a 6-5 win against the Philadelphia Flyers after they scored twice in the final 1:08 to tie the game at Scotiabank Saddledome on Wednesday.
Rasmus Andersson scored his first NHL goal at 18:52 of the third to get the Flames to within 5-4, and Sean Monahan tied it 5-5 with his second goal of the game with seven seconds left.
"There was just so much emotion," Andersson said. "We were down two goals with 1:10 left. We managed to climb our way back into the game and win it in OT. It's just a resilient effort from all the guys. It's a really good feeling, especially when the fans were as into it as they were. I thought the arena was going to [explode] for a second there."
[WATCH: All Flyers vs. Flames highlights]
Matthew Tkachuk had four assists, and Sam Bennett and Mark Giordano scored for Calgary (20-10-2), which leads the Pacific Division and has won six of the past seven games and 10 of 13.
"That was a big win and we've got to keep rolling with it," said Monahan, who had an assist on Gaudreau's winner and has 12 points (seven goals, five assists) in the past seven games.
Video: Clutch Performance: Monahan nets game-tying goal late
Flames goalie Mike Smith made 10 saves on 14 shots before leaving the game after the second period with an undisclosed injury. David Rittich made four saves in relief.
Sean Couturier had two goals and an assist, Travis Sanheim, James van Riemsdyk and Dale Weise scored, and Anthony Stolarz made 35 saves for the Flyers (12-13-4), who have three wins in the past 12 games (3-6-3).
"It's definitely going to sting a little bit, but at the end of the day it's a point," Stolarz said. "I know we wanted two, but you have to move forward and you have to move on."
Video: PHI@CGY: Couturier puts home Voracek's dish
Gaudreau, who had two assists, scored on the rebound of a Giordano shot to give Calgary its NHL-leading seventh win when trailing entering the third period.
The Flames and Pittsburgh Penguins are the only NHL teams this season to win three games they trailed by multiple goals in the final two minutes.
"It took all 60 minutes, but it was a good effort in the third," said Gaudreau, who has 23 points (seven goals, 16 assists) in the past 13 games. "We didn't play our best hockey in the first and second, but we stuck with it and found a way to play a little bit harder in the third and get the two points."
The Flyers were 5-for-6 on the penalty kill, including 4-for-4 in the third period.
"They gain momentum even if we kill them off," said Couturier, who played 26:16 after missing the previous two games with a lower-body injury. "They gained momentum. Late in the third, 6-on-5, we've got to be better. We kind of let them set up. It's too easy out there. That's what happens. They're good players. They have a lot of talent and a lot of skill, and if you give them time and space, they make you pay."
Bennett put the Flames up 1-0 at 9:13 of the first period when he scored on the rebound of Tkachuk's wraparound attempt.
Video: PHI@CGY: Bennett pots rebound to open scoring
Sanheim scored 52 seconds into the second period to tie the game 1-1.
Giordano scored shorthanded to give Calgary a 2-1 lead at 5:32, but van Riemsdyk tapped in the rebound of a Couturier shot on the same power play to tie it 2-2 at 5:55.
Couturier redirected a Jakub Voracek pass to make it 3-2 at 6:27, and Weise scored on a wrist shot from just inside the Flames blue line at 7:43 to make it 4-2.
Monahan scored on a one-timer on the power play at 10:13 of the second to cut the Flyers lead to 4-3.
Couturier gave Philadelphia a 5-3 lead when he scored his second of the night on a shorthanded breakaway at 11:10 of the third.
Video: EA Sports Overtime Winner: Gaudreau lifts Flames
They said it
"There is a lot of belief and resiliency on the ice. You know, we gave up a lot more chances than we would have liked, but we had a lot of chances as well and forced their goalie to make some great saves. We did not give up late, and we were fortunate enough to get rewarded." -- Flames coach Bill Peters
Video: PHI@CGY: Giordano notches SHG on the rush
"The penalties set the table. We did it every way you can. We took a roughing penalty 200 feet from our net, a holding penalty, a slashing penalty. Those things set the table for it." -- Flyers coach Dave Hakstol
Need to know
The Flames' 49 goals in the third period lead the NHL. … Monahan is the second player in Flames history to begin his NHL career with six consecutive 20-goal seasons, joining Kent Nilsson (1979-80 to 1984-85). … Giordano, who returned from a two-game suspension for kneeing Minnesota Wild forward Mikko Koivu in a 2-0 win on Dec. 6, has eight points (one goal, seven assists) in the past three games.
Flyers: At the Edmonton Oilers on Friday (9 p.m. ET; SNW, NBCSP+, NHL.TV)
Flames: At the Minnesota Wild on Saturday (1:30 p.m. ET; FS-N, FS-WI, SNW, NHL.TV)
Video: Gaudreau scores in overtime to complete the rally