From 1a521e0f3a091e212a1ea7e3f1861e56a03a61ba Mon Sep 17 00:00:00 2001 From: shayanabbas Date: Sat, 14 Jun 2025 03:53:53 +0300 Subject: [PATCH] import all workflows to local n8n --- import-workflows.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 import-workflows.sh diff --git a/import-workflows.sh b/import-workflows.sh new file mode 100755 index 0000000..0a3197f --- /dev/null +++ b/import-workflows.sh @@ -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 +