Getting Roberts to guest star was pretty big, and something the creators didn’t take for granted.

“We knew she would have the right touch for it.

And when she said yes, it was pretty awesome,” co-creator Marta Kauffman toldThe Hollywood Reporter.

Matthew Perry and Julia Roberts on “Friends”

It turns out,Matthew Perrywas the reason she agreed.

“There was a lot of flirting over faxing.

She was giving him these questionnaires like, ‘Why should I go out with you?’

Matthew Perry, Julia Robers in 1995

By the time the episode was filmed, they were dating, but it only lasted for a bit.

But in the end, fame was why the relationship ended.

And the courtship began.

Matthew Perry at GQ event

He also made out with Gwyneth Paltrow, another fling he discussed in his book.

“I was too scared, or broken, or bent,” he reminisced.