> For the complete documentation index, see [llms.txt](https://docs.visualyze.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.visualyze.ai/integrations/gsuite/activities/sheets/range/auto-fill-range.md).

# Auto Fill Range

Fill the range of sheets with a specified range of data in the google sheets.

{% hint style="info" %}
This activity can only be used after the [`Create GSuite Connection Activity`](/integrations/gsuite/activities/create-gsuite-connection-activity.md).
{% endhint %}

### Input

* **Credential**: [`Object Variable`](/getting-started/rpa-studio/variables.md#object)![](/files/-M9AFsu8XcMrXQJ8dJer)\
  A variable name that references the user credential to access the resources.
* **SpreadSheet Id**: [`String Argument`](/getting-started/rpa-studio/arguments.md)![](/files/-M9AFsu8XcMrXQJ8dJer)\
  The Id of the spreadsheet is to be auto filled.
* **Sheet Name**: [`String Argument`](/getting-started/rpa-studio/arguments.md)![](/files/-M9AFsu8XcMrXQJ8dJer)\
  The name of the sheet is to be auto filled.
* **Range**: [`String Argument`](/getting-started/rpa-studio/arguments.md)![](/files/-M9AFsu8XcMrXQJ8dJer)\
  The range of the sheet is to be auto filled.
* **Fill Length**: [`object Argument`](/getting-started/rpa-studio/arguments.md)![](/files/-Mi4vGAdXDx5AWEDJRwg)\
  The length of the range to be filled.

### Options

* **Direction**:\
  The direction is to be auto filled.
  * `UP` - range of data is filled in up direction.
  * `DOWN` - range of data is filled in the down direction.
  * `LEFT` - range of data is filled in the left direction.
  * `RIGHT` - range of data is filled in the right direction.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.visualyze.ai/integrations/gsuite/activities/sheets/range/auto-fill-range.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
