import all workflows to local n8n

This commit is contained in:
shayanabbas committed 2025-06-14 03:53:53 +03:00
1 parent e1f76a93f5
commit 1a521e0f3a
1 file changed
+10
+10
View 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