AutomationFlowsGeneral › Set

Set

Set. Uses start. Manual trigger; 3 nodes.

Manual trigger★★★★☆ complexity3 nodesStart
General Trigger: Manual Nodes: 3 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
{
  "createdAt": "2021-03-03T14:28:28.227Z",
  "updatedAt": "2021-03-03T14:28:29.476Z",
  "id": "95",
  "name": "Set",
  "active": false,
  "nodes": [
    {
      "parameters": {},
      "name": "Start",
      "type": "n8n-nodes-base.start",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "id": "32be2fcf-b143-442e-877f-96b51b0b5148"
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "name",
              "value": "test"
            }
          ]
        },
        "options": {}
      },
      "name": "Set",
      "type": "n8n-nodes-base.set",
      "typeVersion": 1,
      "position": [
        430,
        300
      ],
      "id": "17c6fa30-1a0e-4d29-8c73-ef9357d5f877"
    },
    {
      "parameters": {
        "functionCode": "testData =  JSON.stringify({\n  name: \"test\"\n});\n\nif(JSON.stringify($node['Set'].json)!==testData){\n  throw new Error('Error in Set node');\n}\nreturn items;"
      },
      "name": "Function",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        600,
        300
      ],
      "notesInFlow": true,
      "notes": "Verify the result of set node",
      "id": "c6e9a289-5551-4db5-8d32-a11953bc92d6"
    }
  ],
  "connections": {
    "Set": {
      "main": [
        [
          {
            "node": "Function",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start": {
      "main": [
        [
          {
            "node": "Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {},
  "staticData": null,
  "meta": null,
  "versionId": null,
  "triggerCount": 0,
  "tags": []
}
Pro

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

About this workflow

Set. Uses start. Manual trigger; 3 nodes.

Source: https://github.com/n8n-io/test-workflows/blob/c1d376431a818f81f44e9ce645b8fb4878805419/workflows/95.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

TheHive[v4]:Alert:create update get getAll promote merge:Case:create update get getAll:Observable:create update get search getAll:Task:create update get search getAll:Log:create get getAll. Uses start

Start, The Hive
General

uProc:Internet:*;. Uses start, uproc. Manual trigger; 41 nodes.

Start, Uproc
General

uProc:Audio:*:company:*;. Uses start, uproc. Manual trigger; 36 nodes.

Start, Uproc
General

Trello:Board:*List:*Card:*Label:*CardComment:*Attachment:*CheckList:*. Uses start, trello. Manual trigger; 35 nodes.

Start, Trello
General

ClickUp:Task:create update member getAll get delete:List:create update customFields member getAll get delete. Uses start, clickUp. Manual trigger; 30 nodes.

Start, ClickUp