๐ŸŽฌ Create SEO blog drafts with OpenAI, Canvora, and WordPress

โšก 14 views ยท ๐ŸŽฌ Content Creation & Video

Description

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.

Requirements

Customization

Additional info

Example output (featured image + OG card, generated by this exact workflow โ€“ real run):

Blog featured image generated from the keyword Open Graph card for the same article

๐Ÿ”— Nodes Used

HTTP Request, Wordpress, n8n Form Trigger, OpenAI

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup