Skip to main content

Auto-rename workflow nodes with AI (Gemini/Claude) for better readability (beta)

Workflow preview

Workflow preview
100%
Auto-rename workflow nodes with AI (Gemini/Claude) for better readability (beta) preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Engineering automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.code, n8n-nodes-base.n8n, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Dr. Christoph Schorsch.

Original n8n.io source

1.1 Workflow description

Title
Auto-rename workflow nodes with AI (Gemini/Claude) for better readability (beta)
Workflow name
Auto-rename workflow nodes with AI (Gemini/Claude) for better readability (beta)

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 name. This ensures your workflows are clean, readable, and easy to maintain.

Who's it for?

This template is perfect for n8n developers and power users who build complex workflows. If you often find yourself struggling to understand the purpose of different nodes at a glance or spend too much time manually renaming them for documentation, this tool will save you significant time and effort.

How it works / What it does

The workflow operates in a simple, automated sequence:

  1. Configure Suffix: A "Set" node at the beginning allows you to easily define the suffix that will be appended to the new workflow's name (e.g., "- new node names").
  2. Fetch Workflow: It then fetches the JSON data of a specified n8n workflow using its ID.
  3. AI-Powered Renaming: The workflow's JSON is sent to an AI model (like Google Gemini or Anthropic Claude), which has been prompted to act as an n8n expert. The AI analyzes the type and parameters of each node to understand its function.
  4. Generate New Names: Based on this analysis, the AI proposes new, meaningful names and returns them in a structured JSON format.
  5. Update and Recreate: A Code Node processes these suggestions, updates all node names, and correctly rebuilds the connections and expressions.
  6. Create & Activate New Workflow: Finally, it creates a new workflow with the updated name, deactivates the original to avoid confusion, and activates the new version.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Start Workflow Manually

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - AI Generate Name Suggestions

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 3 - Parse JSON Response Structure

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 4 - Apply Names and Update References

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Create New Workflow Copy

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 6 - Get Current Workflow JSON

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 7 - Deactivate Old Workflow

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 8 - Activate Renamed Workflow

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 9 - Gemini AI Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 10 - Claude Sonnet AI Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 11 - Workflow Description Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Set Renamed Workflow Suffix

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

3. Summary Table

Workflow Auto-rename workflow nodes with AI (Gemini/Claude) for better readability (beta)
Complexity intermediate
Nodes 12
Categories Engineering, AI Summarization
Author Dr. Christoph Schorsch
Published 30 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10317/10317.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-rename workflow nodes with AI (Gemini/Claude) for better readability (beta) do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI Summarization use case.