Write in cell Version 5 (Net)

Action group: Google services


Description

The action writes a value in cell.

Action icon

Settings of parameters 

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextIndentifier of session for actionRobin.SpreadShee tsSpreadSheets contextYes
Document IDIndentifier of document for actionRobin.String
Yes
SheetName of working sheet. By default, the first sheet of the document.Robin.String
No
CellThe name of the cell to which the action is to be applied, in the format «XY», where «X» is the column name and «Y» is the row index.Robin.String
Yes
Data in cellThe value to be set in the specified cell. If it is not filled, then the cell will be cleared.Robin.Object
No

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 Google spreadsheet:

 

Write value "2" in cell "A1".

Solution

Use the "Context Google tables", "Write in cell" actions.

Implementation

  1. Assemble a robot scheme with the actions:
  2. Set the "Context Google tables" action parameters.
    image2024-1-24_12-25-10.png
    Fill in the "The file path" and "Application name" fields (more about filling in these fields in section Instructions for setting up a connection to Google Sheets/Docs/Drive).
  3. Set the "Write in cell" action parameters.

    In the ID field specify the part of the table's link.
    image2024-1-24_12-0-30.png
  4. Click "Start" in the top panel to start the robot.

Result

The program robot completed successfully.

The value was written in cell "A1".


  • Нет меток