🎬 WordPress SEO publisher with Anthropic AI, Google Docs & media auto

69 views · 🎬 Content Creation & Video

Description

📄 What this workflow does

This workflow turns a spreadsheet row into a fully formatted, media-rich WordPress article. It pulls the outline and brand context from Google Sheets/Docs, drafts the article with Anthropic or Gemini, enriches it with internal links, converts it to WordPress-ready HTML, uploads images to the WordPress Media Library, and updates your Google Sheet with links and statuses. Optionally, it can create WooCommerce products (kept disabled by default).

👤 Who is this for

✅ Requirements

⚙️ How to set up

🔁 How it works

  1. Trigger → Get Info (Sheets): Picks the next row marked to run and sets “Processing.”
  2. Fetch Outline (Docs): Opens the outline link from the sheet.
  3. Content Outline Generator & On-page (Anthropic/Gemini): Writes the article using brand context, E-E-A-T rules, and (optionally) reads official docs once via Perplexity Sonar.
  4. Previous Posts → Aggregate → Add Internal Links (Gemini): Loads summaries/keywords of prior posts and injects at least 5 high-relevance internal links into the draft.
  5. HTML Version: Converts the draft to strict WordPress-ready HTML (H1–H4, justified paragraphs, links, lists, blockquotes).
  6. Post image to WordPress (sub-flow)
  1. Update Google Doc: Inserts the final article content into a Google Doc and stores the link.
  2. Merge → Update Status to Sheet: Writes back Content Final, Outline Link, statuses (Draft/Complete), and any media links.
  3. (Optional) Create WooCommerce Product: Disabled by default—enable if you want automatic product creation using the article HTML and gallery.

💡 About Margin AI

Margin AI is an AI-services agency that acts as your AI Service Companion. We design intelligent, human-centric automation solutions—turning your team’s best practices into scalable workflows and tools. Industries like marketing, sales, and operations benefit from our tailored AI consulting, automation tools, and chatbot development.

🔗 Nodes Used

Google Sheets, HTTP Request, Webhook, Google Docs, AI Agent, Basic LLM Chain

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup