Standalone Executable Bots

Introduction #

One of the most valuable and powerful feature of RTILA Studio is the ability for you to compile your automations into your own standalone software. Compiled software is an independent software that can run outside of RTILA Studio to launch the concerned automation flows.

Compiling a Standalone Bot #

You can compile any project into a Standalone Bot. Just head to BOTS panel and then click the PLUS icon to start a new Bot. In the new window click on the Project field and select the project that you want to compile into a Bot

You can then click on the Compile button and it will generate the Standalone Bot folder with the needed files to run this bot. See below screenshot for the compile button

Call data from a relative file (csv or txt) #

Before compiling your standalone you need to consider the fact that this software will be run on other computers with no access to RTILA Studio. Meaning that all the local files/data/credentials your are calling inside RTILA Studio during development of the automation will need to be adapted to work under a Standalone environment. This includes but is not limit to the following adaptations.
You will need to replace your credentials inside the populate commands by calling for instance a credentials.txt using the relative path ./credentials.txt for a List Variable (List). Then replace the actual credentials inside the populate fields using the syntax {{List|0}} where “List” is the List variable name, “0” will read from the 1st column (email address) and “1” will read from the second column (password) of the credentials.txt file. Using this way will allow your users to just update their credentials in the credentials.txt file that you will deliver within the same folder as the binaries.

For calling a List variable that has only one column

For calling a List variable that has more than one column, the counts starts from 0

A List Variable and any other Variable command can actually feed data to almost any other command or property in the Command and DataSets sections. This allows you to exchange data within your automation flows, between the different elements and sections of RTILA Studio.

Below are some examples of where and how you can call a Variable value into an other element.

Visit a set of URLs fed by a Variable
Populate a field from a Variable
Write into a Property from a Variable

Download RTILA Bot Launcher #

RTILA Studio is the software to design and test-run your automations and then compile them into Standalone executable software. And we have recently release an additional piece of software to ease the way to run and execute Standalone, it is called the Bot Launcher and it can be downloaded from here:

Command lines to launch Standalone bots #

Once you have installed the Bot Launcher you can use the following command lines to trigger the bot and pass variable to it before it executes. Make sure to use the correct file names for the RTILA Bot Launcher .exe and also for your Standalone .bot filename


Pass variable data to a Standalone Bot #

You can also pass variables to your Standalone Software to feed into the automation. Before you can send variables data to a Standalone you need to first use the Argument Variable command to create and use that variable in your flow. Note that Argument Variable can also receive data from the cloud using our Cloud API or our Zapier/Pabbly/Make integration. Note that for almost all our types of variables you can apply Regex and or JavaScript rules and functions to manipulate or correct the data.

Once the Argument Variables are created you can use command lines to pass data to them, see the sample code below (assuming you named your Argument Variable as “myvar”).

Bot-Launcher.exe --myvar=testdata
Bot-Launcher.exe --myvar=testdata

For general information, when inside an automation flow in RTILA Studio, you can feed a variable value to an other command and or DataSet Property by calling the following syntax where VariableName is the name of your variable. Once the automation is RUN the syntax will be replaced by the current value of that variable, for the current step of the automation.

Standalone Example folder #

A good example of a Standalone Software is the AppSumo Expense bot we did and which you can download and unzip from here:

Video Tutorial Standalone Bots #

    Powered by BetterDocs

    Leave a Reply