Skip to main content

Add New Sheet

AutomatR.GoogleSheets.Activities.AddNewSheet

The "Add New Sheet" activity in AutomatR facilitates the addition of a new sheet inside a specified Google spreadsheet. This activity is part of the Google Sheets activities package, allowing users to dynamically manage sheets within their Google Sheets documents.

Properties

NameDescription
Input
New Sheet NameSpecifies the name of the new sheet to be added to the Google spreadsheet. String variables containing the desired sheet name.
Miscellaneous
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Add New Sheet" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs the result of the "Add New Sheet" operation, indicating whether the new sheet addition was successful or encountered errors. Variables of relevant types (e.g., Boolean variables) to store the operation result.

How to Use

  1. Drag and drop the "Add New Sheet" activity onto the workflow.
  2. Configure the properties by specifying the new sheet name.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to add a new sheet to the specified Google spreadsheet.

Example

Consider an example where the "Add New Sheet" activity is used to add a sheet named "Monthly Expenses" to an existing Google spreadsheet:

Add New Sheet:
Display Name: "Add Monthly Expenses Sheet"
New Sheet Name: "Monthly Expenses"
Result: isAdditionSuccessful

In this example, the activity adds a new sheet named "Monthly Expenses" to the Google spreadsheet. The result of the operation (success or failure) is stored in the Boolean variable "isAdditionSuccessful" for further handling in the workflow.