Skip to main content

Export Google PageSpeed Insights data to CSV for multiple URLs

Workflow preview

Workflow preview
100%
Export Google PageSpeed Insights data to CSV for multiple URLs preview
Open on n8n.io

1. Workflow Overview

Bulk Google PageSpeed Insights to CSV This workflow accepts up to 10 URLs via chat input, executes the Google PageSpeed Insights API, and outputs a CSV file containing page performance metrics for ...

Best for

  • Market Research automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.itemlists, n8n-nodes-base.httprequest, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.chat, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.wait

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Export Google PageSpeed Insights data to CSV for multiple URLs
Workflow name
Export Google PageSpeed Insights data to CSV for multiple URLs

Bulk Google PageSpeed Insights to CSV

This workflow accepts up to 10 URLs via chat input, executes the Google PageSpeed Insights API, and outputs a CSV file containing page performance metrics for SEO audits.

Execution Steps

  • Parse & Normalise URLs: Intercepts text input, parses the string into an array, filters valid URLs using Regex, appends HTTPS, removes duplicates, and restricts the output to 10 URLs.
  • Early Exit Check: Validates if any URLs remain after filtering. If zero, it returns an error message to the chat.
  • Reachability Check: Executes an HTTP HEAD request for each valid URL. URLs returning a non-200 status code are isolated.
  • Respond to Chat: Notifies the user via chat of any URLs that failed the reachability check.
  • Loop & PageSpeed API: Iterates through reachable URLs. Sends HTTP GET requests to the Google PageSpeed Insights API (v5/runPagespeed) using the mobile strategy. Includes a 10-second wait node between requests to manage rate limits.
  • Extract PageSpeed Data: Parses the JSON response to extract Core Web Vitals and resource metrics. Maps data points including Largest Contentful Paint, First Contentful Paint, Cumulative Layout Shift, Speed Index, Total Page Size, HTML/CSS/JS file sizes, and savings opportunities.
  • Convert to File: Compiles the structured data into a CSV format.
  • Upload to Uguu: Sends the CSV file via HTTP POST to uguu.se for temporary hosting.
  • Final Chat: Extracts the file URL and returns the download link to the user.

Limitations

  • Batch processing is restricted to a maximum of 10 URLs per execution.
  • The Google PageSpeed API request is set with a 90,000ms timeout.
  • Output files are hosted on a temporary public server (uguu.se).

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 - Parse & Normalise URLs

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Early Exit Check

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

Block 3 - Respond - No Valid URLs

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Split Valid URLs

Type / Role
n8n-nodes-base.itemLists - itemLists
Config choices
Version 3

Block 5 - Reachability Check

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

Block 6 - Filter Reachable

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Second Early Exit

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

Block 8 - Split Reachable URLs

Type / Role
n8n-nodes-base.itemLists - itemLists
Config choices
Version 3

Block 9 - Loop

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 10 - PageSpeed API

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

Block 11 - Extract PageSpeed Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Upload to Uguu

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

Block 13 - Respond to Chat

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

Block 14 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.4

Block 15 - Wait

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

Block 16 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 17 - Aggregate

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

Block 18 - Extract Link

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Final Chat

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

Block 20 - Sticky Note1

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

Block 21 - Sticky Note2

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

Block 22 - Sticky Note

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

Block 23 - Sticky Note3

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

Block 24 - Sticky Note4

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

Showing the first 24 of 44 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Export Google PageSpeed Insights data to CSV for multiple URLs
Complexity advanced
Nodes 44
Categories Market Research
Author Siddharth Gupta
Published 08 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15548/15548.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 Export Google PageSpeed Insights data to CSV for multiple URLs do?

Bulk Google PageSpeed Insights to CSV This workflow accepts up to 10 URLs via chat input, executes the Google PageSpeed Insights API, and outputs a CSV file containing page performance metrics for ...

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 use case.