{
  "name": "Build an OpenAI assistant with Google Drive integration",
  "nodes": [
    {
      "id": "8a00e7b2-8348-47d2-87db-fe40b41a44f1",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        180,
        260
      ]
    },
    {
      "id": "1d8fe39a-c7b9-4c38-9dc6-0fbce63151ba",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        480,
        380
      ]
    },
    {
      "id": "a8a72d6e-8278-4786-915d-311a2d8f5894",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        180,
        720
      ]
    },
    {
      "id": "66b90297-1c2d-4325-8fc6-0dc1a83fd88d",
      "name": "Window Buffer Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        680,
        920
      ]
    },
    {
      "id": "40fa9eac-ddfb-4791-94ed-5b10b6e603b9",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        480,
        100
      ]
    },
    {
      "id": "695b3b40-e24c-4b5b-9a76-ea4ec602cfbc",
      "name": "OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        700,
        380
      ]
    },
    {
      "id": "02085907-abbe-42f8-a1be-b227963f969b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        460,
        0
      ],
      "parameters": {
        "width": 167,
        "height": 261,
        "content": "## Step 1\nCreate an Assistent with OpenAI"
      }
    },
    {
      "id": "aa02c937-1295-4dc9-af1d-5b19f24d7a3f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        680,
        280
      ],
      "parameters": {
        "width": 167,
        "height": 261,
        "content": "## Step 2\nUpload the file with the information"
      }
    },
    {
      "id": "8908c629-9abf-42e3-b410-9a3870e60a77",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        920,
        280
      ],
      "parameters": {
        "width": 247,
        "height": 258,
        "content": "## Step 3\nUpdate the assistant information with the newly uploaded file"
      }
    },
    {
      "id": "295f031c-cfba-4082-9e8e-cec7fadd3a9b",
      "name": "OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        940,
        380
      ]
    },
    {
      "id": "715bc67a-dc23-405d-b3dd-2006678988ef",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        460,
        640
      ],
      "parameters": {
        "width": 385,
        "height": 230,
        "content": "## Step 4\nSelect the assistant and interact via chat"
      }
    },
    {
      "id": "dd236bd9-6051-42f2-bfbe-ea21e23f9ac7",
      "name": "OpenAI Assistent",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        480,
        720
      ]
    }
  ],
  "connections": {
    "OpenAI2": {
      "main": [
        [
          {
            "node": "OpenAI1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive": {
      "main": [
        [
          {
            "node": "OpenAI2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "OpenAI Assistent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "OpenAI Assistent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          },
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}