{
  "name": "Send weekly Databox paid ads performance reports to Slack and email",
  "nodes": [
    {
      "id": "bf94a011-2f67-4330-aa95-bee4a2cc5eb1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5904,
        6576
      ],
      "parameters": {
        "width": 1688,
        "height": 612,
        "content": "## Automated Paid Ads Weekly Performance Report via Databox MCP\n\nAutomate your paid advertising performance reporting across all platforms with AI-powered insights delivered every Monday morning. This"
      }
    },
    {
      "id": "ef60debc-97bb-4d10-80f9-ee41f4f5b219",
      "name": "Sticky Note 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5904,
        7216
      ],
      "parameters": {
        "width": 500,
        "height": 1138,
        "content": "## 1️⃣ Scheduled Execution\n\n### What this section does\nTriggers the workflow every **Monday at 9 AM** and captures the current date so the AI Agent can calculate the correct 7-day reporting windows (c"
      }
    },
    {
      "id": "c21c7662-dc7c-4777-8e84-b5df1798e19b",
      "name": "Sticky Note 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        6448,
        7216
      ],
      "parameters": {
        "width": 550,
        "height": 1132,
        "content": "## 2️⃣ AI Agent + Databox MCP Setup\n\n### What this section/Agent does\nThe AI Agent connects to Databox via MCP and intelligently auto-discovers your connected paid ads platforms, fetches data across a"
      }
    },
    {
      "id": "d0ecc1bd-1929-49f6-9b8e-3793b120152a",
      "name": "Sticky Note 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        7040,
        7216
      ],
      "parameters": {
        "width": 550,
        "height": 1132,
        "content": "## 3️⃣ Output & Notification\n\n### What this section does\nThe Parse AI Output node splits the Agent's response into two formatted reports - a concise Slack summary with top-level metrics and AI-generat"
      }
    },
    {
      "id": "df05566a-c4ff-432c-b754-e29628646ac8",
      "name": "Every Monday 9 AM",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        5984,
        7456
      ]
    },
    {
      "id": "ab859925-15a9-4421-89b3-df2c7cc7a4fc",
      "name": "Get Current Date",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        6208,
        7456
      ]
    },
    {
      "id": "ca60e49c-7b15-4aac-bc68-180c4ab94b97",
      "name": "Databox MCP Tool",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        6768,
        7664
      ]
    },
    {
      "id": "501ab843-4c7a-4745-8590-8fedebef3212",
      "name": "Paid Ads Reporting Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        6608,
        7456
      ]
    },
    {
      "id": "7db0ea3c-fe4b-4424-b99b-79061b0be967",
      "name": "Parse AI Output",
      "type": "n8n-nodes-base.code",
      "position": [
        7136,
        7456
      ]
    },
    {
      "id": "e4dde5cf-52b7-4c1b-93c5-8db357a00703",
      "name": "Send to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        7376,
        7456
      ]
    },
    {
      "id": "20a77cc8-17bc-45a4-b3e6-4dc8779ad650",
      "name": "Send Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        7376,
        7632
      ]
    },
    {
      "id": "e6313e1a-00e4-4a53-880e-cc60799e0c9c",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        6576,
        7664
      ]
    },
    {
      "id": "cb6b6fa3-51cb-4f98-9109-b836ffe29703",
      "name": "Sticky Note 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        7616,
        6576
      ],
      "parameters": {
        "width": 948,
        "height": 610,
        "content": "## How it works\n\n@[youtube](Y3bJsPWtSIA)"
      }
    }
  ],
  "connections": {
    "Parse AI Output": {
      "main": [
        [
          {
            "node": "Send to Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Databox MCP Tool": {
      "ai_tool": [
        [
          {
            "node": "Paid Ads Reporting Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Date": {
      "main": [
        [
          {
            "node": "Paid Ads Reporting Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Every Monday 9 AM": {
      "main": [
        [
          {
            "node": "Get Current Date",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Paid Ads Reporting Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Paid Ads Reporting Agent": {
      "main": [
        [
          {
            "node": "Parse AI Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}