{
  "name": "Generate contextual recommendations from Slack using Pinecone",
  "nodes": [
    {
      "id": "0c522a5e-eab3-492b-8875-3035725641f1",
      "name": "Slack Trigger",
      "type": "n8n-nodes-base.slackTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "90fcd76e-2089-4283-8632-e2a543dd5697",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1264,
        0
      ]
    },
    {
      "id": "48964ea1-4b35-45a2-af44-1e6ef906e1b2",
      "name": "Azure OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        1040,
        224
      ]
    },
    {
      "id": "d164286c-cc67-4885-8587-cc7df25f6b85",
      "name": "Pinecone Vector Store2",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        1168,
        224
      ]
    },
    {
      "id": "3346c942-a5ec-400c-9ad7-e6f5a385553e",
      "name": "Embeddings Azure OpenAI2",
      "type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
      "position": [
        1184,
        432
      ]
    },
    {
      "id": "807f938a-9684-46da-9204-0506cf7ac1a8",
      "name": "Get row(s) in sheet in Google Sheets",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1456,
        224
      ]
    },
    {
      "id": "2f3b98d3-d326-4454-9ce4-3fe9cd5c8c1f",
      "name": "Reranker Cohere1",
      "type": "@n8n/n8n-nodes-langchain.rerankerCohere",
      "position": [
        1312,
        432
      ]
    },
    {
      "id": "54d785d1-db28-4d21-b9e2-a23d160c633a",
      "name": "Structured Output Parser1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1584,
        224
      ]
    },
    {
      "id": "cc23fd1b-5f6b-442b-9405-34fd3841bb9e",
      "name": "Pinecone Vector Store5",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        1776,
        0
      ]
    },
    {
      "id": "6d4c94ef-6df7-4a48-83d2-e2d10fda1678",
      "name": "Embeddings Azure OpenAI5",
      "type": "@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi",
      "position": [
        1808,
        224
      ]
    },
    {
      "id": "26c39fa6-ec81-47e0-ba5c-b21bec4d045e",
      "name": "Reranker Cohere3",
      "type": "@n8n/n8n-nodes-langchain.rerankerCohere",
      "position": [
        1920,
        224
      ]
    },
    {
      "id": "f2a81baa-7035-4947-a6ab-c55d567a420b",
      "name": "AI Agent3",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2160,
        0
      ]
    },
    {
      "id": "4441929d-cb5e-4ec2-bb59-6779d58e3e02",
      "name": "Azure OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        2176,
        416
      ]
    },
    {
      "id": "2e056c6a-8261-4159-a1d7-2a25d01c0f13",
      "name": "Auto-fixing Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        2240,
        224
      ]
    },
    {
      "id": "aab927a0-9bef-4680-92e6-5f72e08c5cc3",
      "name": "Structured Output Parser2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2352,
        416
      ]
    },
    {
      "id": "1774d8b6-f0a4-4d7f-827f-ce8cf2ba356f",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        224,
        0
      ]
    },
    {
      "id": "cc8e9c3e-bc06-4dbc-a37e-99219527c9ff",
      "name": "Azure OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        256,
        224
      ]
    },
    {
      "id": "4ff1e95e-5022-4021-8afc-ae9cc8084e37",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        368,
        224
      ]
    },
    {
      "id": "ee9d3653-e25c-4688-a3fa-6196781c8e40",
      "name": "Download file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        608,
        0
      ]
    },
    {
      "id": "b0a29268-2e3a-4b69-ad4c-785b8d3b37c4",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        816,
        0
      ]
    },
    {
      "id": "715b6321-360c-4dcf-b8f1-1bb3de5de5bf",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        2752,
        0
      ]
    },
    {
      "id": "e066f9cd-8179-4a59-bf3c-ebf2ae82781c",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        2528,
        0
      ]
    },
    {
      "id": "93f1bbac-6b17-4e6a-bed6-5372ca30adcf",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        64,
        -208
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "adae4fb9-0d69-4a21-801d-c17e45b0be4f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        -208
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5f4c6a5a-6397-4bec-9d10-c26924b915a5",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1760,
        -384
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "69f3f08b-6202-43dc-95c5-34c121bc8938",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2128,
        -384
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "d74e2916-3c23-4b37-a1ba-0d95cf3a8a39",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2672,
        -384
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "a0880474-5190-4db5-bebc-c62cc96b1fb4",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1264,
        -384
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent1": {
      "main": [
        [
          {
            "node": "Pinecone Vector Store5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent3": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reranker Cohere1": {
      "ai_reranker": [
        [
          {
            "node": "Pinecone Vector Store2",
            "type": "ai_reranker",
            "index": 0
          }
        ]
      ]
    },
    "Reranker Cohere3": {
      "ai_reranker": [
        [
          {
            "node": "Pinecone Vector Store5",
            "type": "ai_reranker",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pinecone Vector Store2": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Pinecone Vector Store5": {
      "main": [
        [
          {
            "node": "AI Agent3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Azure OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings Azure OpenAI2": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store2",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings Azure OpenAI5": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store5",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Auto-fixing Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Get row(s) in sheet in Google Sheets": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}