> For the complete documentation index, see [llms.txt](https://docs.agentsupply.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agentsupply.ai/ai-features/knowledge-base-explain/scrape-websites/scraping-a-google-doc.md).

# Scraping a Google Doc

The website scraper is also able to see and scrape all of the text data from a Google Doc

**1. Introduction & Objective**

How to connect **Agent Supply** (a scraping/automation tool) to a **Google Doc** so that structured data can be pulled automatically from that document into Agent Supply’s system.

***

**2. Prepare Your Google Doc**

* Open the Google Doc you want to use (can be a table, list, etc.).
* Click **“Share”**, and under link settings, choose **“Anyone with the link can view”**.
  * This ensures Agent Supply can access the document without login issues.

***

**3. Modify the Google Doc URL**

* Copy the document link, which normally ends in something like:

  ```
  rubyCopiarEditarhttps://docs.google.com/spreadsheets/d/your-doc-id/edit#gid=0
  ```
* Replace the ending (`/edit#gid=0`) with:

  ```
  arduinoCopiarEditar/export?format=csv
  ```
* The new link should look like:

  ```
  perlCopiarEditarhttps://docs.google.com/spreadsheets/d/your-doc-id/export?format=csv
  ```

***

**4. Configure Agent Supply**

* Go to your **Agent Supply dashboard**.
* Create a new **data source** or **scraper agent**.
* Paste the modified Google Docs CSV link as the **data input URL**.

***

**5. Run the Agent**

* Activate the agent.
* Agent Supply fetches and parses the CSV from your Google Doc.
* You’ll see the structured data (rows and columns) in the results panel.

***

**6. Review & Export**

* Use Agent Supply’s interface to:
  * Preview data
  * Filter or transform it
  * Export it to other tools (e.g., CSV, Notion, Airtable, APIs)

***

#### 📝 Summary Table

| Step | Action                                        |
| ---- | --------------------------------------------- |
| 1    | Publicly share your Google Doc                |
| 2    | Modify the link to use `/export?format=csv`   |
| 3    | Add the link as a data source in Agent Supply |
| 4    | Run the agent to fetch the data               |
| 5    | View, use, or export the structured result    |
