Email Automation
Create SEO WordPress blog drafts from a Google Sheets queue with Gemini
On a schedule, it handles email with Google Gemini using Gmail, Google Sheets, Wordpress.
What it does
## Create SEO WordPress blog drafts with Gemini and Google Sheets ### How it works This workflow runs on a weekly schedule, pulls the next pending blog topic from Google Sheets, and checks WordPress to avoid creating duplicate drafts. If no existing post is found, it uses Gemini to generate SEO article HTML and image briefs, creates three images, uploads them to WordPress, builds the final article, and saves it as a WordPress draft. It then updates the source sheet and sends Gmail notifications for either reconciled existing posts or newly created drafts. ### Setup steps - Configure the weekly schedule trigger for the desired publishing cadence. - Connect Google Sheets credentials and set the spreadsheet, sheet, status fields, and row identifiers used for the blog queue. - Configure WordPress credentials or REST API authentication for post lookup, category lookup, media upload, draft creation, and metadata updates. - Connect Google Gemini credentials for both article generation and image/image-brief generation nodes. - Connect Gmail credentials and set the notification recipients, subject lines, and message content. - Replace placeholder WordPress REST API URLs and verify slug, category, featured image, excerpt, and draft-status mappings. ### Customization Adjust the Google Sheet columns, Gemini prompts, article validation rules, image count or style, WordPress category logic, and notification templates to match the site’s editorial workflow.
The steps
- Every Week at 6am
- Read Blog Queue from Sheets
- Select First Blog for Draft
- Set Blog Input Fields
- Fetch WordPress Post by Slug
- Check if Post Exists
- Update Sheets for Existing Post
- Notify Existing Draft Reconciled
- Check Row Processing Status
- Mark Row as Processing in Sheets
- Fetch WP Category by Slug
- Generate Article with Gemini
- Gemini Content Generator
- Parse Generated Article
30 steps in total.
Similar automations
Content Writing & GenerationCurate GitHub release blog drafts with Claude, WordPress, and Google Sheets15 stepsContent Writing & GenerationGenerate SEO Blog Posts with GPT-4 and Publish to WordPress and Gmail13 stepsForms & SurveysGenerate SEO blog posts with Claude and save drafts to WordPress21 stepsSocial Media PublishingQueue TikTok, Reels and Shorts posts from an upload form via PostWire15 steps