πŸ“Š Run automated SEO audits with Screaming Frog CLI, PageSpeed, PDF and Excel fixes

⚑ 418 views Β· πŸ“Š Market Research & Insights

Description

πŸ’‘ What this workflow does

Type #Audit https://clientsite.com in Slack. Walk away. Get a professional PDF report and a structured Excel fix sheet delivered to Google Drive and posted back in your Slack thread β€” fully automated, zero manual work.

Built for SEO agencies and freelancers who deliver technical audits at scale.

πŸ‘‡ Check out the deliverables: πŸ“„ View Sample PDF Report πŸ“Š View Sample Excel Fix Sheet


πŸ“¦ What You Get


βš™οΈ How It Works

  1. A Slack message containing #Audit and a URL triggers the workflow.
  2. A POST request starts the crawl via your self-hosted Screaming Frog CLI API (built with Python + FastAPI, exposed publicly through a Cloudflare Tunnel β€” no static IP needed).
  3. The workflow polls the API every 2 minutes until the status is done, timeout, or failed.
  4. The crawl ZIP is downloaded and decompressed, triggering two simultaneous branches:
    • Branch A (Executive Report): SEO Audit Parser β†’ PageSpeed Insights β†’ PSI Parser β†’ Report Builder β†’ HTML to PDF β†’ Google Drive.
    • Branch B (Developer Sheet): Full Data Parser β†’ Tab Builder β†’ Excel File Builder β†’ Google Drive.
  5. Both Google Drive links are merged, logged to a Google Sheet, and posted back into the Slack thread.

πŸ› οΈ Key Technical Features


πŸ“‹ What You Need

RequirementNotes
Screaming Frog SEO SpiderLicensed version (Β£199/year) required
SF CLI API (Python/FastAPI)Not included in this template β€” Contact creator below
Cloudflare TunnelFree β€” exposes your local API publicly
Google PageSpeed API KeyFree from Google Cloud Console
PDF Conversion ServiceWorkflow is pre-configured for pdfendpoint.com
Google Drive & SheetsOAuth2 credentials for file storage and audit logging
SlackOAuth2 credentials for the trigger and delivery
n8n (Self-Hosted)Recommended for long execution times

⚠️ Required n8n Environment Variables

To ensure the workflow can process large sites without timing out, add these to your n8n .env file:

N8N_DEFAULT_BINARY_DATA_MODE=filesystem
EXECUTIONS_TIMEOUT=7200
N8N_RUNNERS_TASK_TIMEOUT=7200
NODE_OPTIONS=--max-old-space-size=8192

πŸš€ Quick Setup

  1. API Setup: Deploy the SF CLI API on your Windows machine/server and expose it via Cloudflare Tunnel.
  2. Link the Crawler: Update the Start Crawl node URL and Bearer token with your tunnel URL and API secret.
  3. PageSpeed Insights: Replace the PSI API key in the Page Speed Insights HTTP node with your own.
  4. Cloud Storage: Set your Google Drive Folder ID in both upload nodes, and your Google Sheets Spreadsheet ID in the Append row node.
  5. Branding:
    • In the Report Builder code node, update the AGENCY config object (around line 125) with your name, email, and tagline.
    • In the Input Cleaner node, set the watermark value to your agency’s name.

πŸ“ž Support & Custom API Access

Note: The custom Python/FastAPI backend required to orchestrate Screaming Frog is not included in this JSON template. If you want to set up the complete system, please reach out:

πŸ“§ Email:salmanmehboob1947@gmail.com
πŸ”— LinkedIn: Salman Mehboob

πŸ”— Nodes Used

Google Sheets, HTTP Request, Slack, Google Drive, Slack Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup