🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Scrapeless + Google Sheets: SEO topics to drafts

Lisa Granqvist Partner Workflow Automation Expert

Your content calendar shouldn’t depend on gut feel, scattered notes, and a half-finished keyword spreadsheet. But that’s how “SEO research” usually looks: a few tools open, 30 tabs of competitor posts, and a doc that never becomes a publishable draft.

This is where Scrapeless SEO automation pays off. Content managers feel the pain first, honestly, but growth leads and agency teams get stuck in the same loop. You will go from “we should write something about X” to prioritized topics and draft-ready articles stored in your database.

This workflow uses Scrapeless, Google Sheets, and AI to find trending keywords, study the top results, and generate drafts you can review and publish. Here’s what it does, what you need, and what to watch out for.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: Scrapeless + Google Sheets: SEO topics to drafts

The Problem: SEO Topics Don’t Turn Into Drafts

Keyword research is easy to start and hard to finish. You pull “related queries,” copy a few into a sheet, then you’re supposed to decide what matters, check who already ranks, extract what they covered, and turn it into a brief or draft. That “supposed to” part is where weeks disappear. Meanwhile, your site keeps publishing safe topics that don’t move traffic, or you chase a trend too late because nobody had time to validate it.

It adds up fast. And the cost isn’t just time. It’s momentum.

  • Most teams spend about 2 hours to validate a single topic once you include SERP checks, competitor reading, and note cleanup.
  • Prioritization becomes political, so low-effort ideas win over high-potential long-tail opportunities.
  • Competitor research is inconsistent because everyone “skims” differently, which leads to drafts with obvious gaps.
  • Your sheet becomes a graveyard of keywords with no clear next action, so publishing slows down right when it should speed up.

The Solution: Trend-Driven Topics, Auto-Prioritized, Drafted

This workflow turns a seed keyword into a repeatable pipeline: discover what’s trending, decide what’s worth writing, research what already ranks, then generate an SEO draft you can actually review. You start by entering a seed term (like “project management” or a product category). Scrapeless pulls related queries from Google Trends and collects interest-over-time signals. An AI agent then reviews those signals, labels each keyword by priority (P0–P3), and logs the “what” and “why” into Google Sheets.

From there, the workflow picks only the higher-priority topics (P0–P2), runs a Google Search via Scrapeless/Deep SerpAPI, and grabs the top organic competitor pages. Scrapeless crawls each page and extracts clean Markdown, so your AI writer isn’t guessing based on titles alone. Finally, the “Senior Content Writer” agent generates a complete SEO article draft (title, slug, meta description, strategy summary, and a structured body). The finished output is saved to Supabase, ready for review or API-based publishing.

The workflow starts when you trigger it in n8n and provide (or update) your seed keyword. Next, it discovers and scores trend-based long-tail keywords, then enriches the best ones with competitor content. Finally, AI produces draft articles and stores them in Supabase while Google Sheets keeps your prioritized topic list tidy.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you publish 4 SEO posts per week for an international site. Manually, if you spend about 2 hours per topic on trends + competitor reading, that’s roughly 8 hours before writing even starts. With this workflow, you trigger the run, wait for research and drafting to finish, then review what’s stored in Supabase. Setup time is a one-time 30–60 minutes, and weekly “topic to draft” time usually drops to about an hour of review and edits.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Scrapeless for trends, SERP, and crawling.
  • Google Sheets to store and manage topic priorities.
  • Supabase to store drafts and structured article JSON.
  • LLM credentials (get it from OpenAI or Anthropic console).

Skill level: Intermediate. You’ll connect a few APIs, map fields, and test runs with small batches.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

You trigger the run and set your seed terms. The workflow starts from a manual trigger, then the “Assign Seed Terms” step defines the niche you want to build topical authority around.

Trends are collected and scored. Scrapeless pulls related queries and interest-over-time data, then an AI agent reviews the signals and labels each keyword with a priority (P0–P3) so you’re not guessing.

Only the best topics get full competitor research. The workflow filters out low-priority items, runs a Google Search, selects top competitor links, then crawls those pages and converts them into clean Markdown your writer model can use.

Drafts are generated and saved. The “Senior Content Writer” agent produces a structured article package (title, slug, meta, strategy summary, body blocks), then the workflow parses the JSON and inserts it into Supabase for review and publishing.

You can easily modify the priority thresholds to expand or narrow what gets drafted based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Manual Trigger

Start the workflow with a manual execution so you can validate outputs before scheduling or deploying.

  1. Add Manual Run Trigger as the starting node.
  2. Note that Manual Run Trigger outputs to both Assign Seed Terms and Fetch Sheet Rows in parallel.

Step 2: Connect Google Sheets

Configure the Google Sheets nodes to store trend insights and fetch existing topic rows for competitor research.

  1. Open Upsert Sheet Record and set Operation to appendOrUpdate.
  2. Set Document to [YOUR_ID] and Sheet to [YOUR_ID] in Upsert Sheet Record.
  3. Map fields in Upsert Sheet Record: Level{{ $json.recommended_priority }}, Reason{{ $json.data_interpretation }}, Seed Keywords{{ $('Assign Seed Terms').item.json.seedKeyword }}, Related Keywords{{ $json.keyword }}.
  4. Open Fetch Sheet Rows and set Document to [YOUR_ID] and Sheet to [YOUR_ID].
  5. Credential Required: Connect your googleSheetsOAuth2Api credentials to Upsert Sheet Record and Fetch Sheet Rows.

Step 3: Set Up Trend Discovery and Prioritization

This branch generates trend-based keyword priorities and writes them to the sheet.

  1. In Assign Seed Terms, set seedKeyword to Project Management.
  2. Configure Fetch Trend Topics with Operation googleTrends, Data Type related_queries, Geo US, and Query {{ $json.seedKeyword }}.
  3. Set Expand Related Queries to split Field to Split Out related_queries.top.
  4. Configure Retrieve Trend Heat with Operation googleTrends, Geo US, and Query {{ $json.query }}.
  5. In Trend Analysis Agent, keep Text as =The following are the keywords for the topic:` {{ $json.parameters.q }}` trends data: ``` {{ $json.interest_over_time.toJsonString() }} ``` and ensure Has Output Parser is enabled.
  6. Review Structured Result Parser and keep the JSON schema example as provided.
  7. Keep Prioritize Output Sorter code unchanged to sort by P0–P3 levels.
  8. Credential Required: Connect your scrapelessApi credentials to Fetch Trend Topics and Retrieve Trend Heat.
  9. Credential Required: Connect your anthropicApi credentials to Anthropic Chat Engine.
  10. Note: Structured Result Parser is a sub-node for Trend Analysis Agent. Add credentials to Anthropic Chat Engine, not the parser.

If Trend Analysis Agent returns unstructured output, verify that Structured Result Parser JSON schema is intact and that Anthropic Chat Engine is connected as the language model.

Step 4: Configure Competitor Research and Content Aggregation

This branch filters priority topics, searches competitors, crawls pages, and aggregates markdown content.

  1. In Distribute Level Items, set Field to Split Out to Level and Include to allOtherFields.
  2. Configure Exclude Low Priority Topics with a condition: Level {{ $json.Level }} notContains P3.
  3. Set Run Google Search query to {{ $json['Related Keywords'] }}.
  4. In Select Top Competitor Links, set organic_results to {{ $json.organic_results.slice(0,3) }}.
  5. Configure Split Competitor Results to split Field to Split Out organic_results.
  6. Set Crawl Competitor Pages with Resource crawler, Operation crawl, and URL {{ $json.link }}.
  7. In Map Competitor Markdown, set markdown to {{ $json[0].markdown }}.
  8. Configure Aggregate Markdown to aggregate the markdown field.
  9. Credential Required: Connect your scrapelessApi credentials to Run Google Search and Crawl Competitor Pages.

⚠️ Common Pitfall: If Map Competitor Markdown outputs empty content, confirm that Run Google Search returned results and that Crawl Competitor Pages successfully fetched page data.

Step 5: Configure AI Writing, Parsing, and Storage

Generate a full SEO article from aggregated markdown and store it in Supabase.

  1. In Senior Content Writer, keep the structured prompt and JSON output format intact.
  2. Ensure Anthropic Writer Model is connected as the language model for Senior Content Writer.
  3. Leave Parse AI Article JSON code unchanged to clean and parse the model output.
  4. In Insert Supabase Row, set Table to seo_articles and map fields: title{{ $json.title }}, meta_description{{ $json.meta_description }}, body{{ $json.body }}, slug{{ $json.slug }}.
  5. Credential Required: Connect your anthropicApi credentials to Anthropic Writer Model.
  6. Credential Required: Connect your supabaseApi credentials to Insert Supabase Row.

If Parse AI Article JSON throws parsing errors, inspect the raw output in the previous execution to confirm it contains a valid JSON object.

Step 6: Test and Activate Your Workflow

Run the workflow end-to-end to verify sheet updates, competitor crawling, AI output, and database storage.

  1. Click Execute Workflow from Manual Run Trigger to test all branches.
  2. Confirm that Upsert Sheet Record writes prioritized keywords to your Google Sheet.
  3. Verify that Aggregate Markdown outputs an array of competitor content before Senior Content Writer runs.
  4. Check Insert Supabase Row for a new record in seo_articles with populated fields.
  5. When the test succeeds, toggle the workflow to Active for production use.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • Scrapeless credentials can expire or your plan may block certain endpoints. If things break, check your Scrapeless dashboard usage and API key status first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Default prompts in AI nodes are generic. Add your brand voice early or you’ll be editing outputs forever.

Frequently Asked Questions

How long does it take to set up this Scrapeless SEO automation automation?

About 30–60 minutes once your API keys are ready.

Do I need coding skills to automate SEO topic research and draft generation?

No. You’ll mostly connect accounts, paste API keys, and adjust a few fields like your seed keyword and priority rules.

Is n8n free to use for this Scrapeless SEO automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Scrapeless usage plus LLM API costs for drafting.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this Scrapeless SEO automation workflow for multiple countries or languages?

Yes, and it’s a common tweak for international SEO. You can run separate seed terms per locale, then pass a country/language parameter into the Scrapeless trend and search requests. Most teams also adjust the AI prompts in the “Trend Analysis Agent” and “Senior Content Writer” steps so the output matches local intent and spelling conventions. If you want to keep one master backlog, add a locale column in Google Sheets and include it in the Supabase record.

Why is my Scrapeless connection failing in this workflow?

Usually it’s an invalid or expired API key, or the endpoint you’re calling isn’t enabled for your plan. Regenerate the key in Scrapeless, update it in n8n, then re-run a single keyword to confirm it works. If it fails only on larger batches, it can be rate limiting; slow the workflow down or reduce how many keywords you process per run.

How many keywords and drafts can this Scrapeless SEO automation handle?

If you self-host n8n there’s no execution cap, so the limit is mostly your server size and your Scrapeless/LLM quotas. On n8n Cloud, it depends on your plan’s monthly executions. Practically, many teams process 20–50 keywords per run, then generate drafts only for P0–P2 to control crawl and model costs.

Is this Scrapeless SEO automation better than using Zapier or Make?

Often, yes. This kind of pipeline needs filtering, branching, structured parsing, and multi-step research loops, and n8n handles that without you paying extra for every path. Self-hosting is also a big deal if you want unlimited runs or you’re using community nodes that don’t work on managed platforms. Zapier or Make can still be fine for simple “send this row to that tool” automations, but they get awkward once you add crawling and agent-based drafting. If you’re unsure, Talk to an automation expert and map it to your volume.

Once this is running, your backlog stops being a wish list and starts being a production line. The workflow handles the repetitive research and drafting so you can spend your time on review, differentiation, and publishing.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal