{
  "name": "Build a chatbot, voice and phone agent with Voiceflow, Google Calendar and RAG",
  "nodes": [
    {
      "id": "20605948-5277-4fd7-9ba0-63f645bf2dcc",
      "name": "n8n_order",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -340,
        -140
      ]
    },
    {
      "id": "9ef7971e-f679-4d5e-b347-3238d51a06d6",
      "name": "Google Calendar",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        300,
        280
      ]
    },
    {
      "id": "17b9f162-c4a3-43ec-b640-a68ebc67b0c9",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -120,
        480
      ]
    },
    {
      "id": "5b40db3c-6c98-4fea-9c3b-98ba7e13bc30",
      "name": "Concert start date",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -80,
        280
      ]
    },
    {
      "id": "8931d21a-7c30-40ae-b0b0-1f5f6868b3a3",
      "name": "n8n_appointment",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -340,
        280
      ]
    },
    {
      "id": "fa3e66ca-de09-496b-be14-483b33386e07",
      "name": "Retrive Qdrant Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        20,
        1280
      ]
    },
    {
      "id": "ea7be112-1949-47b7-b68b-ae2f3a7b1b71",
      "name": "Embeddings OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -20,
        1460
      ]
    },
    {
      "id": "e61ff57f-a109-41e0-87f3-522b1fa78dd6",
      "name": "RAG",
      "type": "@n8n/n8n-nodes-langchain.toolVectorStore",
      "position": [
        180,
        1080
      ]
    },
    {
      "id": "fce158b8-73a3-42c1-baf3-9f2ae979fe15",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -20,
        1080
      ]
    },
    {
      "id": "e2bcfa68-3642-4e49-89cb-e08faade984c",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        340,
        1300
      ]
    },
    {
      "id": "2a79c66c-040b-4ca2-ad91-a0683d0d2996",
      "name": "Retrive Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        60,
        860
      ]
    },
    {
      "id": "be516c9c-d2fb-4dea-9a3b-9674be5ea689",
      "name": "n8n_rag",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -360,
        860
      ]
    },
    {
      "id": "2412721d-7353-4a27-8068-5c90872c7a51",
      "name": "Tracking response",
      "type": "n8n-nodes-base.set",
      "position": [
        360,
        -140
      ]
    },
    {
      "id": "4965d781-1452-42c9-8a84-baacb5abe97f",
      "name": "Calendar response",
      "type": "n8n-nodes-base.set",
      "position": [
        500,
        280
      ]
    },
    {
      "id": "5311be28-2878-41ce-a70f-4e4aebcea0f9",
      "name": "Webhook tracking response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        700,
        -140
      ]
    },
    {
      "id": "84d8558f-e6fd-400e-ae2e-0b5fec309561",
      "name": "API URL Tracking",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        20,
        -140
      ]
    },
    {
      "id": "32eb8645-c56e-4db4-8870-f28161cba048",
      "name": "Webhook calendar response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        700,
        280
      ]
    },
    {
      "id": "72e7f085-d1e7-4967-aaa5-161ff0e83c06",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        140,
        480
      ]
    },
    {
      "id": "3822b875-73f0-4700-8fc4-e4d3285f593a",
      "name": "Webhook RAG response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        700,
        860
      ]
    },
    {
      "id": "0b43f63b-3c00-4db4-8b28-9938add9fdbe",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        -1320
      ],
      "parameters": {
        "width": 1140,
        "height": 2200,
        "content": "# STEP 6 - VOICEFLOW\n\n- Register on [Voiceflow](https://www.voiceflow.com/) \n- Create the workflow as shown in the following image\n![image](https://i.postimg.cc/3rSPwMn2/langflow.png)\n- There are 3 \"C"
      }
    },
    {
      "id": "589165c8-920d-40e3-8e28-50e94dd37555",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -380,
        -1120
      ]
    },
    {
      "id": "74c314bb-c445-42f8-8f9d-2ab646486044",
      "name": "Qdrant Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        600,
        -1000
      ]
    },
    {
      "id": "01c05ac3-ac5c-4f1a-a756-db8de4a30e56",
      "name": "Create collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -80,
        -1260
      ]
    },
    {
      "id": "2d7adb45-aae7-4617-b1d1-5a23f3eb3b20",
      "name": "Refresh collection",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -80,
        -1000
      ]
    },
    {
      "id": "5e406bd7-8a93-4db2-8d3d-e92e8c9f4f01",
      "name": "Get folder",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        140,
        -1000
      ]
    },
    {
      "id": "f1f883fb-c9d1-42e6-98c2-791ed85e959f",
      "name": "Download Files",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        360,
        -1000
      ]
    },
    {
      "id": "5fd88e03-3638-4d38-8df4-246e4a5f2bda",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        580,
        -800
      ]
    },
    {
      "id": "3740a841-e272-44f9-b76d-51fb90137fd3",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        760,
        -800
      ]
    },
    {
      "id": "075d1038-d1fd-4527-8eda-961f20c7869a",
      "name": "Token Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter",
      "position": [
        760,
        -600
      ]
    },
    {
      "id": "57cc8eaf-26b3-480f-ab5d-c8646519cfa3",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        120,
        -1320
      ],
      "parameters": {
        "width": 880,
        "height": 220,
        "content": "# STEP 1\n\n## Create Qdrant Collection\nChange:\n- QDRANTURL\n- COLLECTION"
      }
    },
    {
      "id": "70bc0676-c0ea-4de8-8659-bfb8b0ea653f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -1060
      ],
      "parameters": {
        "width": 620,
        "height": 400,
        "content": "# STEP 2\n\n\n\n\n\n\n\n\n\n\n\n\n## Documents vectorization with Qdrant and Google Drive\nChange:\n- QDRANTURL\n- COLLECTION"
      }
    },
    {
      "id": "411c4f55-ae41-49b5-a821-df1a3d8fefec",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        660
      ],
      "parameters": {
        "width": 1220,
        "height": null,
        "content": "# STEP 5\nIf required retrive the informations by RAG system"
      }
    },
    {
      "id": "49d1fe78-4c38-4508-84c3-3a571ad9a2b0",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        -360
      ],
      "parameters": {
        "width": 1220,
        "height": null,
        "content": "# STEP 3\nIf required retrive the informations by Order system\n- Set your API URL Tracking service"
      }
    },
    {
      "id": "23d42754-0126-4b3a-91b0-b489ef83b36c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -360,
        80
      ],
      "parameters": {
        "width": 1220,
        "height": null,
        "content": "# STEP 4\nIf required retrive the informations by Appointment system"
      }
    }
  ],
  "connections": {
    "RAG": {
      "ai_tool": [
        [
          {
            "node": "Retrive Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "n8n_rag": {
      "main": [
        [
          {
            "node": "Retrive Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "n8n_order": {
      "main": [
        [
          {
            "node": "API URL Tracking",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get folder": {
      "main": [
        [
          {
            "node": "Download Files",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Retrive Agent": {
      "main": [
        [
          {
            "node": "Webhook RAG response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Files": {
      "main": [
        [
          {
            "node": "Qdrant Vector Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Token Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Default Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar": {
      "main": [
        [
          {
            "node": "Calendar response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "n8n_appointment": {
      "main": [
        [
          {
            "node": "Concert start date",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "API URL Tracking": {
      "main": [
        [
          {
            "node": "Tracking response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calendar response": {
      "main": [
        [
          {
            "node": "Webhook calendar response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Qdrant Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Tracking response": {
      "main": [
        [
          {
            "node": "Webhook tracking response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Concert start date": {
      "main": [
        [
          {
            "node": "Google Calendar",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI2": {
      "ai_embedding": [
        [
          {
            "node": "Retrive Qdrant Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "RAG",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Retrive Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Concert start date",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Refresh collection": {
      "main": [
        [
          {
            "node": "Get folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Qdrant Vector Store",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Concert start date",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Retrive Qdrant Vector Store": {
      "ai_vectorStore": [
        [
          {
            "node": "RAG",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Create collection",
            "type": "main",
            "index": 0
          },
          {
            "node": "Refresh collection",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}