n8n

How to Automate WordPress SEO Publishing?

Create SEO blog posts from a simple prompt and publish them to your site without manual writing. The system researches the topic, drafts an article, publishes it, and alerts your team. It fits content and marketing teams that need steady posts with clear sources.

A public form collects the question, or a chat message can start the run. The flow calls the Perplexity API to pull current research, formats citations, and passes clean notes to a GPT 4o model. An AI agent turns that into a title and body, then posts to WordPress. It also emails stakeholders with Gmail, posts an update in Slack, and saves the article to Notion for tracking. Variables for email, Slack, Notion, and model can be edited from one place. Citations are inserted in the text so sources stay visible.

Set credentials for WordPress, Gmail, Slack, Notion, OpenAI, and Perplexity in n8n Cloud. Expect to cut drafting time from hours to minutes and keep a steady posting rhythm. Use it for news roundups, product updates, and AI topic explainers where speed and source clarity matter.

What are the key features?

  • Public form trigger collects a topic or question to start the run
  • Optional chat trigger starts the same pipeline from a chat message
  • HTTP request to Perplexity pulls fresh research and returns citations
  • Set node cleans and formats research so citations appear in line
  • GPT 4o model generates SEO title and article based on live notes
  • WordPress tool publishes the post with status set to publish
  • Gmail tool sends subject message and recipients supplied by the AI agent
  • Slack tool posts a channel update using parameters from the AI agent
  • Notion tool logs the article for content tracking and reporting
  • Edit Workflow Variables centralizes email Slack Notion and model settings

What are the benefits?

  • Reduce manual writing from 3 hours to 10 minutes per post
  • Automate about 80 percent of steps from research to publish
  • Connect WordPress Slack Gmail Notion OpenAI and Perplexity in one flow
  • Handle up to 5 times more posts per week with the same team
  • Improve source accuracy with auto inserted citations

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'll need accounts with OpenAI, Perplexity, WordPress, Gmail, Slack and Notion. See the Tools Required section above for links to create accounts with these services.
  3. Open the Generate SEO Blog Content node. In the credential field choose Create new credential and connect your OpenAI account using an API key from your OpenAI account page.
  4. Open the Perplexity Research HTTP Request node. In the credential field choose Create new credential for HTTP Header Auth. Add your Perplexity API key from the Perplexity API page. Use an Authorization header with a Bearer token if prompted.
  5. Open the Publish Article to WordPress node. Create new WordPress credentials. Follow the on screen steps to connect your site using application password or API token as your site supports.
  6. Open the Send Email Notification node. Create new Gmail OAuth2 credentials. Follow the on screen Google sign in to allow send email permission.
  7. Open the Notify Slack Channel node. Create new Slack credentials using the MCP client option. Follow the on screen steps required by your MCP Slack server and confirm the tool list loads in the Slack List node.
  8. Open the Insert Article in Notion node. Create new Notion credentials using the MCP client option. Follow the on screen steps required by your MCP Notion server and ensure the Notion List node returns databases.
  9. Open the Start with Research Query Submission form trigger. Review the form title and field label. Enable the public form and copy the form link for testing.
  10. Open the Edit Workflow Variables node. Set default email recipients Slack channel model choice and any other fields your team needs.
  11. Run a test by submitting a topic in the form. Check the Perplexity Research node output for choices and citations then confirm the Format Research Output node shows citations in line.
  12. Set the WordPress node to draft for the first test if you want to review before publish. After review switch status to publish.
  13. If Slack or Notion actions fail check that the correct tool is selected in the AI agent tool parameters and that your MCP servers are reachable. If Gmail sends to the wrong address update the Edit Workflow Variables values and test again.

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.

Gmail

Sign up

No cost: Personal Gmail (Gmail API has no usage-based pricing; quotas apply)

Notion

Sign up

Free plan: $0 per member / mo (Public API included)

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)

Slack

Sign up

Free plan: $0 / mo; limited to 10 apps (third-party or custom) and usable via Slack API

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.