AutomationFlowsGeneral › N8N-Compare-Datasets

N8N-Compare-Datasets

N8N-Compare-Datasets. Uses manualTrigger, httpRequest, compareDatasets, extractFromFile. Event-driven trigger; 5 nodes.

Event trigger★★☆☆☆ complexity5 nodesHttp Request
General Trigger: Event Nodes: 5 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
{
  "name": "My workflow",
  "nodes": [
    {
      "parameters": {},
      "id": "60ebc308-e4c5-46e6-a3a9-1f31962478ae",
      "name": "When clicking \"Test workflow\"",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        180,
        360
      ]
    },
    {
      "parameters": {
        "url": "http://xmlcalendar.ru/data/ru/2022/calendar.json",
        "options": {}
      },
      "id": "49e5fae1-52a9-4e73-bd17-691a46af47ed",
      "name": "calendar.json",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        480,
        420
      ]
    },
    {
      "parameters": {
        "mergeByFields": {
          "values": [
            {
              "field1": "['\u0413\u043e\u0434/\u041c\u0435\u0441\u044f\u0446']",
              "field2": "year"
            },
            {
              "field1": "['\u042f\u043d\u0432\u0430\u0440\u044c']",
              "field2": "months[0].days"
            },
            {
              "field1": "['\u0424\u0435\u0432\u0440\u0430\u043b\u044c']",
              "field2": "months[0].month"
            },
            {
              "field1": "['\u041c\u0430\u0440\u0442']",
              "field2": "months[2].days"
            },
            {
              "field1": "['\u0410\u043f\u0440\u0435\u043b\u044c']",
              "field2": "months[3].days"
            },
            {
              "field1": "['\u041c\u0430\u0439']",
              "field2": "months[4].days"
            },
            {
              "field1": "['\u0418\u044e\u043d\u044c']",
              "field2": "months[5].days"
            },
            {
              "field1": "['\u0418\u044e\u043b\u044c']",
              "field2": "months[6].days"
            },
            {
              "field1": "['\u0410\u0432\u0433\u0443\u0441\u0442']",
              "field2": "months[7].days"
            },
            {
              "field1": "['\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c']",
              "field2": "months[8].days"
            },
            {
              "field1": "['\u041e\u043a\u0442\u044f\u0431\u0440\u044c']",
              "field2": "months[9].days"
            },
            {
              "field1": "['\u041d\u043e\u044f\u0431\u0440\u044c']",
              "field2": "months[10].days"
            },
            {
              "field1": "['\u0414\u0435\u043a\u0430\u0431\u0440\u044c']",
              "field2": "months[11].days"
            },
            {
              "field1": "['\u0412\u0441\u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0434\u043d\u0435\u0439']",
              "field2": "statistic.workdays"
            },
            {
              "field1": "['\u0412\u0441\u0435\u0433\u043e \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u0447\u043d\u044b\u0445 \u0438 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u043d\u0435\u0439']",
              "field2": "statistic.holidays"
            },
            {
              "field1": "['\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0447\u0430\u0441\u043e\u0432 \u043f\u0440\u0438 40-\u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0435']",
              "field2": "statistic.hours40"
            },
            {
              "field1": "['\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0447\u0430\u0441\u043e\u0432 \u043f\u0440\u0438 36-\u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0435']",
              "field2": "statistic.hours36"
            },
            {
              "field1": "['\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u0447\u0430\u0441\u043e\u0432 \u043f\u0440\u0438 24-\u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0435']",
              "field2": "statistic.hours24"
            }
          ]
        },
        "options": {}
      },
      "id": "f048bad0-fd8c-4db8-9195-876183794af6",
      "name": "Compare Datasets",
      "type": "n8n-nodes-base.compareDatasets",
      "typeVersion": 2.3,
      "position": [
        740,
        180
      ]
    },
    {
      "parameters": {
        "url": "http://xmlcalendar.ru/data/ru/2022/calendar.csv",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "id": "577fbcce-cce9-4b55-9e05-a209878f966f",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        320,
        60
      ]
    },
    {
      "parameters": {
        "binaryPropertyName": "=data",
        "options": {}
      },
      "id": "2792360f-6c07-40c0-8eec-82307fc883d2",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "typeVersion": 1,
      "position": [
        540,
        60
      ]
    }
  ],
  "connections": {
    "When clicking \"Test workflow\"": {
      "main": [
        [
          {
            "node": "calendar.json",
            "type": "main",
            "index": 0
          },
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "calendar.json": {
      "main": [
        [
          {
            "node": "Compare Datasets",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compare Datasets": {
      "main": [
        []
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "Compare Datasets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "f8dcf7c0-601c-47dd-ad9c-dce70553fbbf",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "id": "ivF2qO3PJtqrnxcs",
  "tags": []
}

About this workflow

N8N-Compare-Datasets. Uses manualTrigger, httpRequest, compareDatasets, extractFromFile. Event-driven trigger; 5 nodes.

Source: https://gitlab.com/oangit/n8n-workflow/-/blob/main/n8n-compare-datasets.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →