This work involves the use of tweets, from Twitter social network in which the users manifest the desire to travel to the country of Peru, to build a predictive tool of tourist traffic. To make this task has been made automated collection of tweets using web crawling and has been used Naive Bayes algorithm for sorting tweets as part of sentiment analysis. In the final part, we shown the results of the application of the tool for predicting the influx of tourists to Peru.