🔥 BLACK FRIDAY? 70% OFF until November 30th
MINUS70
Bulk Generate Missing Featured Images - AIWU – AI Plugin for WordPress

Bulk Generate Missing Featured Images

Content Easy

Automatically generate professional featured images for all published posts missing them. Uses AI to create relevant visuals based on post titles with optimized alt text for SEO.

Bulk Generate Missing Featured Images workflow template preview

📋 How to Build This Workflow

1

Add Manual Trigger

Click “+ Trigger” and select “Manually”. This allows you to run the workflow on-demand whenever you need to process posts missing featured images.
Type:
2

Add Loop – Search Posts

Click “+ Logic” and select “Loop”. Choose “Search Posts” as the array source. This retrieves all published posts for processing. Set the filter to “Published” to only process live content.
Type:
Post Status:
3

Add Branch – Check Featured Image

On the LOOP path, add a “Branch” logic block. Click “Variables” and in the “Post Meta Keys” field, type “_thumbnail_id” then click the variation to add it to Criteria. Set operator to “Is unknown” to detect posts without featured images.
Type:
Branch Name:
Criteria:
Operator:
4

Generate Image (THEN Path)

On the THEN branch, add “Generate Image” action from OpenAI Actions. Select your preferred DALL-E model and orientation. In the prompt field, click “Variables” and select “Post Title” to generate images based on article titles.
Action:
Model:
Orientation:
Prompt:
Create a professional blog header image for an article titled “{{search_posts.post_title}}”. Style: Modern, clean, minimalist design with vibrant colors. Use abstract shapes or conceptual imagery – NO text, NO faces.
5

Generate Alt Text

Add “Generate Text” action from OpenAI Actions to create SEO-optimized alt text. Configure the model and parameters. In the prompt, use the post title variable and instruct the AI to create a brief, descriptive alt text for the image.
Action:
Model:
Max Tokens:
Temperature:
Prompt:
6

Update Post Featured Image

Add “Update Post Featured Image” action from WordPress Actions. Set Post ID from the Search Posts node, Image ID from the Generate Image node, and Image Alt from the Generate Text node. This completes the automation by attaching the AI-generated image and alt text to the post.
Action:
Post ID:
Image ID:
Image Alt:
7

Save and Run

Click “Save” to store your workflow configuration. When ready, click the “Run” button to execute the workflow and process all posts missing featured images. Monitor the Log panel to track progress and verify successful image generation.

💡 Pro Tips

  • Test the workflow on a few posts first before running on your entire site
  • Customize the image generation prompt to match your brand’s visual style
  • Consider scheduling this workflow to run automatically for new posts without images

Ready to Build This Workflow?

AIWU Workflow Builder lets you recreate this template in minutes without writing code. Free visual automation tool that runs directly on your WordPress site.

Free Forever
No monthly fees, unlimited workflows
Visual Builder
Drag-and-drop, no code needed
🔑
Your API Keys
Use OpenAI, Claude, or any provider
Explore Workflow Builder
Scroll to Top