Automate Proxmox infrastructure tasks using an AI agent driven by n8n. This n8n workflow template translates natural language to Proxmox API calls (POST/GET/DELETE) securely.
Download this n8n workflow template and start using it instantly.
Managing virtualization environments like Proxmox often requires manual interaction with complex APIs or web interfaces. This sophisticated n8n workflow solves this challenge by implementing a custom AI Agent, making Proxmox management conversational. The agent, powered by the Google Gemini language model, is specifically trained using the Proxmox API documentation and wiki to securely convert user requests (e.g., 'Create a VM with ID 201,' 'List all VMs on psb1') into precise, structured API calls. The core value of this n8n template lies in its ability to securely authenticate and execute complex infrastructure changes based on natural language, dramatically simplifying DevOps operations and showcasing the power of the n8n node structure for infrastructure-as-code automation.
This n8n workflow operates through a multi-step conversational process starting with an input trigger and culminating in a structured response from the AI. The flow begins with an incoming user request captured by an n8n trigger (such as When chat message received, Telegram Trigger, or Gmail Trigger).
AI Agent n8n node.AI Agent is equipped with three crucial tools: Proxmox API Documentation, Proxmox API Wiki, and a live Proxmox API endpoint connection. This context allows the agent to formulate highly accurate, structured API requests.responsetype (HTTP method: GET, POST, DELETE, PUT) and the target url and details payload. This output is enforced by an Auto-fixing Output Parser and a Structured Output Parser n8n node, ensuring data integrity.Switch n8n node routes the flow based on the determined responsetype (e.g., 'GET' goes to HTTP Request, 'POST' goes to If node, 'DELETE' goes to If1 node).HTTP Request n8n node executes the call against the Proxmox server, using shared header authentication.Code n8n node (Structure Response) and then summarized into human-readable text by a second AI model (AI Agent1/Gemini).Code n8n nodes (Structgure Response from Proxmox, Format Response and Hide Sensitive Data) to generate a clear confirmation message for the user, completing the n8n workflow cycle.To deploy this powerful n8n workflow, follow these setup steps, focusing especially on the Proxmox credentials:
AuthorizationPVEAPIToken=@!= (e.g., PVEAPIToken=root@pam!n8n=1234).HTTP Request nodes and the Proxmox tool node are linked to this credential.Google Gemini Chat Model n8n nodes.Proxmox tool n8n node parameters. Update the base URL (https://10.11.12.101:8006/api2/) and the node list (psb1, psb2, psb3) to match your specific Proxmox cluster configuration.When chat message received or Telegram Trigger) and link its output to the main AI Agent n8n node to begin using this n8n templates solution.This n8n workflow utilizes several specialized and core n8n node types to achieve complex automation:
AI Agent (1492e53e): The central decision-making n8n node. It uses the ReAct agent mechanism, guided by an extensive prompt defining rules, structure, and examples (e.g., handling missing parameters, defaulting to psb1). It translates conversational text into precise API calls.
Proxmox, Proxmox API Documentation, Proxmox API Wiki (ToolHttpRequest): These specialized n8n node tools provide the AI agent with external knowledge needed to construct accurate Proxmox API commands.
Structured Output Parser (8565ac2f): Ensures the AI's output conforms strictly to the expected JSON schema (containing responsetype, url, details), which is critical for subsequent steps.
Switch (9253d036): A flow control n8n node that examines the responsetype (GET, POST, DELETE, PUT) generated by the AI agent and directs the execution path to the correct HTTP method handler.
HTTP Request (e.g., 09444fa1, e6d85380): Multiple n8n node instances execute the final API calls against the Proxmox server, handling GET, POST, and DELETE methods using the dynamic URL and payload generated by the AI.
Code (f11ac59e & 60234199): Custom script n8n node instances used for two main purposes: 1) Structuring complex JSON responses into a readable format for the summarizing AI, and 2) Parsing the cryptic Proxmox UPID response strings (from POST/DELETE actions) into clear confirmation messages.
Automate Telegram group security using this robust n8n workflow. New members face a math CAPTCHA challenge, storing verification state in Google Sheets to block bots. Explore this n8n template.

Use this advanced n8n workflow to harness Gemini 2.0 for precise, prompt-based object detection in images. Learn how to scale normalized coordinates using a custom n8n node.

Use this advanced n8n workflow to analyze new YouTube videos, find relevant discussion threads on Reddit, and generate humanized, relevant promotional comments using AI and Google Sheets for an approval queue.

Automate Proxmox VE monitoring with this n8n workflow template. Get scheduled reports on VM status, host resources, and CPU temperature alerts directly in Telegram.

Use this powerful n8n workflow template to deploy an IP2Proxy MCP server, allowing AI agents to check proxy status and threat levels via a specialized n8n node.

**Amjid Ali** is an automation expert and AI enthusiast specializing in creating intelligent workflows using low-code platforms like **n8n**. With a passion for simplifying complex processes, he designs solutions that enhance productivity and streamline operations. As an active contributor to the **n8n Creator Hub**, Amjid shares innovative use cases, practical templates, and best practices, empowering the community to unlock the full potential of workflow automation.







































