{
  "name": "Build a voice AI chatbot with ElevenLabs and InfraNodus knowledge experts",
  "nodes": [
    {
      "id": "b17450bf-5c34-43b9-a7cb-1e8d48a90e5e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        840,
        260
      ],
      "parameters": {
        "width": 200,
        "height": 740,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Expert #1\n\nAdd your InfraNodus graph here via the HTTP node using its name in the `body.name` field.\n\nDescribe what the expert does in the Description of the tool. You can use auto"
      }
    },
    {
      "id": "8d41bb1b-ff2d-43bf-b9aa-be41a824a568",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1060,
        260
      ],
      "parameters": {
        "width": 200,
        "height": 740,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Expert #2\n\nAdd your InfraNodus graph here via the HTTP node using its name in the `body.name` field.\n\nDescribe what the expert does in the Description of the tool. You can use auto"
      }
    },
    {
      "id": "3092328a-8b99-4086-9be8-20157a48d706",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        260
      ],
      "parameters": {
        "width": 200,
        "height": 640,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Expert #3\n\nYou can add more experts here. Just make to give them descriptive names, so the agent knows which one to connect to when it has a question. \n\n![flow and notion image](ht"
      }
    },
    {
      "id": "8165ec0a-ac24-4e3e-8240-162a3ef6e47e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        620,
        260
      ],
      "parameters": {
        "width": 200,
        "height": 540,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Chat Memory\n\nWe use the Simple Memory node to track the conversation's context so that the user can refer to previous messages as they converse with the model."
      }
    },
    {
      "id": "333d860c-615f-441d-a7ab-53e867cd5503",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -360
      ],
      "parameters": {
        "width": 460,
        "height": 500,
        "content": "## 2. AI Agent Workflow\n\n### Chooses which tool (expert) to use, depending on the user's message. Then receives the responses and synthesizes the final answer.\n\nMake sure you describe the tools availa"
      }
    },
    {
      "id": "9f7a3cc4-99c6-4179-b3ce-7bff999cf77b",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        40
      ],
      "parameters": {
        "width": null,
        "height": 580,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## 1. Chat Trigger\n\nThe conversation will be triggered when you send a message via a webhook from your Elevenlabs AI Conversational agent. \n\n### 🚨 SEE THE NOTE AND THE LINK BELOW ON S"
      }
    },
    {
      "id": "c3fd90e8-3451-4c17-92c7-ca6c1e3305c6",
      "name": "OpenAI Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        400,
        540
      ]
    },
    {
      "id": "2e049f32-5d79-4a46-8c99-6a5a9c583c4f",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        680,
        300
      ]
    },
    {
      "id": "68137659-df1d-4a23-83f8-42a03189077b",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        980,
        -360
      ],
      "parameters": {
        "width": 260,
        "height": 500,
        "content": "## 3. Respond to the User\n\nOnce the response is generated, send it back to the user's chat in Telegram."
      }
    },
    {
      "id": "e7ffd4c6-d725-4ac0-8aa9-09f52d9a1cb4",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        520,
        -20
      ]
    },
    {
      "id": "6b1bff98-cdac-4a80-a5e5-a89def6a767b",
      "name": "Waves into Patterns Book Expert",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        1120,
        300
      ]
    },
    {
      "id": "d8df1709-8c55-4336-8dde-5fa8769c3a91",
      "name": "Special Agent's Manual Book Expert",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        900,
        300
      ]
    },
    {
      "id": "85a11f6a-c154-43ea-a294-3fe367d13ad0",
      "name": "The Flow and the Notion Book",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        1340,
        300
      ]
    },
    {
      "id": "90c32931-3e1c-4c93-8cbb-7c8e7dfa2269",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1500,
        260
      ],
      "parameters": {
        "width": 200,
        "height": 640,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## Expert #4\n\nYou can add more experts here. Just make to give them descriptive names, so the agent knows which one to connect to when it has a question. \n\n![infranodus graph](https:/"
      }
    },
    {
      "id": "d392f193-328d-46b5-bd85-a6db97ca0a58",
      "name": "The Polysingularity Letters Book",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        1540,
        300
      ]
    },
    {
      "id": "56f27d69-5091-4a0e-abc9-49fea9a863b3",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        60,
        60
      ]
    },
    {
      "id": "8b7a6506-4220-476e-8d94-fa62315ab807",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1060,
        -20
      ]
    },
    {
      "id": "0ac0d3d2-75b9-4173-a45a-56a0fe55892d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        680
      ],
      "parameters": {
        "width": 1060,
        "height": 980,
        "content": "## Setting up ElevenLabs Conversational AI Agent\n\n### You will need to connect the Webhook trigger above to the Conversational AI agent of ElevenLabs. Then you can use their agent (and website widget)"
      }
    },
    {
      "id": "2f279f0d-fdd2-493a-b416-6c70ab06b31a",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        -360
      ],
      "parameters": {
        "width": 740,
        "height": 980,
        "content": "# AI Voice Agent that Chats to Your Experts (e.g. Books, Articles, etc)\n\n## Uses InfraNodus Knowledge Graphs as Experts (AI Agent tools)\n\n## Uses ElevenLabs for voice chat functionality\n\n## Uses an or"
      }
    },
    {
      "id": "49d05baa-50fe-4931-87f8-22726eb868fa",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        400,
        340
      ]
    },
    {
      "id": "3ffc401d-df30-44ad-a3c3-b6b3ee75f59f",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        260
      ],
      "parameters": {
        "width": 200,
        "height": 660,
        "content": "\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## LLM to Use\n\nGoogle Flash Pro models are much faster than OpenAI. However, OpenAI can be more precise in function (expert) calling."
      }
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model": {
      "ai_languageModel": [
        []
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "The Flow and the Notion Book": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Waves into Patterns Book Expert": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "The Polysingularity Letters Book": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Special Agent's Manual Book Expert": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}