{"product_id":"find-broken-external-links-in-wordpress-with-n8n-gmail","title":"Find Broken External Links in WordPress with n8n + Gmail","description":"\u003ch3\u003eFind Broken External Links in WordPress—Automatically—Using n8n + Gmail\u003c\/h3\u003e\n\u003cp\u003eKeep your WordPress content healthy by automatically scanning recent posts for broken external links, checking each one with HTTP HEAD requests, and generating an HTML report that can be emailed via Gmail on a weekly schedule or run manually.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns manually or on schedule:\u003c\/strong\u003e configured to run every Monday at 9am (and supports manual execution).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePulls recent WordPress posts:\u003c\/strong\u003e fetches the latest \u003cem\u003epublished\u003c\/em\u003e posts from the WordPress REST API using HTTP Basic Auth.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts external URLs:\u003c\/strong\u003e parses the post HTML, extracts \u003cstrong\u003enon-site\u003c\/strong\u003e (external) URLs, and enforces a configurable maximum number of links to check per run.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChecks link health:\u003c\/strong\u003e sends batched HTTP HEAD requests to each extracted URL using a configurable timeout.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClassifies results:\u003c\/strong\u003e marks links as \u003cstrong\u003eok\u003c\/strong\u003e, \u003cstrong\u003ebroken\u003c\/strong\u003e, or \u003cstrong\u003eneeds manual review\u003c\/strong\u003e based on HTTP status codes and request errors.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates an HTML report:\u003c\/strong\u003e summarizes totals and lists only \u003cstrong\u003ebroken\u003c\/strong\u003e or \u003cstrong\u003ereview\u003c\/strong\u003e links.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends via Gmail (optional):\u003c\/strong\u003e when email reporting is enabled and issues are found, the workflow sends the report using Gmail; otherwise it outputs the report data without emailing.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS operators and content teams who want continuous monitoring of outbound links in WordPress articles.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers maintaining link quality after migrations, vendor changes, or partner URL updates.\u003c\/li\u003e\n  \u003cli\u003eAnyone managing SEO-sensitive content who needs a clear weekly checklist of broken external links.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWordPress integration:\u003c\/strong\u003e WordPress REST API with HTTP Basic Auth (Application Password).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRequest checking:\u003c\/strong\u003e HTTP Request node using batched HTTP HEAD checks with configurable timeout and link limits.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReporting + messaging:\u003c\/strong\u003e HTML report creation and \u003cstrong\u003eGmail\u003c\/strong\u003e delivery when \u003ccode\u003eemailReport = true\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow logic nodes:\u003c\/strong\u003e if, set, code, gmail, sticky note.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSetup tip:\u003c\/strong\u003e configure your WordPress site URL, number of posts to scan, link limits, and request timeout in the workflow Config values. Optionally add Gmail credentials and set the recipient address.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46244567089331,"sku":"N8N-21087","price":25.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/AIPzdq62BBmzMmpT6AoDZ_lrV4sqwG.png?v=1792402183","url":"https:\/\/buyflowscripts.com\/products\/find-broken-external-links-in-wordpress-with-n8n-gmail","provider":"N8N Commerce","version":"1.0","type":"link"}