{
  "name": "Automatically reply to customer emails with Airtable, Gmail, and GPT-4.1 Mini",
  "nodes": [
    {
      "id": "91c45a87-a5e7-4446-ad36-52b779a04ff5",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1680,
        704
      ]
    },
    {
      "id": "f10f7b53-8918-4c90-b7e8-8b573c01e78f",
      "name": "Email Reçu",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        1296,
        704
      ]
    },
    {
      "id": "222701be-af4e-441a-8c95-199c631c331a",
      "name": "Réponse envoyée au client GPT4.1 MINI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1648,
        880
      ]
    },
    {
      "id": "4972ea0f-8d5e-48eb-bb42-f00017a9d2ad",
      "name": "Sauvegarde dans Airtable",
      "type": "n8n-nodes-base.airtable",
      "position": [
        2160,
        704
      ]
    },
    {
      "id": "3ae5bac1-4774-4daa-b516-a50492c5b3bc",
      "name": "Répondre au Client",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2592,
        704
      ]
    },
    {
      "id": "d7d830d1-ea78-41f6-8261-aea5c7fb4dd4",
      "name": "Mémoire des Conversations",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1840,
        880
      ]
    },
    {
      "id": "a7c1d4db-0539-4db9-8f98-59e250645e17",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        112
      ],
      "parameters": {
        "width": 928,
        "height": 912,
        "content": "# Automatically Reply to Customer Emails with n8n, Airtable, Gmail, and OpenAI\n\n## Introduction\n\nThis guide walks you step by step through setting up an automated agent that:\n- Receives emails sent by"
      }
    },
    {
      "id": "77461e99-0aab-4126-8019-424058945361",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        -560
      ],
      "parameters": {
        "width": 384,
        "height": 1584,
        "content": "## 1. Set Up Gmail Trigger in n8n\n\nAlright, now that we have our Airtable base ready, we need to capture customer emails.  \nThat’s the job of the **Gmail Trigger**. Basically, this node lies in wait i"
      }
    },
    {
      "id": "f1d51f68-15fb-47b6-9ce2-0c64c1c41042",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1584,
        -560
      ],
      "parameters": {
        "width": 384,
        "height": 1584,
        "content": "## 2. Set Up the AI Agent in n8n\n\nAfter configuring your **Gmail Trigger** (which captures incoming customer emails), you now need a **brain** to take over, analyze the email, and draft a reply.  \nTha"
      }
    },
    {
      "id": "cce445a1-0b91-4533-9e6a-b7ecff97d9a0",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1968,
        -560
      ],
      "parameters": {
        "width": 496,
        "height": 1584,
        "content": "## 3. Save Emails and Responses in Airtable\n\nNow that your **AI Agent** generates replies, you need to store them somewhere to keep a clear record of all interactions.  \nThat’s where **Airtable** come"
      }
    },
    {
      "id": "41d75e25-18db-4d52-bf1f-3799268e75b4",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2464,
        -560
      ],
      "parameters": {
        "width": 352,
        "height": 1584,
        "content": "## 4. Automatically Reply to the Customer in Gmail\n\nNow that you’re storing each interaction in Airtable, it’s time to **send your AI’s reply directly back to the customer**.  \nThis closes the loop: c"
      }
    },
    {
      "id": "bec8bbf3-c691-43bb-bb7e-b3e8dfcd7a1e",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        -352
      ],
      "parameters": {
        "width": 928,
        "height": 464,
        "content": "![Ma base Airtable](https://i.ibb.co/yF2XD9Jh/Base-airtable.png)\n"
      }
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Sauvegarde dans Airtable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Reçu": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sauvegarde dans Airtable": {
      "main": [
        [
          {
            "node": "Répondre au Client",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mémoire des Conversations": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Réponse envoyée au client GPT4.1 MINI": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}