Skip to main content
Robot database

Insert Data

Insert Data

Saves a value in the robot's internal database, associated with an identification key. The robot database is persistent storage — the data stays available between runs and can be read, updated or removed by other actions of the same automation.


Options

Key

Unique identifier of the data to save. If the key already exists in the database, the previous value is overwritten.

Value

The value to store under the key. It can be a text, a number, an object or any data the flow supports.

Database name

Name of the database to use. When not given, the data is saved in the current robot's default database. Optional field.

Returns

Javascript code

js
actions["action-id"].value // stored value (Any)
actions["action-id"].key // key used (Text)

Field selection

  • value — stored value (Any)
  • key — key used (Text)

Rules and Conditions

  • The Key and Value fields are required.
  • If the key already exists, the value is overwritten.
  • The Database name field is optional.