✨ New feature: AI Workflow Builder is now live — build automations right inside WordPress.
Bulk Generate Missing Post Excerpts - AIWU – AI Plugin for WordPress
Back to Templates

Generate Missing Post Excerpts

Content Easy

Automatically generate compelling excerpts for all your published posts that are missing them. This workflow scans your content, identifies posts without excerpts, and uses AI to create engaging 150-character summaries based on post titles. Perfect for improving your site’s SEO and social media sharing.

Workflow 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 generate missing excerpts for your posts.

Type: Manually
2

Add Loop Block

Add a “Loop” logic block first. This will process items returned by the Search Posts action inside the loop.

Type: Loop
3

Search Published Posts Inside Loop

Inside the loop, add “Search Posts” action to retrieve all published posts from your WordPress site. The loop will process each post one by one.

Action: Search Posts
Filter: Published
4

Add Branch – Check if Excerpt is Missing

After Search Posts in the loop, add a “Branch” logic block to check if the current post has an excerpt. This ensures we only generate excerpts for posts that actually need them.

Type: Branch
Condition: Excerpt is unknown
Branch Name: Excerpt is unknown
5

Generate Excerpt with AI (THEN Path)

In the “THEN” branch (when excerpt is missing), add “Generate Text” action to create a compelling 150-character excerpt based on the post title.

Action: Generate Text (OpenAI)
Node Name: Generate Excerpts
Model: GPT-4o
Max Tokens: 100
Temperature: 0.7
Prompt: Create a compelling 150-character excerpt for: {{post_title}}. Make it engaging and SEO-friendly.
6

Update Post with Generated Excerpt

Finally, add “Update Post” action to save the AI-generated excerpt to the post. This ensures the excerpt is permanently stored in your WordPress database.

Action: Update Post
Post ID: {{Search Posts.post_id}}
Excerpt: {{Generate Excerpts.Result}}

💡 Pro Tips

  • Test the workflow on a few posts first by limiting the Search Posts action before running on all posts
  • Check the workflow logs after completion to ensure all excerpts were generated successfully
  • Adjust the prompt to match your brand voice and style preferences
  • Set workflow timeout settings appropriately if you have hundreds of posts to process
  • Review generated excerpts manually for your most important posts to ensure quality

Scroll to Top