> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zenrows.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The Zenrows HTTP API serves Fetch and Extract (extract=auto) at https://api.zenrows.com/v1/, Crawl at https://api.zenrows.com/v1/crawls, and Batch at https://async.api.zenrows.com/v1. Fetch, Extract, Crawl and Batch are described in OpenAPI 3.1 at https://www.zenrows.com/openapi.json and listed in the RFC 9727 API catalog at https://www.zenrows.com/.well-known/api-catalog. Every endpoint also has its own page under /api-reference with its schema. Use the spec for exact parameter names and types. Crawl's endpoints, parameters and errors are also at https://docs.zenrows.com/crawl/endpoints.md. To call Zenrows from an agent, connect the MCP server at https://mcp.zenrows.com/mcp. To search these docs from an agent, connect the docs MCP server at https://docs.zenrows.com/mcp. Agent skills for Zenrows are published at https://github.com/ZenRows/cli and install with `npx skills add ZenRows/cli`.

# How to Integrate Zapier With Zenrows

> Set up Zenrows and Zapier integration to automate web scraping tasks across your apps. Build no-code workflows for data extraction and syncing.

Zenrows integrates seamlessly with Zapier to automate scraping tasks across several applications. This guide will walk you through a practical example, showing you how to integrate Zapier with Zenrows to efficiently automate your web scraping tasks.

## What Is Zapier & Why Integrate It with Zenrows?

Zapier is a no-code platform that automates repetitive tasks by linking applications into workflows. Each workflow consists of a trigger and one or more actions. Triggers can be scheduled, event-based, or manually initiated using webhooks.

When combined with Zenrows, Zapier enables full automation of your scraping process. Here are some key benefits:

* **Scheduled scraping**: Run scraping tasks on a regular schedule, such as hourly or daily, without manual input.
* **No-code setup**: Create scraping workflows without needing to write or maintain code.
* **Simplified scraping**: Zenrows handles JavaScript rendering, rate limits, dynamic content, anti-bot protection, and geo-restrictions automatically.
* **Seamless data integration**: Store results directly in tools like Google Sheets, Excel, SQL databases, or visualization platforms like Tableau.
* **Automated monitoring**: Track price changes, stock updates, and website modifications with minimal effort.

This integration is ideal for businesses that want to scale scraping workflows quickly and reliably.

## Watch the Video Tutorial

Learn how to set up the Zapier ↔ Zenrows integration step-by-step by watching this video tutorial:

[Zenrows ↔ Zapier](https://demo.arcade.software/bo6othXybiWeYTIwsQ8g?embed\&embed_mobile=tab\&embed_desktop=inline\&show_copy_link=true)

## Zenrows Integration Options

With Zenrows, you can perform various web scraping tasks through Zapier:

* **Scraping a URL**: Returns a full-page HTML from a given URL.
* **Scraping a URL With CSS Selectors**: Extracts specific data from a URL based on given selectors.
* **Scraping a URL With Autoparse**: Parses a web page automatically and returns relevant data in JSON format.
  \[!NOTE] The autoparse option only works for some websites. Learn more about how it works in the [Autoparse FAQ](https://docs.zenrows.com/fetch/faq.md#what-is-autoparse).

## Real-World Integration

In this guide, we'll use Zapier's schedule to automate web scraping with Zenrows' autoparse integration option. This setup will enable you to collect data at regular intervals and store it in a Google Sheet.

### Step 1: Create a new trigger on Zapier

1. Log in to your Zapier account at [Zapier](https://zapier.com/).
2. Click `Create` at the top left and select `Zap`.

   ![zapier-create-zap](https://static.zenrows.com/content/zapier_create_zap_644ef0b88a.png)
3. Click `Untitled Zap` at the top and select `Rename` to give your Zap a specific name.
4. Click `Trigger`.

   ![zapier-workflow-trigger](https://static.zenrows.com/content/zapier_workflow_trigger_9984f7ee7d.png)
5. Select `Schedule` to create a scheduled trigger.

   ![zapier-workflow-schedule](https://static.zenrows.com/content/zapier_workflow_schedule_00da0d0508.png)
6. Click the `Choose an event` dropdown and choose a frequency. You can customize the frequency or choose from existing ones (e.g., "Every Day").

   ![zapier-trigger-setup](https://static.zenrows.com/content/zapier_trigger_setup_100fbe42e4.png)
7. Click `Continue`.

   ![zapier-frequency-schedule-configuration](https://static.zenrows.com/content/zapier_frequency_schedule_configuration_d9a30039b6.png)
8. Click the `Time of the day` dropdown and choose a scheduled time for the trigger, or click the option icon to customize.

   ![zapier-trigger-time-configuration](https://static.zenrows.com/content/zapier_trigger_time_configuration_7baa1421b7.png)
9. Click `Continue`.

   ![zapier-trigger-final-setup](https://static.zenrows.com/content/zapier_trigger_final_setup_1c8294769b.png)
10. Click `Test trigger` and then `Continue with selected record`.

    ![zapier-schedule-final-step](https://static.zenrows.com/content/zapier_schedule_final_step_2e0243f5cc.png)

### Step 2: Add Zenrows Scraping Action

1. Type `ZenRows` in the search bar and click it when it appears.

   ![zenrows-search-on-zapier](https://static.zenrows.com/content/zenrows_search_on_zapier_22f52e5d81.png)
2. Click the `Action event` dropdown and select `Scraping a URL With Autoparse`. Then click `Continue`.

   ![zapier-zenrows-integration-options](https://static.zenrows.com/content/zapier_zenrows_integration_options_7033eae0e0.png)
3. Click the `Connect Zenrows` box and paste your Zenrows API key in the pop-up box. Click `Yes, Continue to Zenrows`, then `Continue`.

   ![zapier-zenrows-connection](https://static.zenrows.com/content/zapier_zenrows_connection_e6ee45e0ea.png)

   ![zapier-zenrows-setup-continue](https://static.zenrows.com/content/zapier_zenrows_setup_continue_7c815e7fcf.png)
4. Paste the following URL in the URL box: `https://www.amazon.com/dp/B0DKJMYXD2/`.
5. Select `True` for **Adaptive Stealth Mode** and click `Continue`.

   ![zapier-zenrows-configuration-step](https://static.zenrows.com/content/zapier_zenrows_configuration_step_876b40b19f.png)
   > [!TIP]
   >
   > For more information about Adaptive Stealth Mode, [click here](https://docs.zenrows.com/fetch/features/adaptive-stealth-mode.md).
6. Click `Test step` to confirm the integration and pull initial data from the page.

   ![zapier-zenrows-test-step](https://static.zenrows.com/content/zapier_zenrows_test_step_321429de0c.png)

### Step 3: Save the extracted data

1. Click the `+` icon below the Zenrows step. Then, search and select `Google Sheets`.
2. Click the `Action event` dropdown and select `Create Spreadsheet Row`.
3. Click the `Account` box to connect your Google account, and click `Continue`.

   ![zapier-google-sheets-connection](https://static.zenrows.com/content/zapier_google_sheets_connection_f0c6d37c37.png)
4. Add the following column names to the spreadsheet you want to connect:
   * Name
   * Price
   * Discount
   * SKU
   * Average rating
   * Review count
   * Timestamp
5. Click the `Drive` box and select your Google Sheets location. Choose the target `Spreadsheet` and `Worksheet`.

   ![zapier-google-sheets-drive selection](https://static.zenrows.com/content/zapier_google_sheets_drive_selection_bc9fdd406c.png)
6. Map the columns with the scraped data by clicking the `+` icon next to each column name. Select the corresponding data for each column from the **Scraping a URL With Autoparse** step.

   ![zapier\_scraper\_mapping](https://static.zenrows.com/content/zapier_scraper_mapping_42c012d0c4.png)
7. Map the `Timestamp` column with the ID data from the schedule trigger and click `Continue`.

   ![zapier-timestamp-selection](https://static.zenrows.com/content/zapier_timestamp_selection_2a6b48f2ae.png)
8. Click `Test step` to confirm the workflow.

   ![zapier-google-sheets-test-step](https://static.zenrows.com/content/zapier_google_sheets_test_step_a83ac3344d.png)
9. Click `Publish` to activate your scraping schedule.

   ![zapier-workflow-publish](https://static.zenrows.com/content/zapier_workflow_publish_43a374609c.png)

### Step 4: Validate the Workflow

The workflow runs automatically on schedule every day and adds a new row of data to the connected spreadsheet.

![scraped-data-sample](https://static.zenrows.com/content/scraped_data_sample_6afd446cd7.png)

Congratulations! 🎉 You just integrated Zenrows with Zapier and are now automating your scraping workflow.

## Zenrows Configuration Options

Zenrows accepts the following configuration options during Zapier integration:

| **Configuration** | **Function** |
| - | - |
| **URL** | The URL of the target website. |
| **Premium Proxy** | When activated, it routes requests through the Zenrows Residential Proxies, instead of the default Datacenter proxies. |
| **Proxy Country** | The country geolocation to use in a request. (Requires the Premium Proxy feature to be enabled.) |
| **JavaScript Rendering** | Ensures that dynamic content loads before scraping. |
| **Wait for Selector** | Pauses scraping execution until a particular selector is visible in the DOM. (Requires the JavaScript Rendering feature to be enabled.) |
| **Wait Milliseconds** | Waits for a fixed amount of time before executing the scraper. (Requires the JavaScript Rendering feature to be enabled.) |
| **JavaScript Instructions** | Passes JavaScript code to execute actions like clicking, scrolling, and more. (Requires the JavaScript Rendering feature to be enabled.) |
| **Headers** | Adds the custom headers to the request. (Zenrows automatically manages specific headers, especially those related to the browser environment, such as User-Agent. For more information, check the Headers Documentation.) |
| **Session ID** | Uses a session ID to maintain the same IP for multiple API requests for up to 10 minutes. |
| **Original Status** | Returns the original status code returned by the target website. |

## Troubleshooting

### Common Issues and Solutions

* **Issue**: Failed to create a URL in Zenrows ('REQS004').
  * **Solution**: Double-check the target URL and ensure it's not malformed or missing essential query strings.
  * **Solution 2**: If using the CSS selector integration, ensure you pass the selectors as an array (e.g., `[{"title":"#productTitle", "price": ".a-price-whole"}]`).

* **Issue**: Authentication failed (`AUTH002`).
  * **Solution**: Double-check your Zenrows API key and ensure you enter a valid one.

* **Issue**: Empty data.
  * **Solution**: Ensure Zenrows supports autoparsing for the target website. Check the Zenrows Data Collector Marketplace to view the supported websites.
  * **Solution 2**: If using the CSS selector integration, supply the correct CSS selectors that match the data you want to scrape.

***

## Conclusion

You've successfully integrated Zenrows with Zapier and are now automating your scraping workflow, from scheduling to data storage. You can extend your workflow with more applications, including databases like SQL and analytic tools like Tableau.

## Frequently Asked Questions (FAQs)

> [accordion] How do I authenticate my requests?
>
> To authenticate requests, use your Zenrows API key. Replace `ZENROWS API KEY` in the authentication modal that Zapier shows.

> [accordion] How do I use the wait or wait\_for parameters?
>
> Use `wait` to pause the rendering for a specific number of milliseconds. Use `wait_for` with a CSS selector to wait until that element appears before capturing the response. Both require JS Rendering.

> [accordion] How do I rotate IPs per request?
>
> Zenrows rotates IPs automatically per request.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.