{
  "name": "Monitor n8n workflow health daily with Watchflow",
  "nodes": [
    {
      "id": "ff05f5cc-da7d-46ed-9224-d55890535ee1",
      "name": "Get All Workflows",
      "type": "n8n-nodes-base.n8n",
      "position": [
        624,
        704
      ]
    },
    {
      "id": "a5dc1b43-4f23-43cc-9287-f146c197a8a2",
      "name": "Get Last Execution",
      "type": "n8n-nodes-base.n8n",
      "position": [
        928,
        704
      ]
    },
    {
      "id": "4947f32f-d4a4-4a6b-b70c-3bf2f69fdc61",
      "name": "Is Successful?",
      "type": "n8n-nodes-base.if",
      "position": [
        1120,
        704
      ]
    },
    {
      "id": "694e0ef1-851f-4994-8fd4-abe2739863c9",
      "name": "Watchflow: Ping",
      "type": "CUSTOM.watchflow",
      "position": [
        1424,
        656
      ]
    },
    {
      "id": "9bf58354-8274-4ca7-8d36-09eabc132f32",
      "name": "Watchflow: Fail",
      "type": "CUSTOM.watchflow",
      "position": [
        1424,
        832
      ]
    },
    {
      "id": "7158dd0a-85fc-4646-ba52-6c02a57a7690",
      "name": "Every Day",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        336,
        704
      ]
    },
    {
      "id": "9d6bad4d-4ac5-475c-86b2-580fccc6008a",
      "name": "Sticky Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        272
      ],
      "parameters": {
        "width": 556,
        "height": 200,
        "content": "### 🚀 Setup & Requirements\n\n1. **Watchflow Node**: Install `@watchflow/n8n-nodes-watchflow` via npm.\n2. **Watchflow API Key**: Signup at `watchflow.io` -> Settings -> API Key.\n3. **n8n API Key**: Go t"
      }
    },
    {
      "id": "fb4d879d-7bfe-4ad6-8490-551aa6ad857a",
      "name": "Sticky Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        528
      ],
      "parameters": {
        "width": 216,
        "height": 100,
        "content": "### ⏰ 1. Daily Health Audit\nInitiates the global scan for all active workflows."
      }
    },
    {
      "id": "386eef80-904b-4c3d-be73-afc41ba040f7",
      "name": "Sticky Fetch",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        528
      ],
      "parameters": {
        "width": 300,
        "height": 100,
        "content": "### 🔍 2. Dynamic Discovery\nFetches active workflows and inspects their latest status."
      }
    },
    {
      "id": "da49a1e5-b3b5-494f-8e12-9627f3b43845",
      "name": "Sticky Eval",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        528
      ],
      "parameters": {
        "width": 248,
        "height": 100,
        "content": "### ⚖️ 3. Health Evaluator\nDetermines if the last run was successful."
      }
    },
    {
      "id": "4038b06a-821b-43c3-b7f0-44397ace07e4",
      "name": "Sticky Watchflow",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1248,
        528
      ],
      "parameters": {
        "width": 298,
        "height": 96,
        "content": "### 📡 4. Watchflow Sync\nBroadcasts health status (Ping/Fail) to your Watchflow dashboard."
      }
    }
  ],
  "connections": {
    "Every Day": {
      "main": [
        [
          {
            "node": "Get All Workflows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Successful?": {
      "main": [
        [
          {
            "node": "Watchflow: Ping",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Watchflow: Fail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Workflows": {
      "main": [
        [
          {
            "node": "Get Last Execution",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Last Execution": {
      "main": [
        [
          {
            "node": "Is Successful?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}