FM
FlowMarket
Messaging & Chat Intermediate ⚡ 7 n8n Nodes

Execute multiple command lines based on text file inputs

This workflow takes a text file as input. It pulls the information from the text file and used it as a parameter to execute a command for each text line. Thi...

🔌 Nodes & Integrations Used (1)

n8n Core Logic

📖 Implementation & Setup Guide

This workflow takes a text file as input. It pulls the information from the text file and used it as a parameter to execute a command for each text line.

This workflow references a file */home/n8n/filelist.txt* in the *Read Binary File* node which will need to be changed to work properly. You can also edit the *Execute Command* node to modify what happens for each of these lines of text.

![workflow-screenshot](fileId:394)

**Note:** This workflow requires the Execute Command node which is only available on the on-premise version of n8n.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Execute multiple command lines based on text file inputs.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Messaging & Chat Workflows

View All in Messaging & Chat →