Batch Execute Commands from Text File Lines - n8n Workflow | Neura Market
Batch Execute Commands from Text File Lines
Reads a text file line-by-line and executes a customizable command for each line using n8n's on-premise Execute Command node in a self-looping workflow.
This n8n workflow automates batch command execution by reading a text file (e.g., filelist.txt), splitting its contents into an array, and iteratively running a command for each line. It starts with a manual trigger, reads the binary file, moves data to JSON, processes it in a Function node to create an array and track size, then uses the Execute Command node with $runIndex for looping. An IF node checks if more iterations are needed (runIndex < dataSize), enabling self-looping until complete, a
Platform
n8n
Category
Language Tools
Price
$11.99
Creator
Jordi Faber
batch-processing
command-line
file-input
loop-automation
on-premise
admin-tools
shell-execution
it-automation
self-loop
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.