Diplomacy is the conduct by government officials of negotiations and other relations between nations. A person engaging in diplomacy is referred to as a diplomat. One common type of diplomat is an ambassador, who represents his country at foreign capitals.
Generally speaking, when diplomacy fails, wars begin.