Batch Operations
Guide to bulk content generation and management
Learn how to efficiently generate and manage content in bulk using WP Automator's batch processing features.
Overview
WP Automator supports two main batch operation methods:
Streaming Generation
Real-time progress updates via Server-Sent Events
Excel Import
Upload spreadsheets with article data
Bulk Article Generation
Using the Dashboard
The easiest way to generate multiple articles is through the dashboard:
Select Sites Choose one or more WordPress sites from your site list
Configure Articles Enter titles, keywords, and settings for each article
Start Generation Click generate and monitor real-time progress
Review Results Check generated articles and any errors
Streaming Progress
Bulk generation provides real-time updates:
// Progress updates during generation
{
"type": "progress",
"current": 3,
"total": 10,
"message": "Generating article 3 of 10"
}
// Site completion
{
"type": "site_complete",
"siteId": "site_123",
"success": true,
"articlesGenerated": 5
}
// Final summary
{
"type": "complete",
"summary": {
"success": 10,
"failed": 0,
"totalTime": 45.2
}
}
Excel Import
File Format
Prepare your Excel file with these columns:
Column | Description | Required |
---|---|---|
Title | Article title | Yes |
Keywords | Comma-separated keywords | Yes |
Length | Word count (e.g., 1500) | No |
Category | WordPress category | No |
Tags | Comma-separated tags | No |
Publish | true/false | No |
Import Process
Title | Keywords | Length | Category | Tags
-------------------------|-------------------|--------|----------|-------------
10 SEO Tips for 2024 | SEO, optimization | 1500 | Marketing| seo, tips
Content Marketing Guide | content, marketing| 2000 | Marketing| content, guide
Social Media Strategy | social, media | 1800 | Social | social, strategy
Title,Keywords,Length,Category,Tags
"10 SEO Tips for 2024","SEO, optimization",1500,Marketing,"seo, tips"
"Content Marketing Guide","content, marketing",2000,Marketing,"content, guide"
"Social Media Strategy","social, media",1800,Social,"social, strategy"
Upload Limits
- Maximum file size: 10MB
- Maximum rows: 100 articles per import
- Supported formats: .xlsx, .xls, .csv
Tip: Start with small batches (10-20 articles) to test your settings before running larger imports.
Performance Considerations
Concurrent Processing
WP Automator processes articles with these limits:
- Concurrent workers: 5 articles at once
- Timeout per article: 60 seconds
- Retry attempts: 3 times on failure
Rate Limiting
To ensure stability:
- API calls: 60 per minute
- OpenAI requests: Based on your OpenAI rate limits
- WordPress API: Depends on your hosting
Error Handling
Common Issues
Connection Errors
WordPress site unreachable or credentials invalid
Generation Failures
OpenAI API errors or content policy violations
Publishing Errors
WordPress API errors or permission issues
Rate Limits
Too many requests to external services
Error Recovery
The system automatically:
- Retries failed operations - Up to 3 attempts with exponential backoff
- Continues on errors - Other articles continue processing
- Logs detailed errors - Check the console for specifics
- Provides summaries - Final report shows successes and failures
Best Practices
Preparation
Before starting bulk operations:
- Test connections - Verify all sites are accessible
- Check credits - Ensure sufficient OpenAI credits
- Review settings - Confirm generation parameters
- Backup data - For critical WordPress sites
Optimization Tips
For 1-20 articles:
- Use dashboard interface
- Monitor in real-time
- Quick iterations
- Immediate feedback
For 20+ articles:
- Use Excel import
- Run during off-peak hours
- Split into multiple batches
- Monitor system resources
Content Quality
Maintain quality in bulk operations:
- Use detailed prompts - Better instructions = better content
- Include keywords strategically - 3-5 keywords per article
- Set appropriate lengths - 1000-2000 words for most topics
- Review generated content - Spot-check for quality
Monitoring Progress
Real-Time Updates
The dashboard shows:
- Current article being processed
- Progress bar with percentage
- Time elapsed and estimated remaining
- Success/failure count
- Detailed logs for debugging
Progress States
// Generation states
enum ProgressState {
QUEUED = "Waiting in queue",
GENERATING = "Generating content",
OPTIMIZING = "Optimizing for SEO",
PUBLISHING = "Publishing to WordPress",
COMPLETE = "Successfully published",
FAILED = "Generation failed"
}
Group Operations
Working with Site Groups
Efficiently manage multiple sites:
- Create groups - Organize sites by type or purpose
- Apply group settings - Shared configuration
- Bulk select - Generate for entire groups
- Group analytics - Track performance by group
Hierarchical Settings
Settings cascade in this order:
Global Settings (defaults)
↓
Group Settings (overrides global)
↓
Site Settings (overrides group)
↓
Article Settings (overrides all)
Pro Tip: Use groups to apply consistent settings across similar sites, then override only when needed.
Scheduling Considerations
Optimal Timing
Consider these factors:
- Server load - Run large batches during low-traffic periods
- API limits - Spread requests to avoid rate limiting
- Publishing schedule - Stagger publication times
- Time zones - Consider your audience location
Next Steps
- Progress Monitoring - Track operations
- Error Handling - Handle failures gracefully
Last updated on