{"product_id":"weekly-ai-digest-automation-serpapi-gemini-wordpress","title":"Weekly AI Digest Automation: SerpAPI + Gemini + WordPress","description":"\u003ch3\u003eGet an AI-written weekly digest draft—automatically—using SerpAPI, Google Gemini, and WordPress.\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow runs every Friday at 07:00 and turns fresh Google Search results from the past week into a source-grounded weekly digest in Markdown, converts it to HTML, and creates a \u003cstrong\u003edraft post\u003c\/strong\u003e in your \u003cstrong\u003eWordPress\u003c\/strong\u003e site.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSchedules the run:\u003c\/strong\u003e a Schedule Trigger starts the automation every Friday at \u003cstrong\u003e07:00\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds search parameters:\u003c\/strong\u003e from a single Config step, it creates \u003cstrong\u003etwo distinct search queries\u003c\/strong\u003e plus a \u003cstrong\u003efreshness window\u003c\/strong\u003e covering the past week.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches results with SerpAPI:\u003c\/strong\u003e it calls \u003cstrong\u003eSerpAPI’s Google Search endpoint twice\u003c\/strong\u003e (once per query) to pull recent findings.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMerges and de-duplicates:\u003c\/strong\u003e results are combined, deduplicated by \u003cstrong\u003eURL\u003c\/strong\u003e, and formatted into a numbered “findings” block for citation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWrites a grounded digest with Google Gemini:\u003c\/strong\u003e Gemini is instructed to produce a weekly digest in \u003cstrong\u003eMarkdown\u003c\/strong\u003e that \u003cstrong\u003eonly cites the provided URLs\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnforces output quality:\u003c\/strong\u003e it applies \u003cstrong\u003etitle and excerpt character limits\u003c\/strong\u003e, normalizes tags, and \u003cstrong\u003efails the run\u003c\/strong\u003e if the model returns an \u003cstrong\u003eempty body\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates a WordPress draft:\u003c\/strong\u003e the Markdown is converted to \u003cstrong\u003eHTML\u003c\/strong\u003e, then the workflow creates a \u003cstrong\u003edraft post\u003c\/strong\u003e in WordPress using the generated title and content.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS operators publishing weekly product, industry, or regulatory updates sourced from Google results.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers generating consistent content drafts without manual research each week.\u003c\/li\u003e\n  \u003cli\u003eTeams needing a repeatable “news digest” process with citation controls for credibility.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e SerpAPI (Google Search), Google Gemini (Google AI), WordPress (Basic Auth).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes \/ components:\u003c\/strong\u003e Schedule Trigger, HTTP Request, Code, Markdown conversion, and WordPress post creation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup:\u003c\/strong\u003e add SerpAPI credentials, add Google Gemini credentials for the chat model, and provide WordPress Basic Auth credentials with permission to create posts; then edit the queries\/audience\/output limits in the Config step.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46066368905395,"sku":"N8N-19736","price":35.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/HZQA7lfSFvSQsKmOlT35j_sXSiLL6y.png?v=1789895337","url":"https:\/\/buyflowscripts.com\/products\/weekly-ai-digest-automation-serpapi-gemini-wordpress","provider":"N8N Commerce","version":"1.0","type":"link"}