Skip to main content

AI powered web scraping with Jina, Google Sheets and OpenAI : the EASY way

Workflow preview

Workflow preview
100%
AI powered web scraping with Jina, Google Sheets and OpenAI : the EASY way preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Purpose of workflow: The purpose of this workflow is to automate scraping of a website, transforming it into a structured format, and loading it directly into a Google Sheets spreadsheet. How it wo...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.splitout, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.informationextractor, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Derek Cheung.

Original n8n.io source

1.1 Workflow description

Title
AI powered web scraping with Jina, Google Sheets and OpenAI : the EASY way
Workflow name
AI powered web scraping with Jina, Google Sheets and OpenAI : the EASY way

Purpose of workflow: The purpose of this workflow is to automate scraping of a website, transforming it into a structured format, and loading it directly into a Google Sheets spreadsheet.

How it works:

  1. Web Scraping: Uses the Jina AI service to scrape website data and convert it into LLM-friendly text.
  2. Information Extraction: Employs an AI node to extract specific book details (title, price, availability, image URL, product URL) from the scraped data.
  3. Data Splitting: Splits the extracted information into individual book entries.
  4. Google Sheets Integration: Automatically populates a Google Sheets spreadsheet with the structured book data.

Step by step setup:

  1. Set up Jina AI service:

    • Sign up for a Jina AI account and obtain an API key.
  2. Configure the HTTP Request node:

    • Enter the Jina AI URL with the target website.
    • Add the API key to the request headers for authentication.
  3. Set up the Information Extractor node:

    • Use Claude AI to generate a JSON schema for data extraction.
    • Upload a screenshot of the target website to Claude AI.
    • Ask Claude AI to suggest a JSON schema for extracting required information.
    • Copy the generated schema into the Information Extractor node.
  4. Configure the Split node:

    • Set it up to separate the extracted data into individual book entries.
  5. Set up the Google Sheets node:

    • Create a Google Sheets spreadsheet with columns for title, price, availability, image URL, and product URL.
    • Configure the node to map the extracted data to the appropriate columns.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking "Test workflow"

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 3 - Save to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.2

Block 4 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1

Block 5 - Information Extractor

Type / Role
@n8n/n8n-nodes-langchain.informationExtractor - informationExtractor
Config choices
Version 1

Block 6 - Jina Fetch

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 7 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow AI powered web scraping with Jina, Google Sheets and OpenAI : the EASY way
Complexity intermediate
Nodes 7
Categories Market Research, AI Summarization
Author Derek Cheung
Published 17 Nov 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2552/2552.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI powered web scraping with Jina, Google Sheets and OpenAI : the EASY way do?

Purpose of workflow: The purpose of this workflow is to automate scraping of a website, transforming it into a structured format, and loading it directly into a Google Sheets spreadsheet. How it wo...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.