{
  "name": "Send a daily paid acquisition and website intelligence report with Databox, GPT-4o and Gmail",
  "nodes": [
    {
      "id": "51b9a6e9-5a6f-4815-9c7a-43fb276e0bee",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        16
      ],
      "parameters": {
        "width": 1680,
        "height": 400,
        "content": "## Daily Paid Acquisition Intelligence Report via Databox MCP\n\nGet a daily intelligence briefing on your paid acquisition performance. Three specialized AI agents run in sequence: Agent 1 analyzes web"
      }
    },
    {
      "id": "82c15713-2ebc-4b54-8d9d-f05c91200446",
      "name": "Sticky Note 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        448
      ],
      "parameters": {
        "width": 440,
        "height": 772,
        "content": "## 1 - Schedule\n\n### What this section does\nTriggers the workflow every day at 8 AM and captures today's date so all three agents use consistent reporting windows.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#"
      }
    },
    {
      "id": "312cd311-e63a-4ca2-897e-dc69564ecfb1",
      "name": "Sticky Note 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        448
      ],
      "parameters": {
        "width": 1204,
        "height": 772,
        "content": "## 2 - AI Agents + Databox MCP Setup\n\n### What this section does\nThree agents run in sequence:\n- **Agent 1 - Website Analyst**: fetches sessions, bounce rate, pages per session, goal completions from "
      }
    },
    {
      "id": "cf0ecb3b-06b4-4e6a-853d-fb4a01d85df8",
      "name": "Sticky Note 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1728,
        448
      ],
      "parameters": {
        "width": 492,
        "height": 772,
        "content": "## 3 - Email Report Output\n\n### What this section does\nFormats the correlation analysis as a styled HTML email and delivers it to the configured recipient every morning.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
      }
    },
    {
      "id": "184c61e2-e4b9-496d-90fc-1d2fcfce9a15",
      "name": "Every Day 8 AM",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        80,
        704
      ]
    },
    {
      "id": "e7a6fbb9-ce74-49a1-a21b-e883e008d388",
      "name": "Get Current Date",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        272,
        704
      ]
    },
    {
      "id": "8cb84507-2f08-45eb-940e-bee02b6f06a3",
      "name": "Website Analysis Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        608,
        704
      ]
    },
    {
      "id": "17afd3f1-7697-46bf-a303-7a91ba14b4c8",
      "name": "Databox MCP Tool",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        752,
        896
      ]
    },
    {
      "id": "7843456d-dba3-484c-8982-f76640ac7ce6",
      "name": "Paid Acquisition Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        960,
        704
      ]
    },
    {
      "id": "e6de4884-bf7c-45f1-a5c8-3481b9ed5f5b",
      "name": "Correlation Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1328,
        704
      ]
    },
    {
      "id": "7ff62ebf-8eca-4085-ab2d-aa3ad1656f22",
      "name": "Prepare Email",
      "type": "n8n-nodes-base.code",
      "position": [
        1808,
        704
      ]
    },
    {
      "id": "f19469a6-7667-4595-93ae-750695e0b3d6",
      "name": "Send Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2000,
        704
      ]
    },
    {
      "id": "5801443e-8b91-4c50-9c39-4a51ea8981aa",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1728,
        16
      ],
      "parameters": {
        "width": 496,
        "height": 400,
        "content": "### How to connect Databox MCP Tool in n8n\n@[youtube](892KtXhv-vI)"
      }
    },
    {
      "id": "3a24b5cd-a138-4b86-845a-055af932339a",
      "name": "Databox MCP Tool 2",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        1136,
        896
      ]
    },
    {
      "id": "ec486f27-d925-477d-b2e3-bccbdcd08b4a",
      "name": "OpenAI Chat Model 3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1328,
        896
      ]
    },
    {
      "id": "26492b87-50d3-4104-9b3b-9aa3a4ca10f3",
      "name": "OpenAI Chat Model 2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        928,
        896
      ]
    },
    {
      "id": "6644413f-f864-4e8a-b85f-de5c3794cfbf",
      "name": "OpenAI Chat Model 1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        560,
        896
      ]
    }
  ],
  "connections": {
    "Prepare Email": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Every Day 8 AM": {
      "main": [
        [
          {
            "node": "Get Current Date",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Databox MCP Tool": {
      "ai_tool": [
        [
          {
            "node": "Website Analysis Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Date": {
      "main": [
        [
          {
            "node": "Website Analysis Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Correlation Agent": {
      "main": [
        [
          {
            "node": "Prepare Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Databox MCP Tool 2": {
      "ai_tool": [
        [
          {
            "node": "Paid Acquisition Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model 1": {
      "ai_languageModel": [
        [
          {
            "node": "Website Analysis Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model 2": {
      "ai_languageModel": [
        [
          {
            "node": "Paid Acquisition Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model 3": {
      "ai_languageModel": [
        [
          {
            "node": "Correlation Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Paid Acquisition Agent": {
      "main": [
        [
          {
            "node": "Correlation Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Website Analysis Agent": {
      "main": [
        [
          {
            "node": "Paid Acquisition Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}