Assign values to variables using the Set node

Assign values to variables using the Set node

Manual
Low
2
Nodes
Manual
Trigger
Low
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
2
Node Types
0

Workflow JSON

1.12 KB
{
  "id": "141",
  "name": "Assign values to variables using the Set node",
  "nodes": [
    {
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        250,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "position": [
        450,
        300
      ],
      "parameters": {
        "values": {
          "number": [
            {
              "name": "number",
              "value": 20
            }
          ],
          "string": [
            {
              "name": "string",
              "value": "From n8n with love"
            }
          ],
          "boolean": [
            {
              "name": "boolean",
              "value": true
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {},
  "connections": {
    "On clicking 'execute'": {
      ...

Showing first 1000 characters. Click "Expand" to view the full JSON.