Heliot Ramos found out about his trade to the Yankees the same way many people did.

Eager to escape the swirling rumors before Monday’s MLB trade deadline, the 26-year-old outfielder plugged his phone into its charger and went to the gym.

“I saw on TV, ‘Yankees acquire Heliot Ramos.’ I was like, ‘Oh.’ It’s crazy,” Ramos recalled Tuesday before debuting with his new team in the Bronx.

“When I first found out about the news, I started shaking a little bit, because obviously I didn’t know anything else,” said Ramos, who came over from the San Francisco Giants. “But then I realized, like, ‘Man, I’m going to be a New York Yankee.’ Like, that’s crazy.”

The Yankees traded a pair of minor-leaguers — including High-A left-hander Henry Lalane, their No. 5 prospect — to the rebuilding Giants for Ramos in an effort to upgrade their injury-ravaged lineup.

Ramos started in left field and batted clean-up in Tuesday night’s 2-0 win over the St. Louis Cardinals, going 0-for-4.

“I talked to Heliot today about right and left field, and he’s comfortable in either spot, so I might play with that a little bit,” said manager Aaron Boone, who used Trent Grisham in center field and Spencer Jones in right.

“But first day here, where he’s played mostly left this year, I wanted him in there in that spot.”

A former top prospect, Ramos was an All-Star in 2024, and he eclipsed 20 home runs in each of the past two seasons.

He is batting .260 with nine homers and a .718 OPS this year.

The Yankees expect Ramos to play extensively over the next few weeks — regardless of the pitching matchup — as outfielders Aaron Judge (rib) and Cody Bellinger (hamstring) and designated hitter Giancarlo Stanton (calf) work their ways back from the injured list.

But even when the Yankees are at full strength, the righty-swinging Ramos should get plenty of at-bats versus left-handed pitching, against whom he boasts an .835 OPS this season and an .847 mark over his five-year career.

“Obviously, his strength is against the left-handed [pitching] side,” general manager Brian Cashman said. “When we face those, Boone will have a choice to deploy it.”

Ramos was one of two offensive additions made by the Yankees before the deadline, joining lefty-swinging Luis García Jr., who made his team debut — and homered in it — on Monday night.

The Yankees then called up top prospect George Lombard Jr., who drilled a solo home run in his MLB debut on Tuesday night.

The moves came amid a prolonged scuffle by the Yankees’ offense, which scored 5.2 runs per game with Judge in the lineup but is averaging just under 4.0 runs per game in the two-plus months without him.

All three players are expected to be parts of the Yankees’ future, too. García remains under team control through next season, while Ramos arrived with three more years of team control after this one.

“It’s like one of the guys told me, ‘They picked me for a reason, right?’ I’m just here to give my best,” Ramos said. “It’s exciting, of course. The standards of this organization are super high. I’m just trying to keep that standard.”

Ramos was born and raised in Puerto Rico, where he grew up appreciating the Yankees’ century-old rivalry with the Boston Red Sox. Derek Jeter and Puerto Rican-born Jorge Posada were among the players he admired.

On Tuesday, Ramos took the field that Jeter and Posada once called home.

“I think anybody would be proud to be a New York Yankee,” Ramos said.

“This is an organization that, right now, is on a good run. I just want to contribute. I’m looking forward to winning and playing in October.”