Then Isaiah … sent to Hezekiah, saying. It seems most natural to understand that the prophet was at once supernaturally informed of Hezekiah's prayer, as Ananias was of Saul's (Acts 9:11), and instructed what reply to make to it.
But still, it is no doubt possible that some of the facts have been omitted for the sake of brevity.