Storage
Last updated
Last updated
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.
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:
Navigate to the Storage section in Robot Cloud, and choose variable option
Click on Create Variable
button.
Define the variable name (for example, 'Current_Date') and the value (today's date), and the type of variable(String).
In your robot script, you can now reference this variable whenever you need to use the current date.
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:
Navigate to the Storage section in Robot Cloud, and choose Data option
Select the credential tab
Click on New
button
Define the credential name (for example, 'Email_Login') and the values (your email username and password).
In your robot script, whenever the robot needs to log in to your email, it can fetch 'Email_Login' from the storage.
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:
Navigate to the Storage section in Robot Cloud, and choose Data option
Select Document tab and click on New
button.
The robot defines the document name (for example, 'Scraped_Data') and pastes the JSON data into the value field.
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.