n8n Workflow: Approve WordPress Pending Posts with Gemini & Slack
n8n Workflow: Approve WordPress Pending Posts with Gemini & Slack
Regular price
£65.99
Regular price
£65.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Workflow: Approve WordPress Pending Posts with Gemini & Slack
Regular price
£65.99
Regular price
£65.99
Sale price
Unit price
/
per
Approve WordPress “Pending” posts in Slack—automatically checked by Gemini
This n8n workflow watches for WordPress posts that move to Pending, runs them through Gemini with your house style, and sends an editor-ready review in Slack with a single Review action. If the post needs work, it’s returned to drafts and the author receives feedback by email.
What this workflow does
-
Instant review trigger: A Review Request Webhook receives
{"post_id": 123}the moment a post enters Pending (no schedule tuning needed). Header Auth keeps the endpoint private. - Load the post + author: The workflow uses the WordPress API to Get Post (Pending posts aren’t public) and Get Author for the writer’s name and email.
- Validate requirements: A Code node checks what Settings requires—such as minimum word count, title presence, and whether a featured image and/or excerpt are required.
- Send for review or return early: Complete posts go to review; incomplete ones are returned to the author. If the post is no longer pending, it’s sent to Ignore Post.
- Gemini verdict with structured issues: Review Post sends the post plus your house style to the Gemini Chat Model and receives a verdict (ready vs needs work), a one-line summary, and up to five concrete issues validated against a JSON schema.
- Editor in Slack + clear actions: Ask Editor posts the summary, issues, and check. If Gemini fails, the workflow still proceeds, marking it for hand review.
Use cases
- Publishing teams that want faster approvals for WordPress content using Slack-based editing.
- Automation engineers and SaaS operators needing a reliable WordPress + Gemini + Slack review pipeline.
- Teams that must enforce editorial standards (word count, featured image, excerpt) before publication.
Technical details
- Integrations: WordPress API, Slack, Gemini Chat Model.
- n8n node types used: if, set, code, no op, slack, switch.
- Security: Header Auth on the webhook endpoint.
- Routing logic: switch-based handling for complete/incomplete posts, non-pending posts, and setup/read warnings to Slack.
