{"product_id":"searxng-openai-seo-blog-draft-workflow-in-n8n-webhook","title":"SearXNG + OpenAI SEO Blog Draft Workflow in n8n (Webhook)","description":"\u003ch3\u003eTurn research into SEO blog drafts—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow generates SEO-focused blog article drafts by researching your topic with \u003cstrong\u003eSearXNG\u003c\/strong\u003e, drafting and scoring the post with an \u003cstrong\u003eOpenAI-compatible LLM\u003c\/strong\u003e, and then saving the result to \u003cstrong\u003ePayload CMS\u003c\/strong\u003e—either on-demand via \u003cstrong\u003ewebhook\u003c\/strong\u003e or automatically on an \u003cstrong\u003ehourly schedule\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers:\u003c\/strong\u003e Runs when you POST to the \u003ccode\u003eblog-article\u003c\/code\u003e webhook endpoint, or every hour to auto-propose a new topic using an OpenAI-compatible LLM.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eContext setup:\u003c\/strong\u003e Normalizes the incoming subject and word budget into a run context.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTopic research:\u003c\/strong\u003e Asks the LLM to produce \u003cstrong\u003esix web search queries\u003c\/strong\u003e, then searches them in \u003cstrong\u003eSearXNG\u003c\/strong\u003e, aggregating and cleaning\/deduplicating SERP evidence used for SEO grounding.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKeyword research:\u003c\/strong\u003e Generates primary\/secondary keywords, relevant questions, and content gaps—grounded in the collected SERP data.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDraft generation:\u003c\/strong\u003e Writes a structured blog draft (title, \u003cem\u003eslug\u003c\/em\u003e, SEO fields, and content blocks) using the keyword research and SERP evidence.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eQuality critique + optional revision:\u003c\/strong\u003e Runs an LLM critique scoring quality\/SEO\/editorial criteria; if it fails the threshold, performs \u003cstrong\u003eone full revision pass\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePublish to CMS:\u003c\/strong\u003e Validates the final content against an \u003cstrong\u003eallowed block list\u003c\/strong\u003e and POSTs the draft to \u003cstrong\u003ePayload CMS\u003c\/strong\u003e. The webhook caller receives a JSON response; scheduled runs log outcomes.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS operators needing consistent SEO content pipelines without manual research and outlining.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers building “research → draft → score → publish” flows for a marketing team.\u003c\/li\u003e\n  \u003cli\u003eTeams that want hourly topic ideation and quick blog drafts ready for review in Payload CMS.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers:\u003c\/strong\u003e Webhook trigger (\u003ccode\u003eblog-article\u003c\/code\u003e) and Schedule Trigger (hourly).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCore logic nodes:\u003c\/strong\u003e \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003ehttp request\u003c\/code\u003e, \u003ccode\u003esticky note\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLLM access:\u003c\/strong\u003e Uses an \u003cstrong\u003eOpenAI-compatible API credential\u003c\/strong\u003e with LangChain Chat model nodes across all LLM steps (topic discovery, query seeding, keyword research, drafting, critique, and revision).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSearch:\u003c\/strong\u003e \u003cstrong\u003eSearXNG\u003c\/strong\u003e for SERP retrieval and evidence grounding.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCMS output:\u003c\/strong\u003e Saves validated draft data to \u003cstrong\u003ePayload CMS\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45974311895219,"sku":"N8N-19296","price":41.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/mdVYr5EZ3tzrerWpxAlGo_I4Itx35I.png?v=1788772140","url":"https:\/\/buyflowscripts.com\/products\/searxng-openai-seo-blog-draft-workflow-in-n8n-webhook","provider":"N8N Commerce","version":"1.0","type":"link"}