Mr. Sondland informed Mr. Pompeo in mid-August about a draft statement that Mr. Sondland and another American diplomat had worked on with the Ukrainians that they hoped would persuade Mr. Trump to grant Ukraine’s new president the Oval Office meeting he was seeking, the people said.

Later that month, Mr. Sondland discussed with Mr. Pompeo the possibility of pushing the Ukrainian president, Volodymyr Zelensky, to pledge during a planned meeting with Mr. Trump in Warsaw that he would take the steps being sought by Mr. Trump as a way to break the logjam in relations between the two countries, the people said.

Mr. Pompeo expressed his approval of the plan, they said, but Mr. Trump later canceled his trip to Poland.