Storage

Storage in Robot Cloud

Storage in Robot Cloud is a feature that allows you to centrally store data that your robots can use when executing their tasks. This is beneficial because it allows for data sharing among multiple robots and aids in maintaining consistent and secure data usage. There are three types of storage available in Robot Cloud: Variables, Credentials, and Documents.

1. Variables

Variables are a type of storage used for data that might change over time or between executions of a robot. For instance, if you have a robot that generates a daily report, you might store the current date as a variable. This way, each time the robot runs, it can access the latest date from the variable in the storage.

Example usage:

  1. Navigate to the Storage section in Robot Cloud, and choose variable option

  2. Click on Create Variablebutton.

  3. Define the variable name (for example, 'Current_Date') and the value (today's date), and the type of variable(String).

  4. In your robot script, you can now reference this variable whenever you need to use the current date.

2. Credentials

Credentials storage is used to securely store sensitive data such as usernames and passwords. When a robot needs to log in to an application or a website, it can fetch the required credentials from the storage rather than having them hardcoded into the robot script, which could be a security risk.

Example usage:

  1. Navigate to the Storage section in Robot Cloud, and choose Data option

  2. Select the credential tab

  3. Click on New button

  4. Define the credential name (for example, 'Email_Login') and the values (your email username and password).

  5. In your robot script, whenever the robot needs to log in to your email, it can fetch 'Email_Login' from the storage.

3. Documents

Documents in Robot Cloud storage are JSON documents. JSON, or JavaScript Object Notation, is a widely used data format. A robot can store complex, structured data as a JSON document in the storage. For example, a robot that scrapes data from a website could store the scraped data as a JSON document in Robot Cloud storage for other robots to use.

Example usage:

  1. Navigate to the Storage section in Robot Cloud, and choose Data option

  2. Select Document tab and click on New button.

  3. The robot defines the document name (for example, 'Scraped_Data') and pastes the JSON data into the value field.

  4. Another robot can now fetch 'Scraped_Data' from the storage when it needs to use the scraped data.

By leveraging these storage options, your robots can work more effectively and securely, sharing data where necessary and keeping sensitive information safe.

Last updated