{
  "name": "AI Agent to Chat with Airtable",
  "nodes": [
    {
      "id": "ac9787a4-30a4-4b0c-a436-96216c92c9f1",
      "name": "When User Asks Question",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "ec8d0024-a6a9-4e99-b13a-674bc58e810c",
      "name": "CRM Assistant Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        208,
        0
      ]
    },
    {
      "id": "5c42efa4-f4da-453b-9fee-ee2814186e7c",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        80,
        208
      ]
    },
    {
      "id": "3c6433ae-da9b-4bc8-895b-bedcabe92207",
      "name": "Conversation Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        224,
        208
      ]
    },
    {
      "id": "78ff4f41-2b27-4871-8bbd-f60b464a5a2b",
      "name": "Search Contacts",
      "type": "n8n-nodes-base.airtableTool",
      "position": [
        368,
        208
      ]
    },
    {
      "id": "32ee730c-f4e5-42e3-b0cc-dba03cd495fe",
      "name": "Search Companies",
      "type": "n8n-nodes-base.airtableTool",
      "position": [
        480,
        144
      ]
    },
    {
      "id": "doc-note-1771263655471",
      "name": "Workflow Description",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -150
      ],
      "parameters": {
        "width": 600,
        "height": 854,
        "content": "## Workflow Overview\n\nThis workflow creates an intelligent AI chat agent that can query and retrieve data from your Airtable base using natural language. Simply ask questions about your contacts or co"
      }
    },
    {
      "id": "contact-note-1771263708644",
      "name": "Creator Contact Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -610
      ],
      "parameters": {
        "width": 600,
        "height": 440,
        "content": "# Contact Us:\n## Milan @ SmoothWork - [Book a Free Consulting Call](https://smoothwork.ai/book-a-call/)\n![Milan](https://gravatar.com/avatar/95700d17ba300a9f14c1b8cacf933df7720027b3adda9cbe6183d891429"
      }
    },
    {
      "id": "video-note-1771324743907",
      "name": "Video Walkthrough",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -90,
        -610
      ],
      "parameters": {
        "width": 420,
        "height": 340,
        "content": "# Video Walkthrough\n[![image.png](https://vasarmilan-public.s3.us-east-1.amazonaws.com/blog_thumbnails/thumbnail_recidrbznaXlmqFUI.jpg)](https://youtu.be/lQh1fuIrBN8)"
      }
    }
  ],
  "connections": {
    "Search Contacts": {
      "ai_tool": [
        [
          {
            "node": "CRM Assistant Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search Companies": {
      "ai_tool": [
        [
          {
            "node": "CRM Assistant Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "CRM Assistant Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Conversation Memory": {
      "ai_memory": [
        [
          {
            "node": "CRM Assistant Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "When User Asks Question": {
      "main": [
        [
          {
            "node": "CRM Assistant Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}