Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Email Automation

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

  1. Every Week at 6am
  2. Read Blog Queue from Sheets
  3. Select First Blog for Draft
  4. Set Blog Input Fields
  5. Fetch WordPress Post by Slug
  6. Check if Post Exists
  7. Update Sheets for Existing Post
  8. Notify Existing Draft Reconciled
  9. Check Row Processing Status
  10. Mark Row as Processing in Sheets
  11. Fetch WP Category by Slug
  12. Generate Article with Gemini
  13. Gemini Content Generator
  14. Parse Generated Article

30 steps in total.

Similar automations