Demi Lovato, who performed onstage at a private performance held by Demi Lovato for Spotify Superfans at RVCC on Sept. 15, 2017 in Los Angeles, got some advice from Jay-Z for her new album. Getty Images

When Jay-Z is offering music advice, you listen.

While participating in a Q&A at the Grammy Museum on Saturday, Demi Lovato revealed that she did just that when working on her upcoming album, "Tell Me You Love Me," out Sept. 29.

The museum’s executive director, Scott Goldman, asked Lovato how she knows when something is right for her, and she had quite the assured and interesting response.

"I remember when I wrote "Sorry Not Sorry," she recalled. "That day, I was like 'This is gonna be my single.' And everyone around me was like, 'No, you should put out 'Tell Me You Love Me' First, you should put out that and save 'Sorry Not Sorry' for later.' And I was like, 'But it's summertime, we need a feel-good song.'"

Always ever so confident, Lovato didn’t back down and decided to continue to pursue what she thought was best for herself. But that doesn’t mean she wasn’t open to hearing more thoughts and ideas to make sure it truly was what was right for her to do.

"I ran the opinion by a lot of people, when I heard one person's opinion that I really respected," the former Disney Channel star said. "My management works with Roc Nation, so I get to bounce things off of Jay-Z, which is pretty cool."

If one has the opportunity to bounce music and business ideas off of Jay-Z, one should take it. Clearly Lovato knows this, which is why she took the opportunity to gain some insight from him aboutthe dilemma over what her first single off the new album should be.

"He was like, 'Go with 'Sorry Not Sorry' because it's more light-hearted and people are used to hearing more emotional stuff from you,'" she told Goldman. "And I was like, 'That's what I mean.'"

Lovato wasn't giving in that easily and was just searching for one person to agree with her. She just happened to find the answer she was looking for from Jay-Z.

"I was like, 'Okay, I'm gonna take it and run with it. I'm gonna go for it,'" the 25-year-old singer said. "So, I went for it and it ended up being my vision. Like, I had a vision for the promo tour, the house party tour. It just turned out to be awesome, and I'm really happy that I stuck to my gut and I did wait for someone to say I should do it, but, I feel like I was gonna go with it anyways. But it doesn't hurt to have Jay-Z saying, 'This is what you should do.'"

That it does not, Demi, that it does not. And, unsurprisingly, the opinion the two performers shared turned into one great ummer success for Lovato. "Sorry Not Sorry" has been on the Billboard Hot 100 chart for nine weeks now, peaking at spot 13.

Next, Lovato will be taking her music to the "The Tonight Show with Jimmy Fallon" stage on Monday night. She’ll also be performing this Thursday at the Cadillac House as part of the Global Citizen and Cadillac in Concert "Accelerator Series."