import all workflows to local n8n
This commit is contained in:
parent
e1f76a93f5
commit
1a521e0f3a
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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user