# Post data to a Google Sheet

Video Link: <https://youtu.be/SSY0Pa964og>

API to post data to a single sheet.

1. Enter the Access token in Authentication block on the right, to access APIs. \
   And enter spreadsheet Id in the highlighted column (in the below image).

<figure><img src="/files/i4mluEWy5Z2sF9mTkauN" alt=""><figcaption></figcaption></figure>

2. You can enter data, Under the Data block, in form of Array of Strings.

<figure><img src="/files/qUp2GKMCaPOWEQ4TuxhH" alt=""><figcaption></figcaption></figure>

3. Click on **Try It!** button. and data will be posted in the sheet.

<figure><img src="/files/MXtWBjExNIYQWDIVBnGh" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://nexaflow.gitbook.io/nexaflow/developer-apis/post-data-to-a-google-sheet.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.
