Execute multiple Command Lines based on Text File Inputs — n8n Workflow
Übersicht
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.
Note: This workflow requires the Execute Command node which is only available on the on-premise version of n8n.
Workflow-Vorschau
So funktioniert es
- 1
Auslöser
Der Workflow startet mit einem auslöser-Auslöser.
- 2
Verarbeitung
Die Daten fließen durch 7 Knoten, connecting executecommand, function, if.
- 3
Ausgabe
Der Workflow schließt seine Automatisierung ab und liefert das Ergebnis an das konfigurierte Ziel.
So importieren Sie diesen Workflow
- 1Klicken Sie rechts auf die Schaltfläche JSON herunterladen, um die Workflow-Datei zu speichern.
- 2Öffnen Sie Ihre n8n-Instanz. Gehen Sie zu Workflows → Neu → Aus Datei importieren.
- 3Wählen Sie die heruntergeladene Datei
execute-multiple-command-lines-based-on-text-file-inputsund klicken Sie auf Importieren. - 4Richten Sie Anmeldedaten für jeden Dienstknoten ein (API-Schlüssel, OAuth usw.).
- 5Klicken Sie auf Workflow testen, um zu überprüfen, ob alles funktioniert, und aktivieren Sie es dann.
Oder direkt in n8n → Aus JSON importieren einfügen:
Integrationen
Erstellt von
jason
@tephlon
Tags
Neu bei n8n?
n8n ist ein kostenloses Open-Source-Workflow-Automatisierungstool. Selbst hosten oder die Cloud-Version nutzen.
n8n kostenlos holen →