n8n

How to Automate WordPress SEO Blog Publishing?

Turn form ideas into ready to publish blog drafts. A built in form collects a topic and optional keywords, then research and writing happen automatically. The result is an SEO friendly draft in WordPress with a featured image and a Telegram update for your team.

Here is how it works. The form trigger starts a Perplexity research call that gathers sources and links. A cleanup step trims messy URLs. An AI copywriter builds the article, and a second AI step creates a clear title, a short slug, and a strong meta description using a structured parser. The HTML creator outputs WordPress ready HTML only. All details are merged and cleaned, then saved as a WordPress draft. An image is fetched from a URL, uploaded to the media library, set as the featured image, and a Telegram message confirms success.

Setup is simple with WordPress, OpenAI, Perplexity, and Telegram accounts. Connect your credentials, adjust prompts for tone and length, and map the image source. Expect faster publishing, fewer errors, and consistent SEO. This is ideal for content teams and agencies that need steady, research backed posts across one or many sites.

What are the key features?

  • Form trigger collects topic keywords and audience inputs
  • Perplexity research via HTTP request gathers sources and insights
  • Cleanup Links step removes tracking codes and trims URLs
  • Copywriter AI agent creates a draft using gpt 4o mini
  • Structured Output Parser enforces clean slug title and meta
  • Create HTML outputs WordPress friendly HTML only
  • Image pipeline gets an image uploads it to WordPress and sets it as featured
  • Telegram message sends a success notice with key details

What are the benefits?

  • Reduce drafting and formatting time from 3 hours to 15 minutes
  • Automate 80 percent of publishing steps from research to post creation
  • Improve SEO metadata accuracy to 95 percent with structured parsing
  • Connect research AI writing WordPress and Telegram in one flow
  • Handle 5 to 10 times more posts per week with the same team
  • Cut copy and paste errors by 90 percent with direct HTML and media upload

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You will need accounts with WordPress, OpenAI, Perplexity and Telegram. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, open the WordPress node and click Create new credential. Enter your site URL, username, and application password or follow the on screen steps. Click Test then Save.
  4. Open any OpenAI node such as Create HTML. Click Create new credential, paste your OpenAI API key from your OpenAI account API page, test, and save.
  5. Open the Perplexity Research node. Click Create new credential, choose HTTP Header Auth, and follow the on screen steps to add your Perplexity API key. Test and save.
  6. For Telegram, create a bot with BotFather and copy the bot token. Open the Telegram node, create a new credential, paste the token, test, and save.
  7. Configure the form trigger. Open On form submission, add fields for Topic, Audience, and Keywords if needed. Copy the form URL and keep it for testing.
  8. Review the Copywriter AI Agent prompt. Adjust tone, reading level, and length to fit your brand guidelines.
  9. Check the Create Title Slug Meta node and Structured Output Parser. Make sure the slug, title, and meta fields map correctly and return valid JSON.
  10. Open the WordPress node. Confirm status is draft, authorId is correct, and the slug and title expressions reference the combined data as configured.
  11. Set the image source. In Set Image URL provide a default image or pass a URL from research. Run GET Image to confirm a 200 response with binary data.
  12. Run a full test. Submit the form, watch the execution, and confirm a WordPress draft is created with a featured image. Check that a Telegram message is received.
  13. If media upload fails with 401 or 403, verify the WordPress user permissions and application password. If the HTML looks off, adjust Cleanup HTML. If Perplexity timeouts occur, add a retry or shorten the query.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Perplexity

Sign up

Pay-as-you-go API: Sonar $1/M input tokens, $1/M output tokens + per-request fee (e.g., $0.005 at low context)

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

WordPress

Sign up

Free plan: $0 / mo (WordPress.com REST API supports creating posts)

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.