Amos 3: 7
Surely the Lord God will do nothing, but he revealeth his secret unto his servants the prophets.
As far as Heavenly Father’s relationship with the prophets goes, it’s not the kind of thing where one is keeping secrets from the other: they tell each other everything.
When a Master acts, the servants know what’s going on because they are with the Master, hear what He’s saying, and do little things to help out and to carry His message. In the same way, the prophets are God’s servants, and they are “in on” what is going on.
If you listen to what the prophets are saying, you will hear what the Lord is doing. That’s how it goes.