AutomationFlowsGeneral › Local Dev Bridge - File Watch + Shell

Local Dev Bridge - File Watch + Shell

Local Dev Bridge - File Watch + Shell. Uses localFileTrigger. Event-driven trigger; 2 nodes.

Event trigger★★★★☆ complexity2 nodesLocal File Trigger
General Trigger: Event Nodes: 2 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": "Local Dev Bridge - File Watch + Shell",
  "nodes": [
    {
      "id": "file-watch-trigger",
      "type": "n8n-nodes-base.localFileTrigger",
      "position": [
        250,
        300
      ],
      "parameters": {
        "path": "/Users/kirtissiemens/Desktop",
        "events": [
          "add",
          "change"
        ],
        "options": {
          "ignore": [
            ".DS_Store",
            "*.tmp",
            ".git"
          ]
        }
      }
    },
    {
      "id": "code-log",
      "type": "n8n-nodes-base.code",
      "position": [
        450,
        300
      ],
      "parameters": {
        "jsCode": "// Log file change event\nconst event = $input.first().json;\nreturn [{\n  json: {\n    changedFile: event.fileName || 'unknown',\n    eventType: event.changeType || 'unknown',\n    timestamp: new Date().toISOString(),\n    path: event.path || '/Users/kirtissiemens/Desktop'\n  }\n}];"
      }
    }
  ],
  "connections": {
    "file-watch-trigger": {
      "main": [
        [
          {
            "node": "code-log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}
Pro

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

About this workflow

Local Dev Bridge - File Watch + Shell. Uses localFileTrigger. Event-driven trigger; 2 nodes.

Source: https://github.com/stackconsult/n8n-workflows/blob/main/local-dev-bridge.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

N8N Workflow. Uses localFileTrigger, executeCommand, readWriteFile. Event-driven trigger; 16 nodes.

Local File Trigger, Execute Command, Read Write File
General

Eco-Wf-V1. Uses localFileTrigger, readBinaryFiles, googleDrive. Event-driven trigger; 5 nodes.

Local File Trigger, Read Binary Files, Google Drive
General

company manager. Uses localFileTrigger, readWriteFile, @packitoo/n8n-nodes-hipe. Event-driven trigger; 9 nodes.

Local File Trigger, Read Write File, @Packitoo/N8N Nodes Hipe
General

Executecommand Localfile. Uses localFileTrigger, executeCommand, lmChatMistralCloud, outputParserStructured. Event-driven trigger; 16 nodes.

Local File Trigger, Execute Command, Lm Chat Mistral Cloud +2
General

N8N Workflow. Uses executeCommand, localFileTrigger. Event-driven trigger; 7 nodes.

Execute Command, Local File Trigger