Script Editor

Script Editor

With the script editor, developers can create and edit their own scripts at TagoIO. These scripts will be executed as defined in the Analysis section.


To use the script editor, go to Analysis, then create or edit one. Set the name, interval, and set it to run at TagoIO.

The editor tab is only shown when you choose to run the script at TagoIO.
By clicking on the Analysis tab, you can see the editor. Here you can load scripts from your computer, download the scripts from the editor, or choose from one of our snippet examples.


When you save the script, it will be deployed on TagoIO servers, and you can use it immediately, just click on Run, and you will see the results in the console below.

To learn more about our examples, you can visit our Script Examples article, or access the Analysis click on the "+ Add Analysis" button in, the top right corner and select a code example.


    • Related Articles

    • Script Examples

      TagoIO provides a list of examples to help you to understand how to use the Analysis service. Learn how to get and insert data into your data buckets, send emails, execute calculations, and other interesting things that can be added to your ...
    • Running Analysis as External using Node.JS

      Analysis is what allows you to create powerful applications on TagoIO.  When creating analysis you have to choose between running it at TagoIO or External, which means that you will run on your machine. You can choose to run the analysis on an ...
    • Payload Parser

      The Payload Parser handles the raw payload sent by the devices in order to extract the measured variables. For example, it can be used to transform an HEX payload sent by a device into temperature and battery levels.   You can also use it to handle ...
    • Environment Variables

      Environment Variable is a very useful resource to send variables values to the context of your script. You can, for example, add tokens of accounts and devices to be used later in the script when it runs. The Analysis will get these variables as ...
    • Creating Analysis

      Creating your own analysis is easy. First, click on Analysis on the sidebar, then click the + Add Analysis button in the upper right of the analysis main screen. Just write a name and you’re ready to go! 1. Name What you usually use to identify your ...
    Additional Links

       Check the System Status

      ‚Äč

        Future and past Webinars