Create SEO blog drafts in WordPress from trending topics with Perplexity and HuggingFace
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Wordpress and Google Sheets. It also calls router.huggingface.co over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Find top trending topics (Perplexity): uses Perplexity
- Select a clean trending topic (Code): runs custom JavaScript code
- Add topic to Google Sheets (Google Sheets): append
- Get most recent topics from Google Sheet (Google Sheets): uses Google Sheets
- Generate content and image prompt using Perplexity AI (Perplexity): uses Perplexity
- Parse Content from string to JSON (Code): runs custom JavaScript code
- Update Google Sheet with generated content (Google Sheets): update
- Create a post (Wordpress): uses Wordpress
- Generate featured image using HuggingFace FLUX (HTTP Request): calls router.huggingface.co (POST)
- Update name and extension of image (Code): runs custom JavaScript code
…plus 2 more steps. See the full node list below.
Services it uses
HTTP calls to: router.huggingface.co
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
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
From the author
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…