Ireland head coach Greg McWilliams says the dramatic nature of their Six Nations win against Scotland could prove to be an important one for their development.

Enya Breen's try with the clock in the red, and subsequent conversion, gave Ireland a 15-14 win against the Scots at Kingspan Stadium, ensuring Ireland would avoid a first wooden spoon in 18 years.

Having led 8-5 at half time, Ireland struggled for large periods in the second half, with ill-discipline allowing Scotland move 14-8 in front heading into the final 10 minutes

Having failed with a number of attacks in the closing stages, it looked like McWilliams' side would finish bottom of the table, before their attack finally clicked in the final play of the game.

And the head coach said it was a try born out of self trust.

"It was important for the players," McWilliams told RTÉ Sport after the game.

"I thought it was one of those games that got away from us, at times we didn't have the accuracy, but to stay in the fight like they did is inspirational. That's what we always ask of this group, they're playing for something much more than themselves, and to see that it's great.

"I want to be successful as a head coach, I want us to be the most successful Irish team we can be, and that's my goal.

"But result is a by-product of the process, and at times our process today was poor, we struggled to execute, but when it mattered most at the end, they were able to front up, look after the ball well, and work to the right periods and spaces around the posts, and then to take the opportunity, Enya Breen thank God got over to score they try."

It leave Ireland with a record of two wins and three defeats from the first campaign of their new regime, and the coach says there are a lot of lessons to be learned.

"I think it's important we review this analytically as coaches. There are things I think I can do better, but like everything else it's about getting really well at the basic skill levels of the game, and getting confident under presser and trying to execute.

"The one thing you take from this Six Nations is you can't be a winning team without having real guts and heart, but you also need the technical and tactical astuteness to be more consistent.

"Really proud of the players and how they went about their business, but there's a lot of work we have to do which is a good thing," he added.