Auto-rename workflow nodes with AI (Gemini/Claude) for better readability (beta)
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Gemini Chat Model and OpenRouter Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Renamed Workflow Suffix (Edit Fields (Set)): sets 1 field: workflowNameSuffix
- Get Current Workflow JSON (n8n): get
- AI Generate Name Suggestions (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Sonnet AI Model; output parser: Parse JSON Response Structure
- Apply Names and Update References (Code): runs custom JavaScript code
- Create New Workflow Copy (n8n): create
- Deactivate Old Workflow (n8n): deactivate
- Activate Renamed Workflow (n8n): activate
Services it uses
Other Google Gemini + OpenRouter templates (65)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code
n8n-nodes-base.code - n8n
n8n-nodes-base.n8n - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Edit Fields (Set)
n8n-nodes-base.set
From the author
Rename Workflow Nodes with AI for Clarity This workflow automates the tedious process of renaming nodes in your n8n workflows. Instead of manually editing each node, it uses an AI language model to analyze its function and assign a concise, descriptive new…