{
  "openruna_format": "flow-graph-v1",
  "title": "n8n workflow deployer",
  "slug": "n8n-workflow-deployer",
  "source_filename": "1814_Code_Extractfromfile_Automate_Webhook.json",
  "nodes": [
    {
      "id": "Get Existing Workflow Tags",
      "name": "Get Existing Workflow Tags",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Extract JSON object from File",
      "name": "Extract JSON object from File",
      "integration": "extractFromFile",
      "kind": "action"
    },
    {
      "id": "Clean JSON file ready for import",
      "name": "Clean JSON file ready for import",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Set n8n API URL & Tag ID variables",
      "name": "Set n8n API URL & Tag ID variables",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Create n8n Workflow",
      "name": "Create n8n Workflow",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Set Workflow Tag",
      "name": "Set Workflow Tag",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Capture Name If Fails To Create Workflow",
      "name": "Capture Name If Fails To Create Workflow",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Move JSON file to Deployed folder",
      "name": "Move JSON file to Deployed folder",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Download n8n JSON File",
      "name": "Download n8n JSON File",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Set n8n URL variable",
      "name": "Set n8n URL variable",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Google Drive Trigger -ToDeploy folder",
      "name": "Google Drive Trigger -ToDeploy folder",
      "integration": "googleDrive",
      "kind": "trigger"
    }
  ],
  "edges": [
    {
      "from": "Set Workflow Tag",
      "to": "Move JSON file to Deployed folder"
    },
    {
      "from": "Create n8n Workflow",
      "to": "Set Workflow Tag"
    },
    {
      "from": "Create n8n Workflow",
      "to": "Capture Name If Fails To Create Workflow"
    },
    {
      "from": "Set n8n URL variable",
      "to": "Get Existing Workflow Tags"
    },
    {
      "from": "Download n8n JSON File",
      "to": "Extract JSON object from File"
    },
    {
      "from": "Extract JSON object from File",
      "to": "Clean JSON file ready for import"
    },
    {
      "from": "Clean JSON file ready for import",
      "to": "Create n8n Workflow"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Set n8n URL variable"
    },
    {
      "from": "Set n8n API URL & Tag ID variables",
      "to": "Download n8n JSON File"
    },
    {
      "from": "Google Drive Trigger -ToDeploy folder",
      "to": "Set n8n API URL & Tag ID variables"
    }
  ]
}