AutomationFlowsGeneral › Process User Data in n8n (Workflow Template)

Process User Data in n8n (Workflow Template)

Original n8n title: Data Processing

Data Processing. Uses start, json. Manual trigger; 4 nodes.

Manual trigger★★☆☆☆ complexity4 nodesStartJSON
General Trigger: Manual Nodes: 4 Complexity: ★★☆☆☆ Added:

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
{
  "name": "Data Processing",
  "description": "Basic data transformation workflow showing expression usage and data manipulation",
  "category": "getting-started",
  "difficulty": "beginner",
  "estimatedTime": "5 minutes",
  "prerequisites": [
    "Basic n8n knowledge"
  ],
  "learningObjectives": [
    "Learn data transformation techniques",
    "Practice with expressions",
    "Understand data flow between nodes"
  ],
  "nodes": [
    {
      "parameters": {},
      "id": "start",
      "name": "Start",
      "type": "n8n-nodes-base.start",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "assignments": [
          {
            "name": "users",
            "value": "[{\"id\": 1, \"firstName\": \"John\", \"lastName\": \"Doe\", \"age\": 30, \"email\": \"john@example.com\"}, {\"id\": 2, \"firstName\": \"Jane\", \"lastName\": \"Smith\", \"age\": 25, \"email\": \"jane@example.com\"}, {\"id\": 3, \"firstName\": \"Bob\", \"lastName\": \"Johnson\", \"age\": 35, \"email\": \"bob@example.com\"}]"
          }
        ]
      },
      "id": "set-sample-data",
      "name": "Set Sample Data",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        460,
        300
      ]
    },
    {
      "parameters": {
        "operation": "parse",
        "jsonPath": "$json.users",
        "includeItemIndex": true
      },
      "id": "parse-users",
      "name": "Parse Users",
      "type": "n8n-nodes-base.json",
      "typeVersion": 1,
      "position": [
        680,
        300
      ]
    },
    {
      "parameters": {
        "assignments": [
          {
            "name": "fullName",
            "value": "{{ $json.data.firstName + ' ' + $json.data.lastName }}"
          },
          {
            "name": "isAdult",
            "value": "{{ $json.data.age >= 18 }}"
          },
          {
            "name": "ageCategory",
            "value": "{{ if($json.data.age < 30, 'young', if($json.data.age < 40, 'middle', 'senior')) }}"
          },
          {
            "name": "processedAt",
            "value": "{{ formatDate(now(), 'yyyy-MM-dd HH:mm:ss') }}"
          }
        ]
      },
      "id": "transform-user-data",
      "name": "Transform User Data",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        900,
        300
      ]
    }
  ],
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "Set Sample Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Sample Data": {
      "main": [
        [
          {
            "node": "Parse Users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Users": {
      "main": [
        [
          {
            "node": "Transform User Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "versionId": "1"
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Data Processing. Uses start, json. Manual trigger; 4 nodes.

Source: https://github.com/neul-labs/m9m/blob/main/examples/getting-started/data-processing.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Smoke Test - JSON Node. Uses start, json. Manual trigger; 3 nodes.

Start, JSON
General

Conditional Routing. Uses start, json. Manual trigger; 10 nodes.

Start, JSON
General

JSON Processing. Uses start, json. Manual trigger; 6 nodes.

Start, JSON
General

Array Operations. Uses start, json. Manual trigger; 5 nodes.

Start, JSON
General

Smoke Test - Multi-Step Pipeline. Uses start, json. Manual trigger; 5 nodes.

Start, JSON