AutomationFlowsGeneral › Claraai - Pipeline V1 (demo Call)

Claraai - Pipeline V1 (demo Call)

ClaraAI - Pipeline V1 (Demo Call). Uses formTrigger, executeCommand. Event-driven trigger; 4 nodes.

Event trigger★★★★☆ complexity4 nodesForm TriggerExecute Command
General Trigger: Event 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": "ClaraAI - Pipeline V1 (Demo Call)",
  "nodes": [
    {
      "id": "v1-01",
      "name": "Form - Start V1",
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.2,
      "position": [
        240,
        300
      ],
      "parameters": {
        "formTitle": "ClaraAI - New Account Setup (V1 Demo Call)",
        "formDescription": "Enter the account name and upload the demo/sales call recording.",
        "path": "clara-pipeline-v1",
        "responseMode": "lastNode",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Account Name",
              "fieldType": "text",
              "placeholder": "e.g. Ben's Electric Solutions",
              "requiredField": true
            },
            {
              "fieldLabel": "Demo Video",
              "fieldType": "file",
              "requiredField": true,
              "acceptFileTypes": ".mp4,.mov,.avi,.webm,.m4v,.mkv,.m4a,.mp3"
            }
          ]
        },
        "options": {}
      }
    },
    {
      "id": "v1-02",
      "name": "Save Video",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        500,
        300
      ],
      "parameters": {
        "mode": "runOnceForAllItems",
        "jsCode": "const fs   = require('fs');\nconst path = require('path');\n\nconst ROOT        = 'C:/Users/Admin/OneDrive/Desktop/ClaraAi';\nconst PYTHON_EXE  = 'C:/Users/Admin/AppData/Local/Programs/Python/Python312/python.exe';\nconst SCRIPT_PATH = ROOT + '/scripts/pipeline.py';\n\nconst formJson    = $input.first().json;\nconst inputBinary = $input.first().binary || {};\n\nconst accountName = String(formJson['Account Name'] || '').trim();\nif (!accountName) throw new Error('Account Name is required.');\n\nconst accountId = accountName\n  .toLowerCase()\n  .replace(/[^a-z0-9\\s-]/g, '')\n  .trim()\n  .replace(/\\s+/g, '-');\nif (!accountId) throw new Error('Account Name must contain at least one letter or number.');\n\nconst videoKey = Object.keys(inputBinary)[0];\nif (!videoKey) throw new Error('No video file found. Please attach a video.');\n\nconst videoFile = inputBinary[videoKey];\nconst ext       = (path.extname(videoFile.fileName || 'demo.mp4').toLowerCase()) || '.mp4';\nconst videoPath = path.join(ROOT, 'dataset', accountId, 'demo' + ext);\n\nfs.mkdirSync(path.dirname(videoPath), { recursive: true });\nfs.writeFileSync(videoPath, Buffer.from(videoFile.data, 'base64'));\nconsole.log('Video saved: ' + videoPath);\n\nreturn [{ json: { accountId, accountName, ROOT, PYTHON_EXE, SCRIPT_PATH } }];"
      }
    },
    {
      "id": "v1-03",
      "name": "Run Pipeline V1",
      "type": "n8n-nodes-base.executeCommand",
      "typeVersion": 1,
      "position": [
        760,
        300
      ],
      "parameters": {
        "command": "={{ '\"' + $json.PYTHON_EXE + '\" \"' + $json.SCRIPT_PATH + '\" --account-id ' + $json.accountId + ' --version v1' }}"
      }
    },
    {
      "id": "v1-04",
      "name": "Done",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        1020,
        300
      ],
      "parameters": {
        "mode": "runOnceForAllItems",
        "jsCode": "const c   = $('Save Video').first().json;\nconst out = $input.first().json;\nreturn [{ json: {\n  status:  'complete',\n  account: c.accountName,\n  message: 'V1 pipeline done for ' + c.accountName,\n  outputs: {\n    transcript: c.ROOT + '/outputs/accounts/' + c.accountId + '/v1/transcripts/demo.txt',\n    memo:       c.ROOT + '/outputs/accounts/' + c.accountId + '/v1/memo.json',\n    spec:       c.ROOT + '/outputs/accounts/' + c.accountId + '/v1/spec.json'\n  },\n  stdout: out.stdout || '',\n  stderr: out.stderr || ''\n} }];"
      }
    }
  ],
  "connections": {
    "Form - Start V1": {
      "main": [
        [
          {
            "node": "Save Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Video": {
      "main": [
        [
          {
            "node": "Run Pipeline V1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run Pipeline V1": {
      "main": [
        [
          {
            "node": "Done",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true
  },
  "versionId": "clara-v1-simple"
}
Pro

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

About this workflow

ClaraAI - Pipeline V1 (Demo Call). Uses formTrigger, executeCommand. Event-driven trigger; 4 nodes.

Source: https://github.com/WyvernNavy/ClaraAI/blob/0a6082f908fe42a435f4be3d30953ac6705054ff/n8n/pipeline-v1.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

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Form Trigger, n8n, Form +2
General

Credentials Transfer. Uses form, httpRequest, executeCommand, readWriteFile. Event-driven trigger; 22 nodes.

Form, HTTP Request, Execute Command +2
General

ClaraAI - Pipeline V2 (Onboarding Call). Uses formTrigger, executeCommand. Event-driven trigger; 4 nodes.

Form Trigger, Execute Command
General

Turn a .rvt project into open, analysis-ready data (XLSX + optional DAE/PDF) using the RvtExporter.exe from the DDC Revit toolkit. This n8n template provides a Form UI to set paths and flags, then run

Form Trigger, Execute Command
General

This interactive tutorial teaches you how to build in n8n from scratch, using a live walkthrough with real-time examples. Rather than static documentation, this guided workflow explains key n8n concep

Form Trigger, Form