This n8n workflow automates subdomain creation and deletion on GoDaddy using their API, triggered via email requests. This empowers developers to manage subdomains directly without involving DevOps for minor tasks.
Start Workflow (GET Request) node.Extract Data from Email node to parse relevant details (e.g., subdomain name, action type).Validate Action Type node to proceed with create (true) or delete (false).true, the Create Subdomain node sends a POST request to GoDaddy’s API to create the subdomain.false, the Delete Subdomain node sends a DELETE request to remove the subdomain.Send Email Response node notifies the requester of the action’s success or failure.Extract Data from Email node to match your email format or add additional validation steps for security.