{
  "name": "Automated FAQ generator from WhatsApp groups using GPT-4 and Google Docs",
  "nodes": [
    {
      "id": "ef68ee0b-f945-44fe-85d9-30007d67c0b9",
      "name": "Get row(s) in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        80,
        -112
      ]
    },
    {
      "id": "128a027b-e1a7-4771-97dd-71a4342c1c1e",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        336,
        -112
      ]
    },
    {
      "id": "cf249385-49e9-45db-82cc-2eeccadc07a5",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        560,
        -112
      ]
    },
    {
      "id": "64e0948a-9449-4087-9f1f-2bcc31eb2752",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        576,
        80
      ]
    },
    {
      "id": "e5100ac4-7428-4fd9-9ebb-7fe70ed02770",
      "name": "Update a document",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1024,
        -112
      ]
    },
    {
      "id": "0d25df0d-e668-4387-aad4-c1fae9dfaa5e",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -176,
        -112
      ]
    },
    {
      "id": "fc505d69-fc20-4d1c-a628-1c46f13be249",
      "name": "Copy file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        864,
        -112
      ]
    },
    {
      "id": "9ff1927e-ddae-440b-b8b0-da9846d577c8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -192
      ],
      "parameters": {
        "width": null,
        "height": 224,
        "content": "## Run Every Week\n**Every Monday 6am**"
      }
    },
    {
      "id": "2ca1ffc3-ff3c-4ca1-9db2-99d0894438cc",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        -192
      ],
      "parameters": {
        "width": null,
        "height": 224,
        "content": "### Find all messages of that last week\n"
      }
    },
    {
      "id": "0aef6072-fcec-4658-9d99-d45b38f6a0df",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        272,
        -192
      ],
      "parameters": {
        "width": null,
        "height": 224,
        "content": "### Do \"messages blocks\" and identify the week of those messages\n"
      }
    },
    {
      "id": "c8455655-5d4e-41e3-90c3-5cce56a3aa01",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        528,
        -192
      ],
      "parameters": {
        "width": 288,
        "height": 400,
        "content": "### The AI Agent separates de questions and the context about these questions\n"
      }
    },
    {
      "id": "3877f1c5-49c5-46da-a516-6ba5c17a5d07",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        832,
        -192
      ],
      "parameters": {
        "width": 320,
        "height": 256,
        "content": "### Copy the template doc. file and create new after that"
      }
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Copy file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Copy file": {
      "main": [
        [
          {
            "node": "Update a document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get row(s) in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}