AutomationFlowsGeneral › Scheduled File Read + Process

Scheduled File Read + Process

Scheduled File Read + Process. Uses readBinaryFiles. Scheduled trigger; 3 nodes.

Cron / scheduled trigger★★★★☆ complexity3 nodesRead Binary Files
General Trigger: Cron / scheduled Nodes: 3 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": "Scheduled File Read + Process",
  "nodes": [
    {
      "id": "schedule-trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        250,
        300
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 5
            }
          ]
        }
      }
    },
    {
      "id": "read-file",
      "type": "n8n-nodes-base.readBinaryFiles",
      "position": [
        450,
        300
      ],
      "parameters": {
        "fileSelector": "/Users/kirtissiemens/Desktop/*.txt",
        "options": {}
      }
    },
    {
      "id": "code-analyze",
      "type": "n8n-nodes-base.code",
      "position": [
        650,
        300
      ],
      "parameters": {
        "jsCode": "// Analyze file content\nconst files = $input.all();\nconst results = files.map(file => ({\n  json: {\n    filename: file.binary?.data?.fileName || 'unknown',\n    size: file.binary?.data?.fileSize || 0,\n    timestamp: new Date().toISOString()\n  }\n}));\nreturn results;"
      }
    }
  ],
  "connections": {
    "schedule-trigger": {
      "main": [
        [
          {
            "node": "read-file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "read-file": {
      "main": [
        [
          {
            "node": "code-analyze",
            "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

Scheduled File Read + Process. Uses readBinaryFiles. Scheduled trigger; 3 nodes.

Source: https://github.com/stackconsult/n8n-workflows/blob/main/scheduled-file-processing.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 template creates a nightly backup of all n8n workflows and saves them to a Google Drive folder. Each night, the previous night's backups are moved to an “n8n_old” folder and renamed with the corr

Move Binary Data, Google Drive, Item Lists +1
General

Code Itemlists. Uses stickyNote, moveBinaryData, googleDrive, itemLists. Scheduled trigger; 33 nodes.

Move Binary Data, Google Drive, Item Lists +1
General

This workflow is perfect for n8n users who want to automatically backup all their workflows 💾 to Google Drive with zero manual effort. Perfect for teams managing multiple workflows or anyone who value

n8n, Google Drive
General

Shopify to Google Sheets Product Sync Automation. Uses noOp, graphql, googleSheets, scheduleTrigger. Scheduled trigger; 25 nodes.

GraphQL, Google Sheets
General

Wait Code. Uses scheduleTrigger, markdown, splitInBatches, rssFeedRead. Scheduled trigger; 23 nodes.

RSS Feed Read, Google Sheets