История страницы
Read cell Version 4 (Net)
Action group: Google services
...
Description
The action reads the cell data.
Action icon
Settings of parameters
Property | Description |
Type |
Тип
Контекст
Лист
Наименование рабочего листа. По умолчанию первый лист документа.
Ячейка
Наименование ячейки, к которой необходимо применить действие.
Заполнять в формате "ХY", где "Х" - это имя столбца, а "Y" - номер строки.
Результат
Переменная с типом "Строка", в которую будет записано значение указанной ячейки
Filling example | Mandatory field | |||
Parameters | ||||
Context | Indentifier of session for action | Robin.SpreadShee ts | SpreadSheets context | Yes |
Document ID | Indentifier of document for action | Robin.String | Yes | |
Sheet | Name of working sheet. By default, the first sheet of the document. | Robin.String | No | |
Cell | Cell to read from in format «XY», where «X» - column name and «Y» - row index | Robin.String | Yes | |
Results | ||||
Result | Value from cell | Robin.String |
Special conditions of use
The Google Sheets API has a limit of up to 60 read-requests per user per minute. To ensure that the action does not immediately generate an error when the limit on the number of requests is reached, the action includes a loop operation that will resend requests within a minute.
- If the request is completed in that time, the action will complete successfully.
- If the request cannot be sent in this time, the robot will terminate with an error.
Example of use
Task
There is a table with values:
...
Take the data from cell "A3" and output it to the dialog box.
Solution
Use the "Context Google tables", "Read cell", "Show message" actions.
Implementation
- Assemble a robot scheme with the actions:
- Set the "Context Google tables" action parameters.
Fill in the "The file path" and "Application name" fields (more about filling in these fields in section INSTRUCTIONS FOR CONNECTING Instructions for setting up a connection to Google Sheets/Docs/Drive) - Set the "Read cell" action parameters.
In the ID field specify the part of the table's link. - Set the "Show message" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully. The cell data was obtained.
...