Library / Image, Video & Audio
Image, Video & Audio
Generate WordPress image alt text with OpenAI and review it in Google Sheets
Runs hourly to find WordPress media missing alt text. A vision LLM writes context-aware text from the attached post, logs it to Google Sheets for approval, then writes approved text back to WordPress.
What it does
## Auto-fill missing WordPress image alt text with context-aware AI (no plugins) ### How it works This workflow finds WordPress media items that are missing image alt text, skips items already logged, enriches each image with the title and excerpt of the post or page it is attached to, and uses a vision-capable LLM to generate context-aware alt text in your chosen language. In review mode (default) suggestions are logged to Google Sheets as pending; change a row's status to approved (edit the text first if you like) and the hourly run writes it to WordPress. In auto mode alt text is written to WordPress immediately and logged. ### Setup steps - WordPress: Users → Profile → *Application Passwords* → create one. Add a WordPress API credential (site URL, username, application password) and select it in every WordPress HTTP Request node. - Google Sheets: create one tab named Log with this header row: media_id | image_url | admin_url | post_title | alt_text | is_decorative | confidence | status | updated_at Connect your Google Sheets credential in all four Sheets nodes. - AI model: add OpenAI credentials, or swap the chat model for Claude, Gemini or any other vision-capable model. - Config: fill in wp_base_url (no trailing slash), sheet_id, alt_language, mode and max_per_run. - Test with max_per_run = 5 via Manual Trigger and check the sheet before activating the schedules. ### Important — scope This updates the alt text stored on the media library item. WordPress stores alt text for images already placed inside post content in the post HTML, so those existing in-content images are not changed. Featured images, galleries, WooCommerce product images and future inserts use the new alt text. ### Customization Change max_per_run to control batch size and AI cost, max_alt_length for alt text length, or the prompt rules inside the LLM chain for your preferred style.
The steps
- When Daily at 3 AM
- Manual Trigger
- Every Hour Trigger
- Set Config Parameters
- If Apply Run
- Read Processed Log in Sheets
- Fetch WordPress Media
- Filter Missing Alt & Supported Format
- Skip Processed Media IDs
- Limit Items per Run
- Set Media Item Fields
- If Attached to Post
- Get Parent Post Details
- If Post Found
28 steps in total.
Similar automations
Image, Video & AudioGenerate missing WordPress image alt text with OpenAI vision13 stepsContent Writing & GenerationGenerate Missing Image Alt Text with OpenAI25 stepsWeb Scraping & ResearchAudit Page Images and Alt Text into Google Sheets11 stepsContent Writing & GenerationImprove Website Accessibility with GPT-4o Alt Text11 steps