{
  "name": "Monitor ad performance drops with Meta & Google Ads + multi-channel alerts",
  "nodes": [
    {
      "id": "0a99edd7-30bc-4341-8029-4c6679ad7c23",
      "name": "your-google-sheets-name",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3280,
        528
      ]
    },
    {
      "id": "42cd07b0-5da3-4aee-96ed-c2d33d2f90d7",
      "name": "Daily Ad Check2",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        752,
        240
      ]
    },
    {
      "id": "1bc24059-097f-4d84-a5e8-b3c065463a05",
      "name": "Fetch Meta Ads Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1008,
        240
      ]
    },
    {
      "id": "cfe05983-5732-4e18-9db4-55340b999ae0",
      "name": "Set Benchmarks",
      "type": "n8n-nodes-base.set",
      "position": [
        1264,
        240
      ]
    },
    {
      "id": "001c1a9a-0e28-41a2-a36a-763f5683d8b2",
      "name": "Detect Performance Drop",
      "type": "n8n-nodes-base.code",
      "position": [
        1600,
        352
      ]
    },
    {
      "id": "6413c650-9f45-4e5a-b840-2ba27961cd03",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1808,
        352
      ]
    },
    {
      "id": "290fe711-4881-4278-89bd-cf1470dba773",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        2496,
        352
      ]
    },
    {
      "id": "68e145f4-cac3-4e68-b325-e5790ac5b4c0",
      "name": "Send a message4",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2496,
        528
      ]
    },
    {
      "id": "1ed585cf-4601-4781-959c-614a705fe671",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2144,
        336
      ]
    },
    {
      "id": "ad32c6b5-ef9f-42f3-83c8-b4cda36ccf57",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        2800,
        352
      ]
    },
    {
      "id": "9ab29847-6da0-4cf2-a49a-830f9f22fcc6",
      "name": "Set Benchmarks4",
      "type": "n8n-nodes-base.set",
      "position": [
        1264,
        448
      ]
    },
    {
      "id": "e3b86c6c-5d41-4b4a-82b0-9c20f41cbd67",
      "name": "Get many campaigns",
      "type": "n8n-nodes-base.googleAds",
      "position": [
        1008,
        448
      ]
    },
    {
      "id": "4c53a090-c896-4d36-b199-cbd6d3128726",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        3024,
        448
      ]
    },
    {
      "id": "44ae1216-8235-4ded-8142-f536285642aa",
      "name": "Daily Ad Check3",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        752,
        448
      ]
    },
    {
      "id": "ca70c0fa-d32a-4d64-9afa-f3afa620eb7c",
      "name": "Send message1",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        2496,
        192
      ]
    },
    {
      "id": "e926809b-791d-441e-a52a-6e005bd4f2e1",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 720,
        "height": 800,
        "content": "## Ad Performance Drop Alert Automation (Google & Meta Ads)\n\nThis workflow monitors your Google Ads and Meta Ads campaigns on a daily schedule to detect sudden performance drops and notify your team i"
      }
    },
    {
      "id": "337289f6-547a-43c7-b29e-9e84a85f6d1f",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        0
      ],
      "parameters": {
        "width": 816,
        "height": 800,
        "content": "## Step 1: Fetch Ad Performance Data\nPulls daily campaign metrics from Meta Ads and Google Ads using scheduled triggers.\n"
      }
    },
    {
      "id": "ad288dd7-eaea-4a16-b059-72564722839c",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1568,
        0
      ],
      "parameters": {
        "width": 864,
        "height": 800,
        "content": "## Step 2: Detect Performance Drops\nCalculates CTR and ROAS and flags campaigns that fall below defined benchmarks.\n"
      }
    },
    {
      "id": "99f3e531-2a23-4c96-b361-f9d7225ede9c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2448,
        0
      ],
      "parameters": {
        "width": 992,
        "height": 800,
        "content": "## Step 3: Alert & Log Results\nSends alerts via Slack, Email, and WhatsApp and logs results in Google Sheets.\n"
      }
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "your-google-sheets-name",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send message1": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Benchmarks": {
      "main": [
        [
          {
            "node": "Detect Performance Drop",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Ad Check2": {
      "main": [
        [
          {
            "node": "Fetch Meta Ads Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Ad Check3": {
      "main": [
        [
          {
            "node": "Get many campaigns",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a message4",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message4": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Benchmarks4": {
      "main": [
        [
          {
            "node": "Detect Performance Drop",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many campaigns": {
      "main": [
        [
          {
            "node": "Set Benchmarks4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Meta Ads Data": {
      "main": [
        [
          {
            "node": "Set Benchmarks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Detect Performance Drop": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}