🎬 Generate articles from Google Sheets to WordPress with web scraping and GPT-4 Mini

⚑ 834 views · 🎬 Content Creation & Video

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

πŸ€– Automated AI Article Generation from Google Sheets to WordPress

πŸ“ Short Description

Transform a Google Sheet into an automated content factory! This workflow reads article topics, scrapes source content, uses AI to create original articles, and publishes drafts to WordPress automatically. πŸš€

πŸ“– Full Description

This workflow automates the entire content creation pipeline by connecting Google Sheets, web scraping, AI content generation, and WordPress publishing. It’s designed for content marketers, bloggers, and news publishers who need to scale their content production efficiently. πŸ’ͺ

The system monitors a Google Sheet for new article ideas, processes source URLs through a dual-AI system for summarization and content creation, then automatically generates WordPress drafts while tracking everything back to the spreadsheet. πŸ“Šβ†’πŸ€–β†’πŸŒ

πŸ‘₯ Who’s It For

βš™οΈ How It Works

  1. πŸ“Š Sheet Monitoring: Watches Google Sheets for rows marked β€œNew” in the Flow Status column
  2. πŸ” Content Processing: Fetches and analyzes source articles using dual AI agents
  3. πŸ€– Article Generation: Creates SEO-optimized articles with proper formatting and structure
  4. 🌐 WordPress Integration: Automatically publishes drafts to your WordPress site
  5. βœ… Status Tracking: Updates the sheet with progress and final draft links

πŸ› οΈ How to Set Up

πŸ“‹ Prerequisites

⚑ Configuration Steps

  1. πŸ”„ Clone the workflow into your n8n instance
  2. πŸ”— Connect credentials for Google Sheets, OpenAI, and WordPress
  3. πŸ“„ Update the Google Sheet ID in all Sheet nodes to point to your document
  4. πŸ“Š Configure the sheet columns to match: Topic, Source, Flow Status, Publish Status, Publish Link
  5. πŸ§ͺ Test with one row marked as β€œNew” in your sheet

πŸ“‹ Requirements

🧩 n8n Nodes Used

☁️ External Services

🎨 How to Customize the Workflow

✍️ Content Style Adjustments

Modify the β€œArticle Creator” AI node’s system prompt to change:

πŸ” Source Processing

Adjust the β€œArticle Summarizer” node to:

πŸ“€ Publishing Options

Customize the β€œCreate a Draft” WordPress node to:

⚠️ Error Handling

Modify the conditional logic in the β€œIf” node to handle different failure scenarios or add additional validation steps.


ℹ️ Note: This workflow uses community nodes (LangChain/OpenAI) and requires a self-hosted n8n instance.

✨ Workflow features comprehensive error handling, real-time status tracking, and batch processing for efficient content pipeline management.

πŸ”— Nodes Used

Google Sheets, HTTP Request, Webhook, Wordpress, OpenAI

πŸ“₯ Import

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

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