{
  "name": "n8n workflow manager API",
  "nodes": [
    {
      "id": "ab47d0ba-0544-4540-a462-70a2ce87143f",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1120,
        -440
      ]
    },
    {
      "id": "479e7d11-4d29-43d7-9b51-4f15e760a117",
      "name": "Map webhook request to fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -820,
        -340
      ]
    },
    {
      "id": "6a685048-6a64-4888-b66b-a3ecb6319ac7",
      "name": "Execute Workflow",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        -440,
        -360
      ]
    },
    {
      "id": "db3a0115-179b-4a70-8c27-aa126bfa43a0",
      "name": "return succes message",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        20,
        -460
      ]
    },
    {
      "id": "327b7437-e4fa-4b82-97d2-4adf077df5d8",
      "name": "return problem executing workflow",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        20,
        -280
      ]
    },
    {
      "id": "331ce2d8-016f-40ed-8b74-8e75be54fac6",
      "name": "Return problem handling request",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        20,
        -80
      ]
    },
    {
      "id": "eff4c9d9-5031-4d25-87c7-2fcd5a28ada5",
      "name": "Map key workflow info",
      "type": "n8n-nodes-base.set",
      "position": [
        1060,
        -1140
      ]
    },
    {
      "id": "fb406e55-9df4-43ac-b8b7-040e1438b925",
      "name": "map parameters",
      "type": "n8n-nodes-base.set",
      "position": [
        -820,
        -600
      ]
    },
    {
      "id": "84934ca3-eb86-4bda-b16c-1bdbf7b7073e",
      "name": "Return problem handling get request",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1340,
        -680
      ]
    },
    {
      "id": "bfd7b91d-4972-48be-8f6d-887995f3e62d",
      "name": "return all workflow info",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1320,
        -1300
      ]
    },
    {
      "id": "6f481e40-a8c1-40bc-a410-8e3606ac419b",
      "name": "return summarized workflow info",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1320,
        -1140
      ]
    },
    {
      "id": "4d4bc237-c0e4-456f-acdf-fdaeec203693",
      "name": "Get specific workflowid",
      "type": "n8n-nodes-base.n8n",
      "position": [
        400,
        -1240
      ]
    },
    {
      "id": "559e5e24-200f-44d1-a8e4-b5605afe81b3",
      "name": "Included Workflows",
      "type": "n8n-nodes-base.switch",
      "position": [
        0,
        -940
      ]
    },
    {
      "id": "259f7da5-cd06-44a3-805c-bf5e29b6924c",
      "name": "get all inactive workflows",
      "type": "n8n-nodes-base.n8n",
      "position": [
        400,
        -1100
      ]
    },
    {
      "id": "30102b45-b578-437a-a6b3-49b39c18d7fa",
      "name": "get all active workflows",
      "type": "n8n-nodes-base.n8n",
      "position": [
        400,
        -940
      ]
    },
    {
      "id": "7eba5bb1-c863-4d0b-b157-5d5844860134",
      "name": "get all workflows",
      "type": "n8n-nodes-base.n8n",
      "position": [
        400,
        -780
      ]
    },
    {
      "id": "cd37d7c6-0a39-4d0d-81d0-29b530834429",
      "name": "full mode",
      "type": "n8n-nodes-base.if",
      "position": [
        820,
        -1240
      ]
    },
    {
      "id": "47260845-2b55-47f2-a8ad-e4dc1d18a087",
      "name": "return problem getting workflow error",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1320,
        -900
      ]
    },
    {
      "id": "5e8a5ddc-ce4c-4a4a-99ab-ade961a18158",
      "name": "Does workflowId Exist",
      "type": "n8n-nodes-base.if",
      "position": [
        -420,
        -960
      ]
    },
    {
      "id": "323d3126-fc6f-476f-978c-00f3c01f9e03",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1780,
        -620
      ],
      "parameters": {
        "width": 580,
        "height": 480,
        "content": "## 🚀 Workflow Trigger: Webhook\n\nThis workflow starts with a **Webhook node** that can be triggered by both `GET` and `POST` HTTP requests.\n\n**Authentication:**\n* Uses **Header Authentication**.\n* To s"
      }
    },
    {
      "id": "941bf6d3-b6b3-4e1f-8c1e-4e52fd809881",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        -160
      ],
      "parameters": {
        "width": 740,
        "height": 460,
        "content": "## ▶️ POST Route: Execute a Target Workflow\n\nThis branch handles `POST` requests to dynamically execute another n8n workflow.\n\n### 1. Map Webhook Request to Fields:\n* Extracts `workflowId` from the in"
      }
    },
    {
      "id": "d65a14e3-151e-4328-90a4-73cf4e845c52",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        -1480
      ],
      "parameters": {
        "width": 720,
        "height": 480,
        "content": "## 📄 GET Route: Fetch Workflow Info\n\nRetrieves n8n workflow details via `GET`. Uses n8n API (requires \"n8n API\" credentials).\n\n**Query Parameters:**\n\n* `workflowId=<ID>`: Fetches a single workflow by "
      }
    },
    {
      "id": "f914af41-3f8f-4b0c-af7d-bad82aad6a29",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1780,
        -120
      ],
      "parameters": {
        "width": 580,
        "height": 240,
        "content": "## 💡 Usage Example\n\nI used this workflow as the backend for a small Raycast extension. This extension lets me search and execute n8n workflows directly from Raycast.\n\nYou can check out the Raycast ext"
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "map parameters",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Map webhook request to fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "full mode": {
      "main": [
        [
          {
            "node": "return all workflow info",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Map key workflow info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "map parameters": {
      "main": [
        [
          {
            "node": "Does workflowId Exist",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Return problem handling get request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute Workflow": {
      "main": [
        [
          {
            "node": "return succes message",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "return problem executing workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get all workflows": {
      "main": [
        [
          {
            "node": "full mode",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "return problem getting workflow error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Included Workflows": {
      "main": [
        [
          {
            "node": "get all inactive workflows",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get all active workflows",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get all workflows",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get all active workflows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Does workflowId Exist": {
      "main": [
        [
          {
            "node": "Get specific workflowid",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Included Workflows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map key workflow info": {
      "main": [
        [
          {
            "node": "return summarized workflow info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get specific workflowid": {
      "main": [
        [
          {
            "node": "full mode",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "return problem getting workflow error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get all active workflows": {
      "main": [
        [
          {
            "node": "full mode",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "return problem getting workflow error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get all inactive workflows": {
      "main": [
        [
          {
            "node": "full mode",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "return problem getting workflow error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map webhook request to fields": {
      "main": [
        [
          {
            "node": "Execute Workflow",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Return problem handling request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}