{
  "name": "AI multi-agent executive team for entrepreneurs with Gemini, Perplexity and WhatsApp",
  "nodes": [
    {
      "id": "d331386a-1ebf-4a16-9f68-52c6a44cafb1",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -400,
        -256
      ]
    },
    {
      "id": "fcac07a0-6315-4bbb-bcb8-10b8ab11904f",
      "name": "Send message",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        1088,
        -384
      ]
    },
    {
      "id": "9dde3636-5ac3-44d2-a513-071287c2a30c",
      "name": "Message a model in Perplexity",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        912,
        96
      ]
    },
    {
      "id": "ff5d658c-0c39-4448-9f32-45c646db1406",
      "name": "Sales & Marketing Director",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -464,
        64
      ]
    },
    {
      "id": "bfaa4730-3cdd-4d87-b910-5d5faf4eff88",
      "name": "Accountability Director",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        96,
        80
      ]
    },
    {
      "id": "d3cb52ed-b692-4e37-9324-5a3ec079f930",
      "name": "Supabase Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        256,
        976
      ]
    },
    {
      "id": "82521eaa-ad5c-45db-a830-1e05e6c6d847",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        384,
        1184
      ]
    },
    {
      "id": "b039e745-be49-4c88-bd36-3221779347ed",
      "name": "Embeddings Cohere",
      "type": "@n8n/n8n-nodes-langchain.embeddingsCohere",
      "position": [
        176,
        1184
      ]
    },
    {
      "id": "295bb90e-a803-4a1c-9a91-e312fbabb844",
      "name": "President",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -304,
        -384
      ]
    },
    {
      "id": "fb9b952f-be5c-4178-a8a0-d675625001a9",
      "name": "WhatsApp Trigger",
      "type": "n8n-nodes-base.whatsAppTrigger",
      "position": [
        -768,
        -384
      ]
    },
    {
      "id": "e3b6c36b-3618-4fa2-ae01-89b7cb20b3de",
      "name": "Employee list",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1312,
        208
      ]
    },
    {
      "id": "515089cb-dea8-40b2-81ee-719eaa7f04a1",
      "name": "Director Business Research",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        656,
        -32
      ]
    },
    {
      "id": "c3977c0c-4d2c-432b-b8d2-0d7e86f900a5",
      "name": "Admin Secretary",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1152,
        16
      ]
    },
    {
      "id": "1dfefcca-73b0-4d2f-8889-ed6be005e2bf",
      "name": "Send a message in Gmail1",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1472,
        192
      ]
    },
    {
      "id": "a1173520-f1dd-4eb4-a6e7-b8bdd4bdccd5",
      "name": "Create an event in Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1632,
        176
      ]
    },
    {
      "id": "b47cfc44-83ed-40cc-81c4-a8959caf655e",
      "name": "Wikipedia1",
      "type": "@n8n/n8n-nodes-langchain.toolWikipedia",
      "position": [
        -192,
        272
      ]
    },
    {
      "id": "fd7e2b1f-9afa-4912-ae60-78f06e83525c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1456,
        -752
      ],
      "parameters": {
        "width": 448,
        "height": 912,
        "content": "### How it works\nThis workflow is an AI-powered multi-agent system built for startup founders and small business owners who want to automate decision-making, accountability, research, and communicatio"
      }
    },
    {
      "id": "e4b1e39a-92c9-465c-802a-cf7c0f6a4ebc",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        -80
      ],
      "parameters": {
        "width": 470,
        "height": 400,
        "content": " **Accountability director** is responsible for milestone achievement, encouraging the founding team, and providing motivational advise"
      }
    },
    {
      "id": "5c09157f-e008-494e-8909-25d18c7d6966",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        -208
      ],
      "parameters": {
        "width": 528,
        "height": 464,
        "content": "**Director Business Research** is responsible for watching and analysing the market competitors. Works with real time data through perplexity retrival"
      }
    },
    {
      "id": "c20974df-d344-4407-9718-1a305eebee88",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        720
      ],
      "parameters": {
        "width": 944,
        "height": 576,
        "content": "\n## **🎯 RAG Pipeline**\n## Your business knowledgebase goes here"
      }
    },
    {
      "id": "22673eb5-825a-48cf-b662-26810abbd067",
      "name": "Business Knowledgebase",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
      "position": [
        224,
        816
      ]
    },
    {
      "id": "ee1d913a-da7c-41a9-bd6e-6eafd0407f78",
      "name": "SerpAPI internet search",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        -480,
        272
      ]
    },
    {
      "id": "317129ae-3a6c-4d68-a16c-bb2d16cdf8ce",
      "name": "System Persistent Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        -320,
        272
      ]
    },
    {
      "id": "c1d67e80-ab76-42b9-9801-aefd49fcecb2",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        -112
      ],
      "parameters": {
        "width": 704,
        "height": 560,
        "content": "**The Secretary Agent** In charge of light duties like Sechuduling meetings, updating CRM "
      }
    },
    {
      "id": "e410dba0-6f8a-4a11-bc9f-a1e19401bf15",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        0
      ],
      "parameters": {
        "width": 608,
        "height": 416,
        "content": "**Sales & Marketing Director** is Incharge of Lead and report generation\n"
      }
    },
    {
      "id": "52b375f6-fca3-4186-bcb6-12a3c3cc9c92",
      "name": "System brain powered Google Gemini",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1024,
        912
      ]
    },
    {
      "id": "ce31154d-9124-4f99-8ef1-61899a7dbaf6",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -464,
        -544
      ],
      "parameters": {
        "width": 800,
        "height": 400,
        "content": "## The President Orchastrates the entire workflow\nHe sign duties, when any director fails he assumes the role\nHe takes directoins from human and assign it to the appropriate Director"
      }
    },
    {
      "id": "20edd0e1-f5f3-45fc-9de4-55c19b122cb5",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        912,
        848
      ],
      "parameters": {
        "width": 288,
        "height": 240,
        "content": "The System brain"
      }
    },
    {
      "id": "543bba49-5f1b-4495-8223-bd8ec647a60a",
      "name": "Business Documents",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -96,
        976
      ]
    }
  ],
  "connections": {
    "President": {
      "main": [
        [
          {
            "node": "Send message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wikipedia1": {
      "ai_tool": [
        [
          {
            "node": "Sales & Marketing Director",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Employee list": {
      "ai_tool": [
        [
          {
            "node": "Admin Secretary",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Admin Secretary": {
      "ai_tool": [
        [
          {
            "node": "President",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "WhatsApp Trigger": {
      "main": [
        [
          {
            "node": "President",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings Cohere": {
      "ai_embedding": [
        [
          {
            "node": "Supabase Vector Store1",
            "type": "ai_embedding",
            "index": 0
          },
          {
            "node": "Business Knowledgebase",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Business Documents": {
      "main": [
        [
          {
            "node": "Supabase Vector Store1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Supabase Vector Store1",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "President",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "Business Knowledgebase": {
      "ai_tool": [
        [
          {
            "node": "President",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "Sales & Marketing Director",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "Director Business Research",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "Accountability Director",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Accountability Director": {
      "ai_tool": [
        [
          {
            "node": "President",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI internet search": {
      "ai_tool": [
        [
          {
            "node": "Sales & Marketing Director",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send a message in Gmail1": {
      "ai_tool": [
        [
          {
            "node": "Admin Secretary",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "System Persistent Memory": {
      "ai_memory": [
        [
          {
            "node": "President",
            "type": "ai_memory",
            "index": 0
          },
          {
            "node": "Admin Secretary",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Director Business Research": {
      "ai_tool": [
        [
          {
            "node": "President",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Sales & Marketing Director": {
      "ai_tool": [
        [
          {
            "node": "President",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Message a model in Perplexity": {
      "ai_tool": [
        [
          {
            "node": "Director Business Research",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create an event in Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "Admin Secretary",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "System brain powered Google Gemini": {
      "ai_languageModel": [
        [
          {
            "node": "President",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Sales & Marketing Director",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Director Business Research",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Accountability Director",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Admin Secretary",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}