Templates / Create WordPress drafts with Claude Haiku and Pexels images

Create WordPress drafts with Claude Haiku and Pexels images

Ready for 3.0

by Meridian IA ✓ · 36 views · created 2026-07-21 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Anthropic and Wordpress. It also calls api.pexels.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set Post Fields (Edit Fields (Set)): sets 2 fields: title, content
  2. Get Image Query from Content (Code): runs custom JavaScript code
  3. Generate Pexels Search Keywords (Anthropic): uses Anthropic
  4. Refine Search Keywords (Code): runs custom JavaScript code
  5. Fetch Pexels Images (HTTP Request): calls api.pexels.com
  6. Download Selected Image (HTTP Request): calls an HTTP API
  7. Upload Image to WordPress (HTTP Request): calls an HTTP API (POST)
  8. Publish WordPress Post (Wordpress): uses Wordpress
  9. Set Post Featured Image (HTTP Request): calls an HTTP API (PATCH)

Services it uses

AnthropicWordpress

HTTP calls to: api.pexels.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Quick overview This workflow takes a blog post title and content, generates a short Pexels search phrase with Anthropic Claude, downloads a matching stock photo from Pexels, uploads it to your WordPress media library, creates a draft WordPress post, and sets…

Excerpt from Meridian IA's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.