import all workflows to local n8n
This commit is contained in:
10
import-workflows.sh
Executable file
10
import-workflows.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
WORKFLOW_DIR="./workflows"
|
||||||
|
|
||||||
|
for file in "$WORKFLOW_DIR"/*.json
|
||||||
|
do
|
||||||
|
echo "Importing $file..."
|
||||||
|
npx n8n import:workflow --input="$file"
|
||||||
|
done
|
||||||
|
|
||||||
Reference in New Issue
Block a user