> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/form-management/tasks/task-items/google-sheet.md).

# Google Sheet Task

## 📥 What is the Google Sheet Task ?

The Google sheet task will automatically save the respondent and all his answers in a Google Sheet of your choice.

{% hint style="warning" %}
To setup Google Sheets and let ngSurvey access your spreadsheets you will need to link a [Google Service Account](/installation-setup/system-settings/google.md) to your ngSurvey account from your [account settings](/personal-account.md) page .
{% endhint %}

## 🔅 Google Sheet Task properties

* **`Spreadsheet`** to which the target sheet belongs. &#x20;
* **`Sheet`** that will keep the respondent answers.

Make sure that the spreadsheet you want to use has been shared with your [Google Service Account](/personal-account.md) using the Share button inside the Google Sheets user interface.&#x20;

![](/files/-MBKtrxl7F_f3hBA6Sld)

## &#x20;📚 Respondent row format

The target format of the respondent and its responses is one column per question that will hold the respondent answer in it. If the question has a mixed of text and selection [answer types](/form-management/form-designer/answers/answer-types.md) ngSurvey will use one column for the question and one extra column for each answer type that is text based like a [comment field](/form-management/form-designer/questions/question-types/standard/text-comment-field.md) for example.

![](/files/-MBKruxJ8iQhRi0vlAYf)

{% hint style="info" %}
🧙 The first column will automatically created with the questions and answers labels. If a [reporting alias](/form-management/reports.md) has be setup for either the question or answer it will be used instead of the label.&#x20;
{% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.ngsurvey.com/form-management/tasks/task-items/google-sheet.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
