Calculate the Centroid of a Set of Vectors

Calculate the Centroid of a Set of Vectors

Webhook
Medium
8
Nodes
Webhook
Trigger
Medium
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
8
Node Types
5

Node Types

webhook
Receive Vectors
1 node
set
Extract & Parse Vectors
1 node
code
Validate & Compute Centroid
1 node
respond To Webhook
Return Centroid Response
1 node
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note4
4 nodes

Workflow JSON

9.07 KB
{
  "id": "g3q68zSOQvTcydLs",
  "meta": {
    "instanceId": "92786e96ce436aecd3a1d62d818a74e51ca684bb36c805928bef93a3b46549ad"
  },
  "name": "Calculate the Centroid of a Set of Vectors",
  "tags": [],
  "nodes": [
    {
      "id": "32a8aa56-aa7e-4c9e-a39e-f65234224bcf",
      "name": "Receive Vectors",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -440,
        20
      ],
      "webhookId": "30091e91-fc67-4bab-b1fd-ed65c8f4f860",
      "parameters": {
        "path": "centroid",
        "options": {},
        "responseMode": "responseNode"
      },
      "notesInFlow": true,
      "typeVersion": 2
    },
    {
      "id": "a020a49a-cc9f-49af-aa95-829d9d16da04",
      "name": "Extract & Parse Vectors",
      "type": "n8n-nodes-base.set",
      "position": [
        360,
        20
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "3e1d9e72-7668-427d-958c-42bff7270a37",
    ...

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