Shikamaru also had an important position for Konoha.
In addition to being in charge of diplomacy to the other countries,
he was to be secretly in contact (with their personnel). Actually, Sakura even happened to see the two of them walking together through the village on several occasions.