Get values

Description

Reads a content of a Google Sheets table in the specified range. To make the function work, you need to provide the platform access to the Google services (right click on the 'electroNeek Agent' in the bottom right tray - ''Show summary' - 'Google' - Authenticate Google services').

Parameters

Spreadsheet Id

  1. Set a value: enables you to directly write the id.

  2. Save the previous step result: chooses the previous function result as the id.

  3. Calculate a value: enables you to use available properties and methods to form the id.

To get the spreadsheet id open manually the document. The text between '/d/' and '/edit' is the spreadsheet id.

Range

  1. Set a value: enables you to directly set the desired range, for example, A1:B3.

  2. Save the previous step result: chooses the previous function result as the range.

  3. Calculate a value: enables you to use available properties and methods to form the range.

Comment

Contains an annotation to the block. The input text will be displayed inside the block above the function name.

Result

To store the result in a variable, a user needs to add the 'Assign value to variable' function after the 'Get Values' block, specify the variable name and choose the 'Save the previous step result' option.

The result is an array of rows. Each row represents an array of the cells values.

For example, this record

Format of the variable with Google Sheets table data
[
[
"Value A1",
"Value B1",
"Value C1"
],
[
"Value A2",
"Value B2",
"Value C2"
]
]

will represent the following table from the Google Sheets

A

B

C

Value A1

Value B1

Value C1

Value A2

Value B2

Value C2

Usage Examples

This function should be used to read a content of an online-table for further data manipulation.