> For the complete documentation index, see [llms.txt](https://help.docupilot.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.docupilot.app/integrations/google-sheets.md).

# Google Sheets

Generate/Populate/Merge PDF or Word Documents with every new row from your Google Sheets.

Here is how you do it:

* Configure the Document Template and Email delivery in Docupilot. See building document templates and email delivery in the below links.

{% content-ref url="/pages/-LM7DRa8-sA-1cByfWX8" %}
[Building Templates](/document-template.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LM7EatHIMWZIsdYhBgo" %}
[Deliveries](/deliveries.md)
{% endcontent-ref %}

{% embed url="<https://zapier.com/apps/docupilot/integrations/google-sheets/36971/create-personalized-docupilot-documents-from-new-google-sheets-spreadsheet-rows>" %}

* You then need to set up Zapier - <https://zapier.com/apps/docupilot/integrations/google-sheets>
* A trigger to look for Google Sheets New Spreadsheet Row.
* An action to send the submission response to Docupilot to create the document from template. Choose the correct document template, template variables will be listed, map the fields with the response from the trigger.
* Finally, turn on the Zap.

![Google Sheets & Docupilot](https://191679573-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LDwD-wIOendMUiQ8uVr%2F-LOIag0qFn_NpHH9whvA%2F-LOIcnSFub0-0im-siQX%2FCapture.JPG?alt=media\&token=ace248a6-2339-4eee-b4b4-c21e7e2d63ee)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.docupilot.app/integrations/google-sheets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
