Viáfara went to the Copa América with Colombia in 2004 and 2007. He scored his only international goal on 25 March 2007 to open a 1–1 friendly draw with Switzerland in Miami.