{"product_id":"n8n-workflow-approve-wordpress-pending-posts-with-gemini-slack","title":"n8n Workflow: Approve WordPress Pending Posts with Gemini \u0026 Slack","description":"\u003ch3\u003eApprove WordPress “Pending” posts in Slack—automatically checked by Gemini\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow watches for WordPress posts that move to \u003cb\u003ePending\u003c\/b\u003e, runs them through \u003cb\u003eGemini\u003c\/b\u003e with your house style, and sends an editor-ready review in \u003cb\u003eSlack\u003c\/b\u003e with a single \u003cb\u003eReview\u003c\/b\u003e action. If the post needs work, it’s returned to \u003cb\u003edrafts\u003c\/b\u003e and the author receives feedback by \u003cb\u003eemail\u003c\/b\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eInstant review trigger:\u003c\/b\u003e A \u003cb\u003eReview Request Webhook\u003c\/b\u003e receives \u003ccode\u003e{\"post_id\": 123}\u003c\/code\u003e the moment a post enters Pending (no schedule tuning needed). \u003cb\u003eHeader Auth\u003c\/b\u003e keeps the endpoint private.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eLoad the post + author:\u003c\/b\u003e The workflow uses the WordPress API to \u003cb\u003eGet Post\u003c\/b\u003e (Pending posts aren’t public) and \u003cb\u003eGet Author\u003c\/b\u003e for the writer’s name and email.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eValidate requirements:\u003c\/b\u003e A Code node checks what \u003cb\u003eSettings\u003c\/b\u003e requires—such as minimum word count, title presence, and whether a featured image and\/or excerpt are required.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eSend for review or return early:\u003c\/b\u003e Complete posts go to review; incomplete ones are returned to the author. If the post is no longer pending, it’s sent to \u003cb\u003eIgnore Post\u003c\/b\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eGemini verdict with structured issues:\u003c\/b\u003e \u003cb\u003eReview Post\u003c\/b\u003e sends the post plus your house style to the \u003cb\u003eGemini Chat Model\u003c\/b\u003e and receives a verdict (ready vs needs work), a one-line summary, and up to five concrete issues validated against a JSON schema.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eEditor in Slack + clear actions:\u003c\/b\u003e \u003cb\u003eAsk Editor\u003c\/b\u003e posts the summary, issues, and check. If Gemini fails, the workflow still proceeds, marking it for hand review.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003ePublishing teams that want faster approvals for WordPress content using \u003cb\u003eSlack-based editing\u003c\/b\u003e.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers and SaaS operators needing a reliable \u003cb\u003eWordPress + Gemini + Slack\u003c\/b\u003e review pipeline.\u003c\/li\u003e\n  \u003cli\u003eTeams that must enforce editorial standards (word count, featured image, excerpt) before publication.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eIntegrations:\u003c\/b\u003e WordPress API, \u003cb\u003eSlack\u003c\/b\u003e, \u003cb\u003eGemini Chat Model\u003c\/b\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003en8n node types used:\u003c\/b\u003e if, set, code, no op, slack, switch.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eSecurity:\u003c\/b\u003e Header Auth on the webhook endpoint.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eRouting logic:\u003c\/b\u003e switch-based handling for complete\/incomplete posts, non-pending posts, and setup\/read warnings to Slack.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46275704520883,"sku":"N8N-21307","price":65.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/xSqijGUCjN2Wx4oy53Gkx_I94noUoY.png?v=1792833707","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-approve-wordpress-pending-posts-with-gemini-slack","provider":"N8N Commerce","version":"1.0","type":"link"}