SEO Blog Generator with GPT-4o, Perplexity, and Telegram Integration
This workflow helps you automatically generate SEO-optimized blog posts using Perplexity.ai, OpenAI GPT-4o, and optionally Telegram for interaction.
π Features
- π§ Topic research via Perplexity sub-workflow
- βοΈ AI-written blog post generated with GPT-4o
- π Structured output with metadata: title, slug, meta description
- π© Integration with Telegram to trigger workflows or receive outputs (optional)
βοΈ Requirements
- β
OpenAI API Key (GPT-4o or GPT-3.5)
- β
Perplexity API Key (with access to
/chat/completions)
- β
(Optional) Telegram Bot Token and webhook setup
π Setup Instructions
-
Credentials:
- Add your OpenAI credentials (
openAiApi)
- Add your Perplexity credentials under
httpHeaderAuth
- Optional: Setup Telegram credentials under
telegramApi
-
Inputs:
- Use the Form Trigger or Telegram input node to send a
Research Query
-
Subworkflow:
- Make sure to import and activate the subworkflow
Perplexity_Searcher to fetch recent search results
-
Customization:
- Edit prompt texts inside the
Blog Content Generator and Metadata Generator to change writing style or target industry
- Add or remove output nodes like Google Sheets, Notion, etc.
π¦ Output Format
The final blog post includes:
- β
Blog content (1500-2000 words)
- β
Metadata: title, slug, and meta description
- β
Extracted summary in JSON
- β
Delivered to Telegram (if connected)
Need help? Reach out on the n8n community forum