See llms.txt for all machine-readable content.

Back to Templates

Create SEO blog drafts with OpenAI, Canvora, and WordPress

Created by

Created by: Jonnie Lane || marketer-360
Jonnie Lane

Last update

Last update 13 hours ago

Categories

Share


Quick overview

This workflow collects a target SEO keyword via an n8n form, uses OpenAI to generate a publish-ready article, generates a matching featured image and OG image with Canvora, and then creates a draft post in WordPress with the image embedded.

How it works

  1. Receives a target keyword (and optional brand ID) from an n8n form submission.
  2. Uses OpenAI to write an SEO-optimized article and returns strict JSON containing the title, HTML body, and a one-sentence visual summary.
  3. Parses the AI response into structured fields and sends the summary/title to the Canvora API to generate a blog featured image and Open Graph image.
  4. Polls Canvora for the generation status until it completes or times out.
  5. If generation succeeds, builds the final WordPress content by embedding the featured image above the article HTML.
  6. Creates a draft post in WordPress with the generated title and content, or stops if the image generation fails.

Setup

  1. Add your OpenAI API credentials to the OpenAI step and keep the model/prompt aligned with the required JSON output.
  2. Create a Canvora account, generate an API key, and configure an HTTP Header Auth credential (for example, X-API-Key: <your key>) on the Canvora HTTP Request steps.
  3. Connect your WordPress credentials and confirm the site has permission to create draft posts.
  4. Open the form URL from the trigger node to submit a keyword (and optional Canvora brandId) for testing.