1587 Executecommand Localfile Automation Triggered

1587 Executecommand Localfile Automation Triggered

Manual
High
16
Nodes
Manual
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
16
Node Types
9

Node Types

local File Trigger
Local File Trigger
1 node
execute Command
Get Files and Folders, Move Files into Folders
2 nodes
set
Files and Folders to Array, Set Variables
2 nodes
lm Chat Mistral Cloud
Mistral Cloud Chat Model
1 node
output Parser Structured
Structured Output Parser
1 node
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3, Sticky Note4, Sticky Note5
6 nodes
if
If Has Target Files...
1 node
split Out
Get Suggestions to List
1 node
chain Llm
AI File Manager
1 node

Workflow JSON

12.87 KB
{
  "meta": {
    "instanceId": "26ba763460b97c249b82942b23b6384876dfeb9327513332e743c5f6219c2b8e"
  },
  "name": "1587 Executecommand Localfile Automation Triggered",
  "nodes": [
    {
      "id": "c92e3d01-4385-4e99-a9a7-77279b3d9cb3",
      "name": "Local File Trigger",
      "type": "n8n-nodes-base.localFileTrigger",
      "position": [
        720,
        120
      ],
      "parameters": {
        "path": "/home/node/host_mount/shared_drive",
        "events": [
          "add"
        ],
        "options": {
          "awaitWriteFinish": true
        },
        "triggerOn": "folder"
      },
      "typeVersion": 1
    },
    {
      "id": "a08f5acc-ee46-49e7-be4d-99edc95ab41f",
      "name": "Get Files and Folders",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        1200,
        120
      ],
      "parameters": {
        "command": "=ls -p {{ $json.directory }} | grep -v / || true; \\\necho \"===\"; \\\nls -p {{ $json.directory }} | grep / || true;"
   ...

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