{"product_id":"n8n-workflow-create-remove-wordpress-on-hetzner","title":"n8n Workflow: Create \u0026 Remove WordPress on Hetzner","description":"\u003ch3\u003eOne-click WordPress on Hetzner—plus automatic removal\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow lets WordPress agencies and SaaS operators create a fresh Hetzner server running WordPress (Docker), MariaDB, and automatic HTTPS in minutes—then removes the project on request. Submit a form, get an emailed login, and manage DNS via Cloudflare (or use sslip.io when no base domain is configured).\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eReceives a request\u003c\/b\u003e from an n8n Form to either \u003cb\u003ecreate\u003c\/b\u003e a new WordPress client project or \u003cb\u003eremove\u003c\/b\u003e an existing one.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eValidates input \u0026amp; generates credentials\u003c\/b\u003e for new projects, including WordPress admin login details.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eBuilds a cloud-init installer\u003c\/b\u003e that sets up WordPress via \u003cb\u003eWP-CLI\u003c\/b\u003e and starts WordPress, \u003cb\u003eMariaDB\u003c\/b\u003e, and \u003cb\u003eCaddy\u003c\/b\u003e using \u003cb\u003eDocker Compose\u003c\/b\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eUses the Hetzner Cloud API\u003c\/b\u003e to fetch SSH keys, ensure a firewall for \u003cb\u003e22\/80\/443\u003c\/b\u003e, select the \u003cb\u003echeapest matching server type\u003c\/b\u003e for the requested RAM, and create the server.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eConfigures DNS\u003c\/b\u003e: if a base domain is set, it creates a \u003cb\u003eCloudflare A record\u003c\/b\u003e for the project subdomain pointing to the server IPv4; otherwise it uses an \u003cb\u003esslip.io\u003c\/b\u003e hostname.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eWaits for readiness\u003c\/b\u003e by polling a one-time status file until it reports ready, fails, or times out.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eSends email updates\u003c\/b\u003e: a success email with the WordPress URL and login details, or a troubleshooting email with SSH\/log pointers if setup fails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eRemoves projects\u003c\/b\u003e by finding the Hetzner server via labels, deleting it, optionally removing the Cloudflare DNS record, and emailing confirmation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eProvisioning new WordPress client projects on Hetzner with consistent HTTPS and fast delivery.\u003c\/li\u003e\n  \u003cli\u003eDecommissioning client environments safely (server + optional Cloudflare DNS cleanup) when projects end.\u003c\/li\u003e\n  \u003cli\u003eStandardizing onboarding for WordPress agencies using n8n automation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eHetzner Cloud API\u003c\/b\u003e (create server, firewall ports 22\/80\/443, SSH keys, server selection by RAM)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eCloudflare DNS\u003c\/b\u003e (A record for subdomains when base domain is configured)\u003c\/li\u003e\n  \u003cli\u003eServer setup via \u003cb\u003ecloud-init\u003c\/b\u003e, \u003cb\u003eWP-CLI\u003c\/b\u003e, \u003cb\u003eDocker Compose\u003c\/b\u003e, \u003cb\u003eCaddy\u003c\/b\u003e, and \u003cb\u003eMariaDB\u003c\/b\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003en8n workflow nodes\u003c\/b\u003e: if, set, code, wait, switch, email send\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup requirement\u003c\/h3\u003e\n\u003cp\u003eCreate a \u003cb\u003eHetzner Cloud API token\u003c\/b\u003e (read\/write) and ensure you have \u003cb\u003eat least one SSH key\u003c\/b\u003e available in Hetzner Cloud for the workflow.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46326525558963,"sku":"N8N-21808","price":15.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/6cSx2r2168pIcyKQlNA1F_dN9el06f.png?v=1793351623","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-create-remove-wordpress-on-hetzner","provider":"N8N Commerce","version":"1.0","type":"link"}