Create SEO blog drafts in WordPress from trending topics with Perplexity and HuggingFace
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (6)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Wordpress
n8n-nodes-base.wordpress - HTTP Request
n8n-nodes-base.httpRequest - Perplexity
n8n-nodes-base.perplexity - Google Sheets
n8n-nodes-base.googleSheets
What it does
Automatically discover trending developer and security topics, generate SEO-optimized blog posts, and publish them to WordPress as drafts — complete with AI-generated featured images. How it works 1. Discover trends — Perplexity AI identifies the hottest topic from the last 24-48 hours 2. Queue topics — Topics are saved to Google Sheets for tracking and management 3. Generate content — Perplexity creates complete blog posts with titles, sections, keywords, and meta descriptions 4. Create draft — Content is published as a WordPress draft for your review 5. Generate image — HuggingFace FLUX creates a featured image based on the content 6. Attach media — The image is uploaded to WordPress and assigned to the post Setup steps 1. Add credentials for Perplexity AI, Google Sheets, WordPress, and HuggingFace 2. Create a Google Sheet with columns: Topic, isgenerated, title, content, keywords, metadescription 3. Replace YOURGOOGLESHEETID in the Google Sheets nodes with your sheet ID 4. Replace your-site.com with your WordPress site URL 5. Replace YOURTOKENHERE with your HuggingFace API token 6. Update the authorId in the WordPress node to match your author Tools used - Perplexity AI — Trend discovery and content generation - Google Sheets — Topic queue and workflow tracking - WordPress REST API — Post creation and media uploads - HuggingFace FLUX — AI image generation Ideal for developers, content marketers, and agencies who want automated content pipelines with editorial control.