AutomationFlowsGeneral › Rename A Key In N8N

Rename A Key In N8N

Rename A Key In N8N. Uses manualTrigger, renameKeys. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodes
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        250,
        320
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "position": [
        450,
        320
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "key",
              "value": "somevalue"
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "name": "Rename Keys",
      "type": "n8n-nodes-base.renameKeys",
      "position": [
        650,
        320
      ],
      "parameters": {
        "keys": {
          "key": [
            {
              "newKey": "newkey",
              "currentKey": "key"
            }
          ]
        }
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Set": {
      "main": [
        [
          {
            "node": "Rename Keys",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

About this workflow

Rename A Key In N8N. Uses manualTrigger, renameKeys. Event-driven trigger; 3 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More General workflows → · Browse all categories →