Execute multiple Command Lines based on Text File Inputs — n8n Workflow
Overzicht
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.
Gebruikte knooppunten
Workflow-voorvertoning
Hoe het werkt
- 1
Trigger
De workflow start met een trigger-trigger.
- 2
Verwerking
Gegevens stromen door 7 knooppunten, connecting executecommand, function, if.
- 3
Uitvoer
De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.
Knooppuntdetails (7)
On clicking 'execute'
manualTrigger
Read Binary File
readBinaryFile
Move Binary Data
moveBinaryData
Function
function
Execute Command
executeCommand
IF
if
NoOp
noOp
Hoe deze workflow te importeren
- 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
- 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
- 3Selecteer het gedownloade bestand
execute-multiple-command-lines-based-on-text-file-inputsen klik op Importeren. - 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
- 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.
Of plak rechtstreeks in n8n → Importeren uit JSON:
Integraties
Gemaakt door
jason
@tephlon
Tags
Nieuw bij n8n?
n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.
n8n gratis ophalen →