Files
n8n-free-templates/Travel/travel_itinerary_builder.json
jayanth 04cb5e1fc6 main
2025-05-19 01:08:15 -05:00

299 lines
5.9 KiB
JSON

{
"name": "Travel Itinerary Builder",
"nodes": [
{
"parameters": {
"content": "## Travel Itinerary Builder",
"height": 520,
"width": 1100
},
"id": "10740118-8e03-4ff7-bb9f-6045e8b852a6",
"name": "Sticky",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-500,
-250
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "travel_itinerary_builder"
},
"id": "41299a24-30dd-4e7c-ab6e-54839ecc7ec8",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
-300,
0
]
},
{
"parameters": {
"chunkSize": 400,
"chunkOverlap": 40
},
"id": "498deabf-f6a6-4538-a7c1-8484fbc355d0",
"name": "Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"typeVersion": 1,
"position": [
-100,
0
]
},
{
"parameters": {
"model": "default"
},
"id": "81de715b-99e2-4fed-a9b7-bf59fdc0c6e0",
"name": "Embeddings",
"type": "@n8n/n8n-nodes-langchain.embeddingsCohere",
"typeVersion": 1,
"position": [
100,
0
],
"credentials": {
"cohereApi": {
"id": "COHERE_API",
"name": "Cohere"
}
}
},
{
"parameters": {
"mode": "insert",
"indexName": "travel_itinerary_builder"
},
"id": "aab7e17f-881f-4f94-810b-eae10cde713b",
"name": "Insert",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"typeVersion": 1,
"position": [
300,
0
],
"credentials": {
"supabaseApi": {
"id": "SUPABASE_API",
"name": "Supabase account"
}
}
},
{
"parameters": {
"indexName": "travel_itinerary_builder"
},
"id": "54b1625f-cd03-489c-80bf-e55862388124",
"name": "Query",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"typeVersion": 1,
"position": [
300,
-180
],
"credentials": {
"supabaseApi": {
"id": "SUPABASE_API",
"name": "Supabase account"
}
}
},
{
"parameters": {
"name": "Supabase"
},
"id": "5c920c0a-df2a-47df-b696-acb093a4f421",
"name": "Tool",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"typeVersion": 1,
"position": [
480,
-180
]
},
{
"parameters": {},
"id": "de0168af-87f9-48f8-b4cf-c1529e73bdcf",
"name": "Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
480,
-40
]
},
{
"parameters": {},
"id": "ee01524b-3535-4671-8a46-a2abc55e4dfe",
"name": "Chat",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"typeVersion": 1,
"position": [
480,
-340
],
"credentials": {
"openAiApi": {
"id": "OPENAI_API",
"name": "OpenAI"
}
}
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json }}"
},
"id": "ebaef4fb-bc83-43d1-8efd-58c78c2f5012",
"name": "Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1,
"position": [
760,
-40
]
},
{
"parameters": {
"operation": "append",
"documentId": "SHEET_ID",
"sheetName": "Log"
},
"id": "6aaf624c-940d-41ab-b013-04cc3dc63814",
"name": "Sheet",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4,
"position": [
960,
-40
],
"credentials": {
"googleSheetsOAuth2Api": {
"id": "SHEETS_API",
"name": "Sheets"
}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Splitter",
"type": "main",
"index": 0
},
{
"node": "Memory",
"type": "main",
"index": 0
}
]
]
},
"Splitter": {
"main": [
[
{
"node": "Embeddings",
"type": "main",
"index": 0
}
]
],
"ai_textSplitter": [
[
{
"node": "Insert",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"Embeddings": {
"ai_embedding": [
[
{
"node": "Insert",
"type": "ai_embedding",
"index": 0
},
{
"node": "Query",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Insert": {
"ai_document": [
[]
]
},
"Query": {
"ai_vectorStore": [
[
{
"node": "Tool",
"type": "ai_vectorStore",
"index": 0
}
]
]
},
"Tool": {
"ai_tool": [
[
{
"node": "Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Memory": {
"ai_memory": [
[
{
"node": "Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Chat": {
"ai_languageModel": [
[
{
"node": "Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Agent": {
"main": [
[
{
"node": "Sheet",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}