Defending champions Italy edged Czechia 2-1 in the semi-finals in Bologna on Friday.
Musetti beat Jakub Mensik 6-3, 6-4 and saved all six break points he faced.
Lehecka beat Flavio Cobolli 6-2, 1-6, 6-3, bringing Czechia back into contention.
The pair came back from a set down to beat Lehecka and Machac 3-6, 6-1, 7-6(4).
“But I am so happy, because winning like this is the best feeling ever,” Vavassori said.
Italy have won 16 consecutive ties and have not lost a tie since 2023.
Italy will await the winner of Saturday's semi-final between Great Britain and Spain.
Musetti shines in singles and doubles as Italy storm into fourth straight Davis Cup final