It depends what you want the bot to do with the file. For an XML file call, var xml = Http.requestXML(url, xpath); For HTML call, var html = Http.requestHTML(url, xpath); For JSON use, var json = Http.requestJSON(url); For CSV use, var csv = Http.requestCSV(url); For text use, var text = Http.requestText(url);