Merge pull request #12 from shayanabbas/main
Import all workflows at once
This commit is contained in:
commit
c53949366e
@ -91,6 +91,10 @@ Files are organized with descriptive names indicating their functionality.
|
||||
- **Categories**: Data sync, notifications, integrations, monitoring, and more
|
||||
- **Services**: 100+ different platforms and APIs represented
|
||||
|
||||
To import all workflows at once run following:
|
||||
|
||||
`./import-workflows.sh`
|
||||
|
||||
---
|
||||
|
||||
## 🤝 Contribution
|
||||
|
@ -40,6 +40,10 @@
|
||||
|
||||
在執行前,請確保檢查並修改所需的憑證或 webhook URL。
|
||||
|
||||
若要一次匯入所有工作流程,請執行下列命令:
|
||||
|
||||
`./import-workflows.sh`
|
||||
|
||||
---
|
||||
|
||||
## 📋 工作流程清單
|
||||
|
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