import all workflows to local n8n
This commit is contained in:
1 parent
e1f76a93f5
commit
1a521e0f3a
1 file changed
+10
Executable
+10
@@ -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