Dina H. Powell, who runs many of Goldman Sachs’s philanthropic initiatives, will soon leave the company for a new role as adviser in the Trump White House, according to multiple people familiar with the matter.

Ms. Powell, a former State Department official and White House aide during the George W. Bush administration, has been in close dialogue with Ivanka Trump, the daughter of President-elect Donald J. Trump, about the presidential transition in recent weeks, according to one of the people familiar with the matter and to previously published reports.

Although Ms. Trump has a been a crucial contact for Ms. Powell, this person added, Ms. Powell’s formal role is likely to be that of adviser to the president himself. Ms. Trump does not immediately plan to take a role in the White House. However, according to a person briefed on the new role, Ms. Powell will work closely with both Ms. Trump and her husband, Jared Kushner, who will be a senior adviser to the president.

Ms. Powell has worked with Ms. Trump in recent weeks on developing policy proposals related to women’s economic empowerment, the person briefed on the new role said.