Create new document Version 3 (Net)

Action group: Google services


Description

The action creates a new document.

Action icon

Settings of parameters 

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextIndentifier of session for actionRobin.SpreadShee tsSpreadSheets contextYes
Document nameName of new documentRobin.String
Yes
Results
Document IDID of new documentRobin.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

Create a new Google table.

Solution

Use the "Context Google tables", "Create new document" actions.

Implementation

  1. Assemble a robot scheme with the actions:
  2. Set the "Context Google tables" action parameters.
    image2024-1-23_17-32-1.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 "Create new document" action parameters.
  4. Click "Start" in the top panel to start the robot.

Result

The program robot completed successfully.

The new document (a table) is created.

  • Нет меток