🛠️ Auto workflow positioning
Needs changesNeeds changes. This template uses 2 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes), HTTP Request Tool (legacy). 2 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.2) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| HTTP Request Tool (legacy) Dummy Tool, Dummy Tool (1) | HTTP Request node connected to the AI Agent's Tool input |
Nodes used (18)
- Manual Trigger
n8n-nodes-base.manualTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Vector Store Retriever
@n8n/n8n-nodes-langchain.retrieverVectorStore - Simple Vector Store
@n8n/n8n-nodes-langchain.vectorStoreInMemory - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Question and Answer Chain
@n8n/n8n-nodes-langchain.chainRetrievalQa - Switch
n8n-nodes-base.switch - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest - n8n
n8n-nodes-base.n8n - HTTP Request
n8n-nodes-base.httpRequest - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Schedule Trigger
n8n-nodes-base.scheduleTrigger
What it does
Check Online Version ! https://n8n-tools.streamlit.app/ Who is it for? This workflow is perfect for n8n users who want to maintain clean and organized workflows without manually repositioning nodes. Whether you're building complex workflows or sharing them with a team, maintaining visual clarity is essential for efficiency and collaboration. This template automates the positioning process, saving time and ensuring consistent layout standards. --- How does it work? The template is divided into two parts: 1. Positioning Engine: - A webhook node kicks off the process by receiving a workflow ID. - Using the provided workflow ID, an n8n API node fetches the workflow details. - The fetched workflow is sent to a processing webhook that calculates optimized positions for the nodes. - Finally, an n8n API node updates the workflow with the newly positioned nodes, ensuring a clean and professional layout. 2. Reusable Positioning Block: - This is an HTTP Request node that can be seamlessly integrated into any workflow you create. When triggered, it sends the current workflow for automatic positioning via the first part of this template. --- How to set it up? 1. Enable n8n API Access: - Ensure that your n8n instance has API access enabled with the appropriate credentials. 2. Input Your n8n API URL and Credentials: - Open the template, locate the n8n API nodes, and update them with your instance API key. - Update the URL of the 'Magic Positioning' Http Request node to point to your n8n instance webhook URL. 3. Embed the Reusable Block: - Add the provided HTTP Request node to any of your workflows to instantly connect to the auto-positioning engine.