The download tool allows you to retrieve data from a URL which can be used in our workflow. I normally use this to download extracts from the internet and use it for my input data. Before we hop into ultrix, please visit that URL as it contains the data we'll need for this workflow. The URL has also been provided in the course files under 6.3. Once you've got the URL, let's visit the website to see what data it contains. So this is our JSON file that appears to keep either employee names or customer details.
There are approximately 10 entries, or 10 employees in here. And we're going to download this into our ultrix workflow. Let's start a new workflow by dragging in the text input tool. will then go to our course files 6.3 download URL Open that up and copy the URL from here and paste it into our text input keeps note of the column name called field one. Once we've done this, we'll go to the connectors tab and drag in the download tool. In the configuration pane on the left, we have the basic tab, which contains the input to put our URL into referring to our text input tool, the URL field is field one, so let's leave that there.
We'll leave encode URL text ticked as this will convert unsafe ASCII characters into a format that can be sent over the internet. An example of this is percentage 20, which represents a space. In the output we can choose to output to a string or a blob. And if you're only dealing with text, then we can select string. Otherwise, if you need to do download images, or binary large objects or blobs, then you can select blob. Lastly, if you want to export your output to a file, you have the option to export it to a temporary directory or to a specific file.
Let's add a browse tool to the end of our workflow with Ctrl Shift B and run it with Ctrl R. And we've downloaded our data which appears in this download data column here. If we double click on it, a new window appears and we can see the contents of it again here.