Kim Kardashian bonded with Nikki Glaser after being brutally mocked at Tom Brady’s grill.

Glaser, 39, appeared on Jake Johnson and Gareth Reynolds’ “We’re Here To Help” podcast and revealed that Kardashian, 43, reached out to her on Instagram after they both attended the Netflix shoot on May 5.

“Kim Kardashian texted me on the way in,” Glaser said, shocking Johnson, 45, and Reynolds, 44.

“She said, ‘You killed it on the grill,’ pretty much it. I wrote back, ‘Kim, my god. I tried to make eye contact with you every chance I could to tell you, ‘You’ve been killed, girl.’ This is no surprise after your ‘SNL’ monologue , which was great. You are so talented. Thank you so much for writing to me. Its very beautiful.’ “

Johnson and Reynolds convinced Glaser to check her Instagram messages to see if Kardashian had responded.

“It would be very detrimental if she didn’t do that. If it just said, ‘Seen,’” Glaser said.

Luckily for the comedian, Kardashian got her back.

The message from the reality star read: “Aww, thank you! And YOU killed it. I don’t know how you do this – it’s abuse, lol.”

Glaser was delighted by Kardashian’s response, but she clarified that this does not mean they are friends now.

“I don’t get the feeling that she wants to go out,” Glaser told Johnson and Reynolds, adding, “If I got that feeling, I would jump on it.”

As fans witnessed, Kardashian had a rough experience at “The Roast of Tom Brady.”

First, the Skims founder was booed by the audience when she walked on stage. She looked both angry and annoyed as Kevin Hart tried to engage the crowd. (That segment was removed from the Netflix special).

While criticizing Brady, 46, on stage, Kardashian addressed rumors that she and Brady had previously dated, joked about her infamous sex tape and compared the athlete to Caitlyn Jenner.

Brady then took the stage to insult several famous hosts and savagely mentioned Kardashian’s third ex-husband, Kanye West.

“I know Kim is scared to be here tonight. Not because of this but because her children are at home with their father,” Brady said.

Kardashian – who has four children with West, 46 – shook her head and smiled after the joke was made. Meanwhile, the rest of the audience gasped and started clapping.

Two days after the roast, Glaser appeared on “Jimmy Kimmel Live!” and admitted that she thought Brady’s joke about Kardashian was “out of bounds.”

“She’s here. She’s taken enough beatings. She’s not on stage, but then he joked, ‘Are you more scared of the jokes or the fact that your kids are with Kanye right now? ‘ What a great joke,” Glaser said. “And I thought, ‘I didn’t even know we could actually go there.’ “

Comedian Andrew Schulz, who was also present at the barbecue, claimed on his “Flagrant” podcast that Kardashian acted like “a robot” there. He said the billionaire “sat with perfect posture for three hours” and seemed “out of sync” during the special live broadcast.