{
  "name": "email_classifier_L3",
  "nodes": [
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyHour"
            }
          ]
        },
        "simple": false,
        "filters": {
          "readStatus": "both",
          "sender": "st.mok4@gmail.com"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.gmailTrigger",
      "typeVersion": 1.2,
      "position": [
        420,
        160
      ],
      "id": "e25a4cdb-2d4a-4238-ba8b-23dc7b82fef5",
      "name": "Gmail Trigger",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "inputText": "=email subject: {{ $json.subject }}\nemail contents: {{ $json.text }}",
        "categories": {
          "categories": [
            {
              "category": "Sales",
              "description": "the sender demonstrates buying intent or a desire to establish a business relationship around the purchase of our products. Examples of these requests might be: interest in buying wine, exploring a distribution relationship, joining the wine club, making a reservation for one of our experiences. Do not consider an unsolicited sales pitch where they are seeking to sell their services/products or an ask for a call/meeting as buying intent. "
            },
            {
              "category": "Support - Tier 1",
              "description": "the request is basic in nature, seeking surface level information that is easily answered by our team. Examples of these requests might be: whether we can ship to their state, what our hours of operations are, what our prices are (for wine or experiences), where we are located, what types of products/services we offer. If any request is about our story, our founder(s), the family, or about our winery at all, consider this a related request."
            },
            {
              "category": "Support - Tier 2",
              "description": "the request likely requires human intervention or the subject line or email contents are likely from an existing customer. Examples of these requests might be: a question about an existing wine club (shipment/order/perk/benefit), a minor issue with an order (asking about timing, delivery requirements, confirmation of an order, confirmation of a refund or cancellation), a change of address request, a change of billing information, a request for a tracking number, an issue logging into their account on our website, anything else that might be a simple action from our team."
            },
            {
              "category": "Support - Tier 3",
              "description": "the request is urgent or critical in nature, likely warranting the involvement of management or immediate response. Examples of these requests might be: a customer is very angry, a customer had a very bad in-person interaction with our team, there is an urgent food allergy on site, there has been or was an injury on site, a customer order was broken or delivered incorrectly, the order delivered contained the wrong items, a customer will not be able to receive a delivery and is requesting help, or some other request warranting immediate attention from our team to avoid further damage or alleviate significant customer dissatisfaction. "
            },
            {
              "category": "Events",
              "description": "the request is related to an event in the past, present, or future. Examples of these requests might be: interest in booking an event at one of our locations, interest in partnering on an event with us, interest in our wine for an event, questions about an upcoming or past event, issues with a ticket for an event, a need for last minute directions, or anything else that might be related to an event we are hosting, will host or planning. "
            }
          ]
        },
        "options": {
          "fallback": "other",
          "systemPromptTemplate": "You are an experienced executive assistant to fortune 500 executives. Your task is to triage a high volume of incoming emails and select the most appropriate category of email, so that an automated system can apply the correct label to the thread. Your response is only the category you’ve selected from the {categories}. The categories are listed below with quotes, but you should not include any formatting in your output, only the category you have selected.\n##Core Responsibilities##\n###Email Analysis###\nReview incoming emails thoroughlyIdentify key points, requests, and urgency levelEvaluate the tone and sentiment of the messagePick the most likely category of the email content based strictly on the Categorization Protocol.\n###Response Evaluation###\nDetermine if categorization is needed based on these criteria: \n*Skip automated notifications, marketing emails, and newsletters\n*Prioritize customer support messages, partnership opportunities, and sales inquiries\n*Flag urgent matters that require the recipient’s immediate attentionIgnore automated requests from platforms like LinkedIn, Microsoft 365/Office, and Commerce7. "
        }
      },
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "typeVersion": 1,
      "position": [
        880,
        160
      ],
      "id": "4a54af76-e825-4b11-b733-5e15711227c7",
      "name": "Text Classifier"
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "value": "o3-mini",
          "mode": "list",
          "cachedResultName": "o3-mini"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        980,
        380
      ],
      "id": "eec0e0a1-0eee-491e-98d2-6cee81e52d79",
      "name": "OpenAI Chat Model",
      "credentials": {
        "openAiApi": {
          "id": "fMKMaLtllDstvzWd",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "resource": "thread",
        "operation": "addLabels",
        "threadId": "={{ $json.threadId }}",
        "labelIds": [
          "Label_7951112386492637760"
        ]
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        1500,
        -140
      ],
      "id": "e02ed056-a213-4950-8737-d7b3af675091",
      "name": "support1_label",
      "webhookId": "d628ed63-43cf-4e39-ba5f-37c2594802c2",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      },
      "onError": "continueRegularOutput"
    },
    {
      "parameters": {
        "resource": "thread",
        "operation": "addLabels",
        "threadId": "={{ $json.threadId }}",
        "labelIds": [
          "Label_864228326480651248"
        ]
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        1500,
        -340
      ],
      "id": "6087a3a8-7878-4124-93aa-5ac819b10086",
      "name": "sales_label",
      "webhookId": "1dc752bd-b57c-417e-b3f1-f1922abeb774",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "resource": "thread",
        "operation": "addLabels",
        "threadId": "={{ $json.threadId }}",
        "labelIds": [
          "Label_7865285053597781876"
        ]
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        1500,
        40
      ],
      "id": "f4f0d4d9-a6ef-47ab-a73f-27818f3cf53b",
      "name": "support2_label",
      "webhookId": "a5f1746f-5d7a-4b39-b06f-9860b87cc66f",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "resource": "thread",
        "operation": "addLabels",
        "threadId": "={{ $json.threadId }}",
        "labelIds": [
          "Label_2706412583500707335"
        ]
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        1500,
        200
      ],
      "id": "2dfa69f3-758a-439d-b73b-47b600cf378c",
      "name": "support3_label",
      "webhookId": "8464f9dc-8ef5-43b8-97d0-3398bcae43bc",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "resource": "thread",
        "operation": "addLabels",
        "threadId": "={{ $json.threadId }}",
        "labelIds": [
          "Label_505619501978125129"
        ]
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        1500,
        360
      ],
      "id": "b93d3364-9e77-442d-acf1-f80ab168123f",
      "name": "events_label",
      "webhookId": "2971c18e-7324-4878-a15e-c0f82b81696c",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "822b972e-24f1-4f76-a4e8-0044ee6796e6",
              "name": "threadId",
              "value": "={{ $json.threadId }}",
              "type": "string"
            },
            {
              "id": "99503849-d11b-4c5a-8382-3fb43ae3caf9",
              "name": "subject",
              "value": "={{ $json.subject }}",
              "type": "string"
            },
            {
              "id": "4819df04-5262-44e0-806f-cf108cb14c25",
              "name": "date",
              "value": "={{ $json.date }}",
              "type": "string"
            },
            {
              "id": "6534427b-2a57-477c-94a0-0efda5b71ba4",
              "name": "to.value[0].address",
              "value": "={{ $json.to.value[0].address }}",
              "type": "string"
            },
            {
              "id": "3ae4b794-93fb-45c4-a855-ed6882b47137",
              "name": "from.value[0].address",
              "value": "={{ $json.from.value[0].address }}",
              "type": "string"
            },
            {
              "id": "0f05db85-4edb-48b3-a5fa-d9a87b05c4a2",
              "name": "from.value[0].name",
              "value": "={{ $json.from.value[0].name }}",
              "type": "string"
            },
            {
              "id": "b584d685-39e4-428a-b4e1-4bf8d30dd88e",
              "name": "text",
              "value": "={{ $json.text }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        660,
        160
      ],
      "id": "ec3b159c-7a12-4bf8-8b6c-29b1e76748e0",
      "name": "Edit Fields"
    },
    {
      "parameters": {
        "resource": "draft",
        "subject": "=",
        "message": "={{ $json.choices[0].message.content }}",
        "options": {
          "threadId": "={{ $('Text Classifier').item.json.threadId }}",
          "sendTo": "={{ $('Text Classifier').item.json.from.value[0].address }}"
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        2260,
        0
      ],
      "id": "b74ae342-9362-4ce2-bc94-deec4aa68571",
      "name": "Gmail",
      "webhookId": "55a7c8aa-2fcf-485b-8dae-bd6def8ccdf9",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "resource": "draft",
        "subject": "=",
        "message": "={{ $json.choices[0].message.content }}",
        "options": {
          "threadId": "={{ $('Text Classifier').item.json.threadId }}",
          "sendTo": "={{ $('Text Classifier').item.json.from.value[0].address }}"
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        2260,
        -180
      ],
      "id": "2569239e-5ada-4f15-85a5-1f216603746d",
      "name": "Gmail1",
      "webhookId": "80e33ec7-7be4-49c0-b422-b8b99fafff5c",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "resource": "draft",
        "subject": "=",
        "message": "={{ $json.choices[0].message.content }}",
        "options": {
          "threadId": "={{ $('Text Classifier').item.json.threadId }}",
          "sendTo": "={{ $('Text Classifier').item.json.from.value[0].address }}"
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        2260,
        200
      ],
      "id": "11aca0ee-0c91-460a-ad72-18285f02da6f",
      "name": "Gmail2",
      "webhookId": "73a83414-6d61-43f2-9565-8ee4f4ee397a",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "resource": "draft",
        "subject": "=",
        "message": "={{ $json.choices[0].message.content }}",
        "options": {
          "threadId": "={{ $('Text Classifier').item.json.threadId }}",
          "sendTo": "={{ $('Text Classifier').item.json.from.value[0].address }}"
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        2040,
        380
      ],
      "id": "1c78c66d-40f4-4d1c-897c-7c60adf3664c",
      "name": "Gmail3",
      "webhookId": "a61bc307-3ac3-49e5-8a17-29d0f86c7c40",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "resource": "draft",
        "subject": "=",
        "message": "={{ $json.choices[0].message.content }}",
        "options": {
          "threadId": "={{ $('Text Classifier').item.json.threadId }}",
          "sendTo": "={{ $('Text Classifier').item.json.from.value[0].address }}"
        }
      },
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        2020,
        -460
      ],
      "id": "ca48b4cc-fa7f-494e-a42a-e3dcacf8e298",
      "name": "Gmail4",
      "webhookId": "18daba91-08fd-459c-817e-cc5ebca2bbdd",
      "credentials": {
        "gmailOAuth2": {
          "id": "1QYU7PMD6HPRubyk",
          "name": "Gmail account"
        }
      }
    },
    {
      "parameters": {
        "operation": "create",
        "base": {
          "__rl": true,
          "value": "appPmBn3i3tT4utYf",
          "mode": "list",
          "cachedResultName": "email_classifier_v0",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf"
        },
        "table": {
          "__rl": true,
          "value": "tblOVsyCHRosVJr9n",
          "mode": "list",
          "cachedResultName": "emails_wk2",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf/tblOVsyCHRosVJr9n"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "draft_text": "={{ $('draft_support1').item.json.choices[0].message.content }}",
            "subject": "={{ $('Text Classifier').item.json.subject }}",
            "original_text": "={{ $('Text Classifier').item.json.text }}",
            "category": "support_tier1",
            "status": "todo"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "id",
              "displayName": "id",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "subject",
              "displayName": "subject",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "original_text",
              "displayName": "original_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category",
              "displayName": "category",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "sales",
                  "value": "sales"
                },
                {
                  "name": "support_tier1",
                  "value": "support_tier1"
                },
                {
                  "name": "support_tier2",
                  "value": "support_tier2"
                },
                {
                  "name": "support_tier3",
                  "value": "support_tier3"
                },
                {
                  "name": "events",
                  "value": "events"
                },
                {
                  "name": "other",
                  "value": "other"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category_rating",
              "displayName": "category_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_text",
              "displayName": "draft_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_rating",
              "displayName": "draft_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "created_at",
              "displayName": "created_at",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "status",
              "displayName": "status",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "todo",
                  "value": "todo"
                },
                {
                  "name": "in review",
                  "value": "in review"
                },
                {
                  "name": "done",
                  "value": "done"
                }
              ],
              "readOnly": false,
              "removed": false
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        2480,
        -180
      ],
      "id": "212a6eb3-8d1a-4c09-934f-eb3df10693a4",
      "name": "support_1",
      "credentials": {
        "airtableTokenApi": {
          "id": "lgeboDAENVQSj11S",
          "name": "NVL_Airtable"
        }
      }
    },
    {
      "parameters": {
        "operation": "create",
        "base": {
          "__rl": true,
          "value": "appPmBn3i3tT4utYf",
          "mode": "list",
          "cachedResultName": "email_classifier_v0",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf"
        },
        "table": {
          "__rl": true,
          "value": "tblOVsyCHRosVJr9n",
          "mode": "list",
          "cachedResultName": "emails_wk2",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf/tblOVsyCHRosVJr9n"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "draft_text": "={{ $('draft_sales').item.json.choices[0].message.content }}",
            "subject": "={{ $('Text Classifier').item.json.subject }}",
            "original_text": "={{ $('Text Classifier').item.json.text }}",
            "category": "sales"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "id",
              "displayName": "id",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "subject",
              "displayName": "subject",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "original_text",
              "displayName": "original_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category",
              "displayName": "category",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "sales",
                  "value": "sales"
                },
                {
                  "name": "support_tier1",
                  "value": "support_tier1"
                },
                {
                  "name": "support_tier2",
                  "value": "support_tier2"
                },
                {
                  "name": "support_tier3",
                  "value": "support_tier3"
                },
                {
                  "name": "events",
                  "value": "events"
                },
                {
                  "name": "other",
                  "value": "other"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category_rating",
              "displayName": "category_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_text",
              "displayName": "draft_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_rating",
              "displayName": "draft_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "created_at",
              "displayName": "created_at",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "status",
              "displayName": "status",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "todo",
                  "value": "todo"
                },
                {
                  "name": "in review",
                  "value": "in review"
                },
                {
                  "name": "done",
                  "value": "done"
                }
              ],
              "readOnly": false,
              "removed": false
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        2240,
        -460
      ],
      "id": "9de9e983-3871-4997-b1ca-8c9980bab11d",
      "name": "sales",
      "credentials": {
        "airtableTokenApi": {
          "id": "lgeboDAENVQSj11S",
          "name": "NVL_Airtable"
        }
      }
    },
    {
      "parameters": {
        "operation": "create",
        "base": {
          "__rl": true,
          "value": "appPmBn3i3tT4utYf",
          "mode": "list",
          "cachedResultName": "email_classifier_v0",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf"
        },
        "table": {
          "__rl": true,
          "value": "tblOVsyCHRosVJr9n",
          "mode": "list",
          "cachedResultName": "emails_wk2",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf/tblOVsyCHRosVJr9n"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "draft_text": "={{ $('draft_support2').item.json.choices[0].message.content }}",
            "subject": "={{ $('Text Classifier').item.json.subject }}",
            "original_text": "={{ $('Text Classifier').item.json.text }}",
            "category": "support_tier3"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "id",
              "displayName": "id",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "subject",
              "displayName": "subject",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "original_text",
              "displayName": "original_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category",
              "displayName": "category",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "sales",
                  "value": "sales"
                },
                {
                  "name": "support_tier1",
                  "value": "support_tier1"
                },
                {
                  "name": "support_tier2",
                  "value": "support_tier2"
                },
                {
                  "name": "support_tier3",
                  "value": "support_tier3"
                },
                {
                  "name": "events",
                  "value": "events"
                },
                {
                  "name": "other",
                  "value": "other"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category_rating",
              "displayName": "category_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_text",
              "displayName": "draft_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_rating",
              "displayName": "draft_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "created_at",
              "displayName": "created_at",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "status",
              "displayName": "status",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "todo",
                  "value": "todo"
                },
                {
                  "name": "in review",
                  "value": "in review"
                },
                {
                  "name": "done",
                  "value": "done"
                }
              ],
              "readOnly": false,
              "removed": false
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        2480,
        0
      ],
      "id": "86d50794-2630-4c1a-91f5-0a3789d1806b",
      "name": "support_2",
      "credentials": {
        "airtableTokenApi": {
          "id": "lgeboDAENVQSj11S",
          "name": "NVL_Airtable"
        }
      }
    },
    {
      "parameters": {
        "operation": "create",
        "base": {
          "__rl": true,
          "value": "appPmBn3i3tT4utYf",
          "mode": "list",
          "cachedResultName": "email_classifier_v0",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf"
        },
        "table": {
          "__rl": true,
          "value": "tblOVsyCHRosVJr9n",
          "mode": "list",
          "cachedResultName": "emails_wk2",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf/tblOVsyCHRosVJr9n"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "draft_text": "={{ $('draft_support3').item.json.choices[0].message.content }}",
            "subject": "={{ $('Text Classifier').item.json.subject }}",
            "original_text": "={{ $('Text Classifier').item.json.text }}",
            "category": "support_tier3"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "id",
              "displayName": "id",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "subject",
              "displayName": "subject",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "original_text",
              "displayName": "original_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category",
              "displayName": "category",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "sales",
                  "value": "sales"
                },
                {
                  "name": "support_tier1",
                  "value": "support_tier1"
                },
                {
                  "name": "support_tier2",
                  "value": "support_tier2"
                },
                {
                  "name": "support_tier3",
                  "value": "support_tier3"
                },
                {
                  "name": "events",
                  "value": "events"
                },
                {
                  "name": "other",
                  "value": "other"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category_rating",
              "displayName": "category_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_text",
              "displayName": "draft_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_rating",
              "displayName": "draft_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "created_at",
              "displayName": "created_at",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "status",
              "displayName": "status",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "todo",
                  "value": "todo"
                },
                {
                  "name": "in review",
                  "value": "in review"
                },
                {
                  "name": "done",
                  "value": "done"
                }
              ],
              "readOnly": false,
              "removed": false
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        2700,
        200
      ],
      "id": "dcc06024-8508-4a09-bc12-4540b7678398",
      "name": "support_3",
      "credentials": {
        "airtableTokenApi": {
          "id": "lgeboDAENVQSj11S",
          "name": "NVL_Airtable"
        }
      }
    },
    {
      "parameters": {
        "operation": "create",
        "base": {
          "__rl": true,
          "value": "appPmBn3i3tT4utYf",
          "mode": "list",
          "cachedResultName": "email_classifier_v0",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf"
        },
        "table": {
          "__rl": true,
          "value": "tblOVsyCHRosVJr9n",
          "mode": "list",
          "cachedResultName": "emails_wk2",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf/tblOVsyCHRosVJr9n"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "draft_text": "={{ $('draft_events').item.json.choices[0].message.content }}",
            "subject": "={{ $('Text Classifier').item.json.subject }}",
            "original_text": "={{ $('Text Classifier').item.json.text }}",
            "category": "events",
            "status": "todo"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "id",
              "displayName": "id",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "subject",
              "displayName": "subject",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "original_text",
              "displayName": "original_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category",
              "displayName": "category",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "sales",
                  "value": "sales"
                },
                {
                  "name": "support_tier1",
                  "value": "support_tier1"
                },
                {
                  "name": "support_tier2",
                  "value": "support_tier2"
                },
                {
                  "name": "support_tier3",
                  "value": "support_tier3"
                },
                {
                  "name": "events",
                  "value": "events"
                },
                {
                  "name": "other",
                  "value": "other"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category_rating",
              "displayName": "category_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_text",
              "displayName": "draft_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "draft_rating",
              "displayName": "draft_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "created_at",
              "displayName": "created_at",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "status",
              "displayName": "status",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "todo",
                  "value": "todo"
                },
                {
                  "name": "in review",
                  "value": "in review"
                },
                {
                  "name": "done",
                  "value": "done"
                }
              ],
              "readOnly": false,
              "removed": false
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        2260,
        380
      ],
      "id": "9915facb-a5b3-4fb4-a03e-a2de04bc7913",
      "name": "events",
      "credentials": {
        "airtableTokenApi": {
          "id": "lgeboDAENVQSj11S",
          "name": "NVL_Airtable"
        }
      }
    },
    {
      "parameters": {
        "operation": "create",
        "base": {
          "__rl": true,
          "value": "appPmBn3i3tT4utYf",
          "mode": "list",
          "cachedResultName": "email_classifier_v0",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf"
        },
        "table": {
          "__rl": true,
          "value": "tblOVsyCHRosVJr9n",
          "mode": "list",
          "cachedResultName": "emails_wk2",
          "cachedResultUrl": "https://airtable.com/appPmBn3i3tT4utYf/tblOVsyCHRosVJr9n"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "subject": "={{ $('Text Classifier').item.json.subject }}",
            "original_text": "={{ $('Text Classifier').item.json.text }}",
            "category": "other",
            "status": "todo"
          },
          "matchingColumns": [],
          "schema": [
            {
              "id": "id",
              "displayName": "id",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "subject",
              "displayName": "subject",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "original_text",
              "displayName": "original_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category",
              "displayName": "category",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "sales",
                  "value": "sales"
                },
                {
                  "name": "support_tier1",
                  "value": "support_tier1"
                },
                {
                  "name": "support_tier2",
                  "value": "support_tier2"
                },
                {
                  "name": "support_tier3",
                  "value": "support_tier3"
                },
                {
                  "name": "events",
                  "value": "events"
                },
                {
                  "name": "other",
                  "value": "other"
                }
              ],
              "readOnly": false,
              "removed": false
            },
            {
              "id": "category_rating",
              "displayName": "category_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": true
            },
            {
              "id": "draft_text",
              "displayName": "draft_text",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": true
            },
            {
              "id": "draft_rating",
              "displayName": "draft_rating",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "1",
                  "value": "1"
                },
                {
                  "name": "2",
                  "value": "2"
                },
                {
                  "name": "3",
                  "value": "3"
                }
              ],
              "readOnly": false,
              "removed": true
            },
            {
              "id": "created_at",
              "displayName": "created_at",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "status",
              "displayName": "status",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "options",
              "options": [
                {
                  "name": "todo",
                  "value": "todo"
                },
                {
                  "name": "in review",
                  "value": "in review"
                },
                {
                  "name": "done",
                  "value": "done"
                }
              ],
              "readOnly": false,
              "removed": false
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        1500,
        600
      ],
      "id": "319e7476-d833-48d0-a0e4-305d9a9ec255",
      "name": "other",
      "credentials": {
        "airtableTokenApi": {
          "id": "lgeboDAENVQSj11S",
          "name": "NVL_Airtable"
        }
      }
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "o3-mini",
          "mode": "list",
          "cachedResultName": "O3-MINI"
        },
        "messages": {
          "values": [
            {
              "content": "You are a friendly, helpful customer support agent. You excel at making people feel heard and pride yourself on the accuracy of your responses. You will receive the contents of an email and draft a situationally appropriate email reply. Before responding you will take the following steps:\n1. Ensure you understand the contents and tone of the message.\n2. Determine what information you need to respond appropriately. \n3. Get the information you need.\n\nOnce you have completed the above steps, you may proceed with drafting your response. \nYour response should be professional, helpful and well-informed. If you do not have, or are uncertain about, the information you need for the response, you may leave placeholder text to be filled in with the proper information later. No matter what, you should always draft a situationally-appropriate response. You never need to include a subject line as your response will always be used as a reply to the same thread.\n\nIn no circumstances should you ever include explainer text that is not intended for the recipient of the email. ",
              "role": "assistant"
            },
            {
              "content": "=Here is the email.\nsubject:  {{ $('Text Classifier').item.json.subject }}\nname of sender: {{ $('Text Classifier').item.json.from.value[0].name }}\nemail text: {{ $json.messages[0].snippet }}"
            }
          ]
        },
        "simplify": false,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        1900,
        -220
      ],
      "id": "87bc9484-7a45-415e-ad9f-491167eea94a",
      "name": "draft_support1",
      "alwaysOutputData": true,
      "credentials": {
        "openAiApi": {
          "id": "fMKMaLtllDstvzWd",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "o3-mini",
          "mode": "list",
          "cachedResultName": "O3-MINI"
        },
        "messages": {
          "values": [
            {
              "content": "You are a friendly, helpful customer support agent. You excel at making people feel heard and pride yourself on the accuracy of your responses. You will receive the contents of an email and draft a situationally appropriate email reply. Before responding you will take the following steps:\n1. Ensure you understand the contents and tone of the message.\n2. Determine what information you need to respond appropriately. \n3. Get the information you need.\n\nOnce you have completed the above steps, you may proceed with drafting your response. \nYour response should be professional, helpful and well-informed. If you do not have, or are uncertain about, the information you need for the response, you may leave placeholder text to be filled in with the proper information later. No matter what, you should always draft a situationally-appropriate response. You never need to include a subject line as your response will always be used as a reply to the same thread.\n\nIn no circumstances should you ever include explainer text that is not intended for the recipient of the email. ",
              "role": "assistant"
            },
            {
              "content": "=Here is the email.\nsubject:  {{ $('Text Classifier').item.json.subject }}\nname of sender: {{ $('Text Classifier').item.json.from.value[0].name }}\nemail text: {{ $json.messages[0].snippet }}"
            }
          ]
        },
        "simplify": false,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        1900,
        200
      ],
      "id": "1ac0852f-baf0-4e07-9403-31274fb1046c",
      "name": "draft_support3",
      "alwaysOutputData": true,
      "credentials": {
        "openAiApi": {
          "id": "fMKMaLtllDstvzWd",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "o1-mini",
          "mode": "list",
          "cachedResultName": "O1-MINI"
        },
        "messages": {
          "values": [
            {
              "content": "You are a friendly, helpful customer support agent. You excel at making people feel heard and pride yourself on the accuracy of your responses. You will receive the contents of an email and draft a situationally appropriate email reply. Before responding you will take the following steps:\n1. Ensure you understand the contents and tone of the message.\n2. Determine what information you need to respond appropriately. \n3. Get the information you need.\n\nOnce you have completed the above steps, you may proceed with drafting your response. \nYour response should be professional, helpful and well-informed. If you do not have, or are uncertain about, the information you need for the response, you may leave placeholder text to be filled in with the proper information later. No matter what, you should always draft a situationally-appropriate response. You never need to include a subject line as your response will always be used as a reply to the same thread.\n\nIn no circumstances should you ever include explainer text that is not intended for the recipient of the email. ",
              "role": "assistant"
            },
            {
              "content": "=Here is the email.\nsubject:  {{ $('Text Classifier').item.json.subject }}\nname of sender: {{ $('Text Classifier').item.json.from.value[0].name }}\nemail text: {{ $json.messages[0].snippet }}"
            }
          ]
        },
        "simplify": false,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        1680,
        380
      ],
      "id": "e286e19c-4f6f-4376-af1a-79a91638aa3c",
      "name": "draft_events",
      "alwaysOutputData": true,
      "credentials": {
        "openAiApi": {
          "id": "fMKMaLtllDstvzWd",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "o1-mini",
          "mode": "list",
          "cachedResultName": "O1-MINI"
        },
        "messages": {
          "values": [
            {
              "content": "You are a friendly, helpful customer support agent. You excel at making people feel heard and pride yourself on the accuracy of your responses. You will receive the contents of an email and draft a situationally appropriate email reply. Before responding you will take the following steps:\n1. Ensure you understand the contents and tone of the message.\n2. Determine what information you need to respond appropriately. \n3. Get the information you need.\n\nOnce you have completed the above steps, you may proceed with drafting your response. \nYour response should be professional, helpful and well-informed. If you do not have, or are uncertain about, the information you need for the response, you may leave placeholder text to be filled in with the proper information later. No matter what, you should always draft a situationally-appropriate response. You never need to include a subject line as your response will always be used as a reply to the same thread.\n\nIn no circumstances should you ever include explainer text that is not intended for the recipient of the email. ",
              "role": "assistant"
            },
            {
              "content": "=Here is the email.\nsubject:  {{ $('Text Classifier').item.json.subject }}\nname of sender: {{ $('Text Classifier').item.json.from.value[0].name }}\nemail text: {{ $json.messages[0].snippet }}"
            }
          ]
        },
        "simplify": false,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        1660,
        -460
      ],
      "id": "fb4f4359-115f-4ede-adca-20a038ba96e5",
      "name": "draft_sales",
      "alwaysOutputData": true,
      "credentials": {
        "openAiApi": {
          "id": "fMKMaLtllDstvzWd",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "select": "user",
        "user": {
          "__rl": true,
          "value": "U07S61M095M",
          "mode": "list",
          "cachedResultName": "cheers"
        },
        "text": "🚨 **URGENT - Tier 3 Support**  Subject: {{ $('Text Classifier').item.json.subject }} name of sender: {{ $('Text Classifier').item.json.from.value[0].name }} email text: {{ $json.messages[0].snippet }}",
        "otherOptions": {}
      },
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.3,
      "position": [
        2480,
        200
      ],
      "id": "2078c18b-9be7-4746-a4b9-ae7f49f0e3e2",
      "name": "Slack",
      "webhookId": "2c508f09-6198-4115-824f-a24672a57415",
      "credentials": {
        "slackOAuth2Api": {
          "id": "cb1HIT4MER4PFIqk",
          "name": "Slack account"
        }
      },
      "onError": "continueRegularOutput"
    },
    {
      "parameters": {
        "content": "## Retrieval \n**This is where RAG pieces will go**",
        "height": 800,
        "width": 920
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        -1340
      ],
      "typeVersion": 1,
      "id": "1edf0182-ad81-443f-9152-50e735e153eb",
      "name": "Sticky Note"
    },
    {
      "parameters": {
        "mode": "insert",
        "pineconeIndex": {
          "__rl": true,
          "value": "n8n",
          "mode": "list",
          "cachedResultName": "n8n"
        },
        "options": {}
      },
      "id": "ea012f60-f719-46f9-984a-08454070629e",
      "name": "Pinecone Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        1020,
        -1120
      ],
      "typeVersion": 1,
      "credentials": {
        "pineconeApi": {
          "id": "0QkjfS4N69XZoaUc",
          "name": "PineconeApi account"
        }
      }
    },
    {
      "parameters": {
        "dataType": "binary",
        "binaryMode": "specificField",
        "binaryDataKey": "=data",
        "options": {}
      },
      "id": "7759c60b-90b7-4fc9-b8de-35e3139d8007",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        1180,
        -900
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "chunkOverlap": 100,
        "options": {}
      },
      "id": "5cd7f06d-91ab-4e02-95af-a0d1d0cc039d",
      "name": "Recursive Character Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        1160,
        -700
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "operation": "download",
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {
          "fileName": "={{ $json.name }}"
        }
      },
      "id": "f652e5c0-95c3-44e0-a4e5-80c02ce5c943",
      "name": "Download File From Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        800,
        -1120
      ],
      "typeVersion": 3,
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "Gbop97dVhA7UNraf",
          "name": "Google Drive account"
        }
      }
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyHour"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "value": "1LBEGzb-u4fc06bOY3FSl7GiqHllq7K2x",
          "mode": "list",
          "cachedResultName": "Build Together",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1LBEGzb-u4fc06bOY3FSl7GiqHllq7K2x"
        },
        "event": "fileUpdated",
        "options": {}
      },
      "id": "b7a892c3-dcb1-4932-82a5-b7436593c8ac",
      "name": "Google Drive File Updated",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        480,
        -980
      ],
      "typeVersion": 1,
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "Gbop97dVhA7UNraf",
          "name": "Google Drive account"
        }
      }
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyHour"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "value": "1LBEGzb-u4fc06bOY3FSl7GiqHllq7K2x",
          "mode": "list",
          "cachedResultName": "Build Together",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1LBEGzb-u4fc06bOY3FSl7GiqHllq7K2x"
        },
        "event": "fileCreated",
        "options": {
          "fileType": "all"
        }
      },
      "id": "428339dd-989b-4f90-9b4e-3f20369b5b67",
      "name": "Google Drive File Created",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        480,
        -1240
      ],
      "typeVersion": 1,
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "Gbop97dVhA7UNraf",
          "name": "Google Drive account"
        }
      }
    },
    {
      "parameters": {
        "content": "## Vector Storage\n \n**This is how files are added to vector storage**",
        "height": 800,
        "width": 1180
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -1340
      ],
      "typeVersion": 1,
      "id": "d3eb173d-464c-4b1f-bff0-7b0fdd6b5a41",
      "name": "Sticky Note2"
    },
    {
      "parameters": {
        "model": "text-embedding-3-large",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "typeVersion": 1.2,
      "position": [
        960,
        -860
      ],
      "id": "ad48bef0-fc1b-4bed-a068-d3e6762f4169",
      "name": "Embeddings OpenAI1",
      "credentials": {
        "openAiApi": {
          "id": "fMKMaLtllDstvzWd",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "o3-mini",
          "mode": "list",
          "cachedResultName": "O3-MINI"
        },
        "messages": {
          "values": [
            {
              "content": "You are a friendly, helpful customer support agent. You excel at making people feel heard and pride yourself on the accuracy of your responses. You will receive the contents of an email and draft a situationally appropriate email reply. Before responding you will take the following steps:\n1. Ensure you understand the contents and tone of the message.\n2. Determine what information you need to respond appropriately. \n3. Get the information you need.\n\nOnce you have completed the above steps, you may proceed with drafting your response. \nYour response should be professional, helpful and well-informed. If you do not have, or are uncertain about, the information you need for the response, you may leave placeholder text to be filled in with the proper information later. No matter what, you should always draft a situationally-appropriate response. You never need to include a subject line as your response will always be used as a reply to the same thread.\n\nIn no circumstances should you ever include explainer text that is not intended for the recipient of the email. ",
              "role": "assistant"
            },
            {
              "content": "=Here is the email.\nsubject:  {{ $('Text Classifier').item.json.subject }}\nname of sender: {{ $('Text Classifier').item.json.from.value[0].name }}\nemail text: {{ $json.messages[0].snippet }}"
            }
          ]
        },
        "simplify": false,
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        1900,
        0
      ],
      "id": "3f93ab38-fe9f-464c-a299-0be764b57de1",
      "name": "draft_support2",
      "alwaysOutputData": true,
      "credentials": {
        "openAiApi": {
          "id": "fMKMaLtllDstvzWd",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "mode": "retrieve-as-tool",
        "toolName": "email_build_together_company_files",
        "toolDescription": "You will use this most to ensure you answer support inquiries accurately. Work with the Pinecone vector store to answer company-specific questions that relate to company policies and best practices for handling upset customers. ",
        "pineconeIndex": {
          "__rl": true,
          "value": "n8n",
          "mode": "list",
          "cachedResultName": "n8n"
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "typeVersion": 1,
      "position": [
        2140,
        -1120
      ],
      "id": "7e0763be-e430-4169-b612-9b30b1b39b88",
      "name": "Pinecone Vector Store2",
      "credentials": {
        "pineconeApi": {
          "id": "0QkjfS4N69XZoaUc",
          "name": "PineconeApi account"
        }
      }
    },
    {
      "parameters": {
        "model": "text-embedding-3-large",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "typeVersion": 1.2,
      "position": [
        2120,
        -940
      ],
      "id": "cdda0904-e84e-437b-b36b-4af9d727d454",
      "name": "Embeddings OpenAI2",
      "credentials": {
        "openAiApi": {
          "id": "fMKMaLtllDstvzWd",
          "name": "OpenAi account"
        }
      }
    },
    {
      "parameters": {
        "operation": "move",
        "fileId": {
          "__rl": true,
          "value": "={{ $('Download File From Google Drive').item.json.id }}",
          "mode": "id"
        },
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "folderId": {
          "__rl": true,
          "value": "1Z8ZkQd6lPv3pQnVGgTIHwz-k7ZViNsrd",
          "mode": "list",
          "cachedResultName": "stored",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1Z8ZkQd6lPv3pQnVGgTIHwz-k7ZViNsrd"
        }
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        1380,
        -1120
      ],
      "id": "53d57929-6941-4bf6-a9c6-a68e95e9832b",
      "name": "Google Drive",
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "Gbop97dVhA7UNraf",
          "name": "Google Drive account"
        }
      }
    }
  ],
  "pinData": {
    "Gmail Trigger": [
      {
        "json": {
          "id": "195451a7d81b1358",
          "threadId": "195451a7d81b1358",
          "labelIds": [
            "Label_4996707891996933114",
            "UNREAD",
            "IMPORTANT",
            "CATEGORY_PERSONAL",
            "INBOX"
          ],
          "sizeEstimate": 5902,
          "headers": {
            "delivered-to": "Delivered-To: cheers@newvintagelabs.com",
            "received": "Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])\r\n        by mx.google.com with SMTPS id 2adb3069b0e04-549443b152esor73673e87.27.2025.02.26.17.51.58\r\n        for <cheers@newvintagelabs.com>\r\n        (Google Transport Security);\r\n        Wed, 26 Feb 2025 17:51:58 -0800 (PST)",
            "x-received": "X-Received: by 2002:a05:6512:230b:b0:545:c08:e18d with SMTP id\r\n 2adb3069b0e04-54838edd930mr12083185e87.4.1740621117855; Wed, 26 Feb 2025\r\n 17:51:57 -0800 (PST)",
            "arc-seal": "ARC-Seal: i=1; a=rsa-sha256; t=1740621118; cv=none;\r\n        d=google.com; s=arc-20240605;\r\n        b=OKCmM0OFh9JjcbjkY2To513EYIk2vDX7giLWF1j/02X0twiFzQj3FjfMvV5Wy7hf12\r\n         GDddenfLcyCVQEd3tYWqUwignVMeiWZu7DboNN+FP3hGV5gFdztBjfTATK7+hOMRY0v/\r\n         6uYr46uy/V4DNqykhPyzywJD/6/HUFfxGLlBAhvgBbrTSp6o4HCyC0EO3MgvRL0W7t/o\r\n         Z9oc4HgTGnXL4TL8TK62SyVEcKpciuv0P0rsv4wp58Sx/SbHmzvBiorMfdqWvVNVKOmE\r\n         aXgS9LfKiPp4QEJTmUiTbH+9e5LFcNpDHVph7ro9Ch+vcs8w1JhLB9WaG5A3VGEwR/AD\r\n         mU2Q==",
            "arc-message-signature": "ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;\r\n        h=to:subject:message-id:date:from:mime-version:dkim-signature;\r\n        bh=eEuUifnHmZaTpdeCBOYccg2CAHDwDNBZrNc//bIGp8M=;\r\n        fh=dwsowENb3geVZeyFWQHN2EwGeXXJDFxjzL/kJbJgQ9c=;\r\n        b=YKNQ+nqYVP7MHwDx+Me8KB1SiKPc8oD7p34ZkUxCPkROn0AUuqU9j2JiocTdhmvQOB\r\n         i0Bx3UvH9DaAuopL8gKHKXQa2efEugH6/HOzZyhKY2VcIvJ+vyDpGx2zrOCFSTgOlrTu\r\n         ccgNTD52uB6BjWw0mEHXtzfErEuI+0/UxZQqNRW+4bfJy3mqtmrwaxGrEitu9XA/9t/n\r\n         evTWt9GsGBvrKF40Xe6BFCa5CdTpVZXJmrnQjAjiCuMy2BqipV/n3xzQjWvfJZ5ZnSLU\r\n         fFS0SEqVZiHpdcbEz3zj0z2z9ASktEIA+l/R48IlX2X3+3ZFAQ5q4OXpmmjgHvBroVow\r\n         jB8w==;\r\n        dara=google.com",
            "arc-authentication-results": "ARC-Authentication-Results: i=1; mx.google.com;\r\n       dkim=pass header.i=@gmail.com header.s=20230601 header.b=HdvD6P0t;\r\n       spf=pass (google.com: domain of st.mok4@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=st.mok4@gmail.com;\r\n       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;\r\n       dara=pass header.i=@newvintagelabs.com",
            "return-path": "Return-Path: <st.mok4@gmail.com>",
            "received-spf": "Received-SPF: pass (google.com: domain of st.mok4@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;",
            "authentication-results": "Authentication-Results: mx.google.com;\r\n       dkim=pass header.i=@gmail.com header.s=20230601 header.b=HdvD6P0t;\r\n       spf=pass (google.com: domain of st.mok4@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=st.mok4@gmail.com;\r\n       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com;\r\n       dara=pass header.i=@newvintagelabs.com",
            "dkim-signature": "DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r\n        d=gmail.com; s=20230601; t=1740621118; x=1741225918; darn=newvintagelabs.com;\r\n        h=to:subject:message-id:date:from:mime-version:from:to:cc:subject\r\n         :date:message-id:reply-to;\r\n        bh=eEuUifnHmZaTpdeCBOYccg2CAHDwDNBZrNc//bIGp8M=;\r\n        b=HdvD6P0tLm804Bm5DKLTus/9YD1OrUnJ6H/F/Acil9Bcjv4UWI/AHcpgwb2yTVyHnN\r\n         YzSWPi0yLf/Zz6GYpqNGUgxQZE39Da+NoOtA8kDk6n5A10z8wPniubIG9P44cvgu8sZy\r\n         T05mWT6LvlY3pNNFRuoIS+dbehkyD3uQixMseYCPJFWpGgrpLggh59CVV8ndzBF8naeR\r\n         5FsrAmuNqCMl9xJ4GFoCUXrPDXwuuM7oef4ixG4r5Qz8g/lg9alRZMEJv83QqLl8ZFlb\r\n         VO+/C4VD+bjuck1dIBY8spaLEKulxsqfFN4mV3EEO60t448EjeVFsM0H+wfakeOoy564\r\n         XwXw==",
            "x-google-dkim-signature": "X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r\n        d=1e100.net; s=20230601; t=1740621118; x=1741225918;\r\n        h=to:subject:message-id:date:from:mime-version:x-gm-message-state\r\n         :from:to:cc:subject:date:message-id:reply-to;\r\n        bh=eEuUifnHmZaTpdeCBOYccg2CAHDwDNBZrNc//bIGp8M=;\r\n        b=vKKDtJcTohWukt404kpaz/fsbbHoW4FWdzYkw4P7+OfOdpV3a8gThvCW9MZFB1YBv3\r\n         cb9LGLG89tNIXSwdij6TdXzHjLPnQO6GZ1Tz4XcwrfdFmGrlM3NjfQGsWXiUoWFHVWGq\r\n         H+ZlwDeqcUxkhOWl1oUe5oZ92YF6whmbtbn9odBDOJ95Do3ovU0eX/BZoCQfqkJ25E5k\r\n         q8SlUHMh546erjhruERQR3YZ3lCoRApTNsMcCITdjgc8hyKzCHbkgKmi+rbJDzCUngYk\r\n         nF+habWaHLtysejh4DBeR0lOSWI6bpbBLiMk6IDa8441DGdUi7YroWgGKrkBQSgeF9Mv\r\n         qw4w==",
            "x-gm-message-state": "X-Gm-Message-State: AOJu0YyF2skZnU4MRNhbOsnQ4hJ0q1RleWeHhsOQHw0x0JW1rvr17oJy\r\n\thk6v3TRg1VBseTnrtzb1H9ABXwVQ24tfAWzlGpiPm2DAuUXexG8rdjx5NMVnUYcM5sYJap2DtSs\r\n\tW2GiHV+C1cgOeM2keddKs4XBD3Yg5fg==",
            "x-gm-gg": "X-Gm-Gg: ASbGncuyYupCqGKpAm88PD0/K5GAPpzeQRwni189m80EzRaWy6XdG7ZwpdPL2uSQg9L\r\n\t7PwULWUFWEyOkct+IWHNiPTmPxHixgVDr4foRZjkOShP70aP+bbFx+8IkHAB7y5vKqMss/snoeD\r\n\tHzvYaqDYm1",
            "x-google-smtp-source": "X-Google-Smtp-Source: AGHT+IENYME7LePj+VcAP6PyyHXXFluNBd8jZlCXknjTxc3A77hnflEVR/0ci7EhzcPHwFmNMUG6qXnuiVD0UGgcick=",
            "mime-version": "MIME-Version: 1.0",
            "from": "From: Stephen Mok <st.mok4@gmail.com>",
            "date": "Date: Wed, 26 Feb 2025 17:51:46 -0800",
            "x-gm-features": "X-Gm-Features: AQ5f1JpaFJoxcZwzNHs7BwM6tWh_wy9XtWXLGm-y2BnmKzvY1k1rjBBV7kQYD1M",
            "message-id": "Message-ID: <CAEdMjeuV09duALRbNqktaJ4dmSAftoAT4DuNX9By_5EZW14nBQ@mail.gmail.com>",
            "subject": "Subject: shipping cost",
            "to": "To: cheers@newvintagelabs.com",
            "content-type": "Content-Type: multipart/alternative; boundary=\"0000000000006b22b2062f15ef53\""
          },
          "html": "<div><div dir=\"ltr\"><div>how much would it cost to ship 7 bottles to TX?</div><div><div dir=\"ltr\" class=\"gmail_signature\" data-smartmail=\"gmail_signature\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><div dir=\"ltr\"><br><div></div><div><br></div></div></div></div></div></div></div></div></div>\n</div>\n",
          "text": "how much would it cost to ship 7 bottles to TX?\n",
          "textAsHtml": "<p>how much would it cost to ship 7 bottles to TX?</p>",
          "subject": "shipping cost",
          "date": "2025-02-27T01:51:46.000Z",
          "to": {
            "value": [
              {
                "address": "cheers@newvintagelabs.com",
                "name": ""
              }
            ],
            "html": "<span class=\"mp_address_group\"><a href=\"mailto:cheers@newvintagelabs.com\" class=\"mp_address_email\">cheers@newvintagelabs.com</a></span>",
            "text": "cheers@newvintagelabs.com"
          },
          "from": {
            "value": [
              {
                "address": "st.mok4@gmail.com",
                "name": "Stephen Mok"
              }
            ],
            "html": "<span class=\"mp_address_group\"><span class=\"mp_address_name\">Stephen Mok</span> &lt;<a href=\"mailto:st.mok4@gmail.com\" class=\"mp_address_email\">st.mok4@gmail.com</a>&gt;</span>",
            "text": "\"Stephen Mok\" <st.mok4@gmail.com>"
          },
          "messageId": "<CAEdMjeuV09duALRbNqktaJ4dmSAftoAT4DuNX9By_5EZW14nBQ@mail.gmail.com>"
        }
      }
    ]
  },
  "connections": {
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Text Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Text Classifier": {
      "main": [
        [
          {
            "node": "sales_label",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "support1_label",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "support2_label",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "support3_label",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "events_label",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "other",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "sales_label": {
      "main": [
        [
          {
            "node": "draft_sales",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "support1_label": {
      "main": [
        [
          {
            "node": "draft_support1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "support2_label": {
      "main": [
        [
          {
            "node": "draft_support2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "support3_label": {
      "main": [
        [
          {
            "node": "draft_support3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "events_label": {
      "main": [
        [
          {
            "node": "draft_events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Text Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail": {
      "main": [
        [
          {
            "node": "support_2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail1": {
      "main": [
        [
          {
            "node": "support_1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail2": {
      "main": [
        [
          {
            "node": "Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail3": {
      "main": [
        [
          {
            "node": "events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail4": {
      "main": [
        [
          {
            "node": "sales",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "draft_support1": {
      "main": [
        [
          {
            "node": "Gmail1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "draft_support3": {
      "main": [
        [
          {
            "node": "Gmail2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "draft_events": {
      "main": [
        [
          {
            "node": "Gmail3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "draft_sales": {
      "main": [
        [
          {
            "node": "Gmail4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack": {
      "main": [
        [
          {
            "node": "support_3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Default Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "Download File From Google Drive": {
      "main": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive File Updated": {
      "main": [
        [
          {
            "node": "Download File From Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive File Created": {
      "main": [
        [
          {
            "node": "Download File From Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "draft_support2": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI2": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store2",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Pinecone Vector Store2": {
      "ai_tool": [
        [
          {
            "node": "draft_support2",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "draft_support1",
            "type": "ai_tool",
            "index": 0
          },
          {
            "node": "draft_support3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI1": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Pinecone Vector Store": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "8d613d1d-ab2d-4797-b082-da80b63d852c",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "6eaef2e0dd1722014405b8e338137e543d650e0b5715de901864c286230add5f"
  },
  "id": "gpFZ9xSMhPRYxjnC",
  "tags": [
    {
      "createdAt": "2025-02-19T23:42:04.824Z",
      "updatedAt": "2025-02-19T23:42:04.824Z",
      "id": "82CFZSSTWOjXl7NB",
      "name": "build_together"
    }
  ]
}