SEO Blog Generator with GPT-4o, Perplexity, and Telegram Integration

Go to Workflow
4,271 views
Built by HoangSP HoangSP
Created on April 23, 2025

Description

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

This workflow was created by HoangSP and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Telegram
n8n-nodes-base.telegram