{
  "nodes": [
    {
      "id": "c78448ee-b1f9-4455-b9e9-94ca9bcdf8e5",
      "name": "Detect GA4 Anomalies",
      "type": "n8n-nodes-base.code",
      "position": [
        368,
        -80
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "34b855f2-0d92-4600-baa8-7f3181a91c0b",
      "name": "Define variables",
      "type": "n8n-nodes-base.set",
      "position": [
        -32,
        -80
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "1525c5d3-18c6-4a93-9756-99fc8ebf63ca",
      "name": "Get GA4 Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        160,
        -80
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a2b38011-ab3f-4ea6-ac18-68f311a452b5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5c73dc42-5021-4d51-8737-0632fc953b33",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        960,
        16
      ],
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "5e6e7560-3027-401e-af65-d1f9798c771a",
      "name": "Send an email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        960,
        -224
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "bbf1cf7d-4179-4896-b787-1301c358a0dd",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -224,
        -80
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6df9c8bc-e52f-4d3e-93c3-4ab199b5f85b",
      "name": "If anomaly is found",
      "type": "n8n-nodes-base.if",
      "position": [
        608,
        -80
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "0559d7c3-cec0-447c-ab48-43804e067f3e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -528
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Get GA4 Data": {
      "main": [
        [
          {
            "node": "Detect GA4 Anomalies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Define variables": {
      "main": [
        [
          {
            "node": "Get GA4 Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Define variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If anomaly is found": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send an email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Detect GA4 Anomalies": {
      "main": [
        [
          {
            "node": "If anomaly is found",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}