Blog automation in wordpress, add excerpt meta description and keyword

Describe the problem/error/question

I’m building a blog automation workflow in n8n that’s about 95% complete. Here’s what it currently does:

  • Reads keywords from Google Sheets
  • Uses OpenAI to generate blog titles and content
  • Creates a featured image using DALL·E 3
  • Publishes the post to WordPress using HTTP Request

Now, I want to improve the SEO score of each blog post in WordPress automatically. Specifically, I want to:

  • Set the Focus Keyword
  • Add a Meta Description
  • Add a blog Excerpt

All of this should happen as part of the same n8n workflow.

My question:
How can I automatically update these SEO fields in WordPress via HTTP Request from n8n?
Are there specific REST API endpoints (e.g., for Rank Math or Yoast) I can use to set these SEO fields programmatically?

my workflow:

1 Like