Skip to main content

Convert n8n tags into folders and move workflows

Workflow preview

Workflow preview
100%
Convert n8n tags into folders and move workflows preview
Open on n8n.io

Important notice

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

1. Workflow Overview

N8n recently introduced folders and it has been a big improvement on workflow management on top of the tags. This means the current workflows need to be moved manually to the folders. The simplest ...

Best for

  • DevOps automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.splitout, n8n-nodes-base.filter, n8n-nodes-base.removeduplicates, n8n-nodes-base.splitinbatches, n8n-nodes-base.n8n, n8n-nodes-base.limit

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Zacharia Kimotho.

Original n8n.io source

1.1 Workflow description

Title
Convert n8n tags into folders and move workflows
Workflow name
Convert n8n tags into folders and move workflows

N8n recently introduced folders and it has been a big improvement on workflow management on top of the tags.

This means the current workflows need to be moved manually to the folders.

The simplest idea to try is to convert the current tags into folders and move all the current workflows within the respective tags into the folders

This assumes the tag name will be used as the folder name.

To Note

For workflows that use more than 1 tag, the workflow will be assigned the last tag that runs as the folder.

How does it work I took the liberty of simplifying the setup of this workflow that will be needed on your part and also be beginner-friendly

  1. Copy and paste this workflow into your n8n canvas. You must have existing workflows and tags before you can run this
  2. Set your n8n login details on the node set Credentials with the n8n URL, username, and password.
  3. Setup your n8n API credentials on the n8n node get workflows
  4. Run the workflow. This opens up a form where you can select the number of tags to move and click on submit
  5. The workflow responds with the successful number of workflows that were imported

Read more about the template

Built by Zacharia Kimotho - Imperol

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 - set credentials

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

Block 2 - login n8n

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - get tags

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - my-projects

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Split Out

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

Block 6 - filter owned projects

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 7 - Get folders

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Split Out2

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

Block 9 - Remove Duplicates

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

Block 10 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 11 - get workflows

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

Block 12 - Move workflow to folder

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Normalize names

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

Block 14 - Limit1

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

Block 15 - Create folders

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - set folder name + id

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

Block 17 - set folder name + id1

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

Block 18 - set global

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

Block 19 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 20 - Edit Fields

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

Block 21 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 22 - Code

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

Block 23 - If no folder

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 24 - If folder exists

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Showing the first 24 of 40 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Convert n8n tags into folders and move workflows
Complexity advanced
Nodes 40
Categories DevOps
Author Zacharia Kimotho
Published 06 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3445/3445.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 Convert n8n tags into folders and move workflows do?

N8n recently introduced folders and it has been a big improvement on workflow management on top of the tags. This means the current workflows need to be moved manually to the folders. The simplest ...

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 DevOps use case.