feat: add folder support for workflows (fixes #70)

This commit is contained in:
Praveen Mudalgeri
2025-08-05 09:40:47 +05:30
parent 307d530f9b
commit c4885eee92
2057 changed files with 985290 additions and 974268 deletions

View File

@@ -0,0 +1,774 @@
{
"id": "4aKofiCShqdDSsIS",
"meta": {
"instanceId": "05578cf7a897ec6100e0a45f52bd1e8b9130ac799ebd6a9ebe3531f9bd89fc01",
"templateId": "3181"
},
"name": "Import Odoo Product Images from Google Drive",
"tags": [],
"nodes": [
{
"id": "690beab3-2e3a-4426-9e90-fde834cb2c72",
"name": "Filter Images",
"type": "n8n-nodes-base.filter",
"position": [
820,
340
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "or",
"conditions": [
{
"id": "bb0df6d8-525b-4054-9340-4400ddd40c81",
"operator": {
"type": "string",
"operation": "endsWith"
},
"leftValue": "={{ $json.name }}",
"rightValue": ".png"
},
{
"id": "8ebcb3fb-dd64-40f6-94c9-5b13021847d9",
"operator": {
"type": "string",
"operation": "endsWith"
},
"leftValue": "={{ $json.name }}",
"rightValue": ".jpg"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "6fec7062-3f85-4ce0-86cd-6ac4f1169192",
"name": "Find Files",
"type": "n8n-nodes-base.googleDrive",
"position": [
600,
340
],
"parameters": {
"filter": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "0AGL-iqy2wxM8Uk9PVA",
"cachedResultUrl": "https://drive.google.com/drive/folders/0AGL-iqy2wxM8Uk9PVA",
"cachedResultName": "Middleware"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1VG-7mRW8tsmJelW5FTeoj2jXeObMvan6",
"cachedResultUrl": "https://drive.google.com/drive/folders/1VG-7mRW8tsmJelW5FTeoj2jXeObMvan6",
"cachedResultName": "input"
}
},
"options": {},
"resource": "fileFolder",
"returnAll": true
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "HTm4uAxSPW7DoxGv",
"name": "Google Drive Administrator"
}
},
"typeVersion": 3
},
{
"id": "10eb5837-9808-4e71-9bfd-82eb788e036b",
"name": "Decorate Images",
"type": "n8n-nodes-base.code",
"position": [
1040,
340
],
"parameters": {
"jsCode": "for (const item of $input.all()) {\n let parts = item.json.name.split('.').slice(0, -1).join('.').split('_');\n item.json.model = parts[0];\n item.json.sku = parts.slice(1).join('_');\n}\n\nreturn $input.all();\n"
},
"typeVersion": 2
},
{
"id": "dc2d4e62-2b34-4f07-8ae9-aa2d7b169085",
"name": "Switch",
"type": "n8n-nodes-base.switch",
"position": [
1260,
40
],
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e1d26dbe-1855-4d62-8061-43a7d56c2705",
"operator": {
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.model }}",
"rightValue": "template"
}
]
}
},
{
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "b7c889f6-d84a-4573-b7ba-35e51405bf94",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.model }}",
"rightValue": "product"
}
]
}
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "1c7d98b0-ea85-4841-8764-e3d3b8369a11",
"name": "Move Images",
"type": "n8n-nodes-base.googleDrive",
"position": [
1260,
540
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"driveId": {
"__rl": true,
"mode": "list",
"value": "0AAaxIiOTPGeCUk9PVA",
"cachedResultUrl": "https://drive.google.com/drive/folders/0AAaxIiOTPGeCUk9PVA",
"cachedResultName": "Middleware"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1NqxzbwarAZ1BtkoyM-T8NNcO5m_cmO1V",
"cachedResultUrl": "https://drive.google.com/drive/folders/1NqxzbwarAZ1BtkoyM-T8NNcO5m_cmO1V",
"cachedResultName": "done"
},
"operation": "move"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "HTm4uAxSPW7DoxGv",
"name": "Google Drive Administrator"
}
},
"typeVersion": 3
},
{
"id": "29444363-00f7-427c-b377-e3c453e80e8f",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
380,
440
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 10
}
]
}
},
"typeVersion": 1.2
},
{
"id": "fc675661-ee5c-47d6-abe5-40c15f92bcda",
"name": "Sum Images",
"type": "n8n-nodes-base.summarize",
"position": [
1480,
540
],
"parameters": {
"options": {},
"fieldsToSummarize": {
"values": [
{
"field": "id"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "287704cf-b3bb-4ac7-9e37-5577eb33df8f",
"name": "Announce",
"type": "n8n-nodes-base.googleChat",
"position": [
1700,
540
],
"webhookId": "a1b21478-fbd9-49e7-9e0c-cdf86048d038",
"parameters": {
"spaceId": "spaces/AAAAt6xI1aY",
"messageUi": {
"text": "=Product images done onto Google Drive (total : {{ $json.count_id }})."
},
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"googleChatOAuth2Api": {
"id": "Gv5dSRXyRjQcwRph",
"name": "Google Chat Administrator"
}
},
"typeVersion": 1
},
{
"id": "e41ebdd1-3841-482b-864d-6534db92ba74",
"name": "Find Templates",
"type": "n8n-nodes-base.odoo",
"position": [
1480,
-60
],
"parameters": {
"limit": 1,
"options": {
"fieldsList": [
"id"
]
},
"resource": "custom",
"operation": "getAll",
"filterRequest": {
"filter": [
{
"value": "={{ $json.sku }}",
"fieldName": "default_code"
}
]
},
"customResource": "product.template"
},
"credentials": {
"odooApi": {
"id": "eTbK0f2MmAZsrOtT",
"name": "Odoo AArtIntelligent"
}
},
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "86e0145e-9701-4af4-a5a6-d9f4f77d6115",
"name": "Download Images Templates",
"type": "n8n-nodes-base.googleDrive",
"position": [
1700,
-60
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $('Filter Images').item.json.id }}"
},
"options": {
"binaryPropertyName": "data"
},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "HTm4uAxSPW7DoxGv",
"name": "Google Drive Administrator"
}
},
"typeVersion": 3
},
{
"id": "6132ae9b-d82d-4aa5-9f42-8a0e975b5485",
"name": "Update Images Templates",
"type": "n8n-nodes-base.odoo",
"position": [
2140,
-60
],
"parameters": {
"resource": "custom",
"operation": "update",
"customResource": "product.template",
"customResourceId": "={{ $('Find Templates').item.json.id }}",
"fieldsToCreateOrUpdate": {
"fields": [
{
"fieldName": "image_1920",
"fieldValue": "={{ $json.data }}"
},
{
"fieldName": "image_1024",
"fieldValue": "={{ $json.data }}"
},
{
"fieldName": "image_512",
"fieldValue": "={{ $json.data }}"
},
{
"fieldName": "image_256",
"fieldValue": "={{ $json.data }}"
},
{
"fieldName": "image_128",
"fieldValue": "={{ $json.data }}"
}
]
}
},
"credentials": {
"odooApi": {
"id": "eTbK0f2MmAZsrOtT",
"name": "Odoo AArtIntelligent"
}
},
"typeVersion": 1
},
{
"id": "1dbfc15a-fec4-416f-8286-e16672a78e1f",
"name": "Find Products",
"type": "n8n-nodes-base.odoo",
"position": [
1480,
140
],
"parameters": {
"limit": 1,
"options": {
"fieldsList": [
"id"
]
},
"resource": "custom",
"operation": "getAll",
"filterRequest": {
"filter": [
{
"value": "={{ $json.sku }}",
"fieldName": "default_code"
}
]
},
"customResource": "product.product"
},
"credentials": {
"odooApi": {
"id": "eTbK0f2MmAZsrOtT",
"name": "Odoo AArtIntelligent"
}
},
"typeVersion": 1
},
{
"id": "8963a175-6bf7-4101-8748-cd11e1a77e0a",
"name": "Download Images Products",
"type": "n8n-nodes-base.googleDrive",
"position": [
1700,
140
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $('Filter Images').item.json.id }}"
},
"options": {
"binaryPropertyName": "data"
},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "HTm4uAxSPW7DoxGv",
"name": "Google Drive Administrator"
}
},
"typeVersion": 3
},
{
"id": "8ee836a9-f962-426e-9fe2-c989b3da8a3b",
"name": "Update Images Products",
"type": "n8n-nodes-base.odoo",
"position": [
2140,
140
],
"parameters": {
"resource": "custom",
"operation": "update",
"customResource": "product.product",
"customResourceId": "={{ $('Find Products').item.json.id }}",
"fieldsToCreateOrUpdate": {
"fields": [
{
"fieldName": "image_1920",
"fieldValue": "={{ $json.data }}"
},
{
"fieldName": "image_1024",
"fieldValue": "={{ $json.data }}"
},
{
"fieldName": "image_512",
"fieldValue": "={{ $json.data }}"
},
{
"fieldName": "image_256",
"fieldValue": "={{ $json.data }}"
},
{
"fieldName": "image_128",
"fieldValue": "={{ $json.data }}"
}
]
}
},
"credentials": {
"odooApi": {
"id": "eTbK0f2MmAZsrOtT",
"name": "Odoo AArtIntelligent"
}
},
"typeVersion": 1
},
{
"id": "4c2d03c6-896a-4f5f-ae23-68717aa50697",
"name": "Convert Base64 Images Templates",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1920,
-60
],
"parameters": {
"options": {},
"operation": "binaryToPropery"
},
"typeVersion": 1
},
{
"id": "0a894d9e-8021-46c9-a9c1-399d7a56546d",
"name": "Convert Base64 Images Products",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1920,
140
],
"parameters": {
"options": {},
"operation": "binaryToPropery"
},
"typeVersion": 1
},
{
"id": "a618d02d-fe52-42ab-9d62-1c263992ac24",
"name": "Search Old Images",
"type": "n8n-nodes-base.googleDrive",
"position": [
1260,
340
],
"parameters": {
"filter": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "0AAaxIiOTPGeCUk9PVA",
"cachedResultUrl": "https://drive.google.com/drive/folders/0AAaxIiOTPGeCUk9PVA",
"cachedResultName": "Middleware"
},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1NqxzbwarAZ1BtkoyM-T8NNcO5m_cmO1V",
"cachedResultUrl": "https://drive.google.com/drive/folders/1NqxzbwarAZ1BtkoyM-T8NNcO5m_cmO1V",
"cachedResultName": "done"
}
},
"options": {},
"resource": "fileFolder",
"queryString": "={{ $('Filter Images').item.json.name }}"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "HTm4uAxSPW7DoxGv",
"name": "Google Drive Administrator"
}
},
"typeVersion": 3
},
{
"id": "cd82a937-7129-4baf-9515-41ab5aef497d",
"name": "Drop Old Images",
"type": "n8n-nodes-base.googleDrive",
"position": [
1480,
340
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"options": {},
"operation": "deleteFile"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "HTm4uAxSPW7DoxGv",
"name": "Google Drive Administrator"
}
},
"typeVersion": 3
},
{
"id": "b134c298-989c-460e-8caf-497ccbea53cd",
"name": "Click Manual",
"type": "n8n-nodes-base.manualTrigger",
"position": [
380,
240
],
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {},
"versionId": "b98c3b1d-52f1-4dd2-b204-892bb96b1b8a",
"connections": {
"Switch": {
"main": [
[
{
"node": "Find Templates",
"type": "main",
"index": 0
}
],
[
{
"node": "Find Products",
"type": "main",
"index": 0
}
]
]
},
"Find Files": {
"main": [
[
{
"node": "Filter Images",
"type": "main",
"index": 0
}
]
]
},
"Sum Images": {
"main": [
[
{
"node": "Announce",
"type": "main",
"index": 0
}
]
]
},
"Move Images": {
"main": [
[
{
"node": "Sum Images",
"type": "main",
"index": 0
}
]
]
},
"Click Manual": {
"main": [
[
{
"node": "Find Files",
"type": "main",
"index": 0
}
]
]
},
"Filter Images": {
"main": [
[
{
"node": "Decorate Images",
"type": "main",
"index": 0
}
]
]
},
"Find Products": {
"main": [
[
{
"node": "Download Images Products",
"type": "main",
"index": 0
}
]
]
},
"Find Templates": {
"main": [
[
{
"node": "Download Images Templates",
"type": "main",
"index": 0
}
]
]
},
"Decorate Images": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
},
{
"node": "Move Images",
"type": "main",
"index": 0
},
{
"node": "Search Old Images",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Find Files",
"type": "main",
"index": 0
}
]
]
},
"Search Old Images": {
"main": [
[
{
"node": "Drop Old Images",
"type": "main",
"index": 0
}
]
]
},
"Download Images Products": {
"main": [
[
{
"node": "Convert Base64 Images Products",
"type": "main",
"index": 0
}
]
]
},
"Download Images Templates": {
"main": [
[
{
"node": "Convert Base64 Images Templates",
"type": "main",
"index": 0
}
]
]
},
"Convert Base64 Images Products": {
"main": [
[
{
"node": "Update Images Products",
"type": "main",
"index": 0
}
]
]
},
"Convert Base64 Images Templates": {
"main": [
[
{
"node": "Update Images Templates",
"type": "main",
"index": 0
}
]
]
}
}
}

View File

@@ -0,0 +1,495 @@
{
"id": "n8cwEZfJLGn15Lqx",
"meta": {
"instanceId": "d40a25503b797861fe81ffcf2649da2a83b8677ac1ef2ee6b6872aa9b52454b8",
"templateCredsSetupCompleted": true
},
"name": "ERP AI chatbot for Odoo sales module",
"tags": [],
"nodes": [
{
"id": "abe58519-f3fe-4438-b6d6-d67071c70f0b",
"name": "Window Buffer Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
1360,
700
],
"parameters": {
"sessionKey": "={{ $('Chat Trigger').item.json.sessionId }}",
"sessionIdType": "customKey"
},
"typeVersion": 1.2
},
{
"id": "35b63108-e40d-494f-a0dc-5c8ea296c75f",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1240,
700
],
"parameters": {
"options": {}
},
"credentials": {
"openAiApi": {
"id": "8F3dAS1qjFM6mYbD",
"name": "OpenAi account"
}
},
"typeVersion": 1
},
{
"id": "91ff893c-917d-46c2-b27d-48e9799452a6",
"name": "Calculator",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
1480,
700
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b9c10744-c5b8-4949-a80f-d331746632fb",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
220,
180
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2
},
{
"id": "4fa016bf-3f4c-4bfd-8c11-0270002de533",
"name": "Convert to File",
"type": "n8n-nodes-base.convertToFile",
"position": [
1480,
180
],
"parameters": {
"options": {},
"operation": "toText",
"sourceProperty": "response.text"
},
"typeVersion": 1.1
},
{
"id": "f9f0f1ed-7ccf-4c97-8d28-91399b2a4440",
"name": "Save Summary to File",
"type": "n8n-nodes-base.readWriteFile",
"position": [
1700,
180
],
"parameters": {
"options": {
"append": false
},
"fileName": "cache.txt",
"operation": "write"
},
"typeVersion": 1
},
{
"id": "e9715c9d-7ebb-4f8c-b44e-a2ee69bf9618",
"name": "Get All Opportunities from Odoo",
"type": "n8n-nodes-base.odoo",
"position": [
460,
180
],
"parameters": {
"options": {
"fieldsList": [
"won_status",
"description",
"email_from",
"contact_name",
"expected_revenue"
]
},
"resource": "opportunity",
"operation": "getAll",
"returnAll": true
},
"credentials": {
"odooApi": {
"id": "5XAxrqqPxY5dzcoP",
"name": "Odoo account"
}
},
"typeVersion": 1
},
{
"id": "23b82fdb-656f-497f-84eb-4296581245ac",
"name": "Read Summary From File",
"type": "n8n-nodes-base.readWriteFile",
"position": [
540,
540
],
"parameters": {
"options": {},
"fileSelector": "cache.txt"
},
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "8d702c53-9001-4f71-80c4-17786384caf0",
"name": "If Summary Exists",
"type": "n8n-nodes-base.if",
"position": [
760,
540
],
"parameters": {
"options": {},
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "c65a538f-f6c8-41ff-bad3-a631a5063cbb",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.fileName }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2
},
{
"id": "4007d6e3-2d6f-4edd-afee-7df3c7dd5236",
"name": "Merge Opportunities",
"type": "n8n-nodes-base.aggregate",
"position": [
700,
180
],
"parameters": {
"options": {},
"aggregate": "aggregateAllItemData"
},
"typeVersion": 1
},
{
"id": "604de791-8351-47ed-897d-2b7fe7f0aa99",
"name": "Extract Text From File",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1020,
520
],
"parameters": {
"options": {},
"operation": "text"
},
"typeVersion": 1
},
{
"id": "ab68228c-7d02-4d36-8c43-10a387dc3085",
"name": "AI Conversational Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1240,
520
],
"parameters": {
"text": "={{ $('Chat Trigger').item.json.chatInput }}",
"agent": "conversationalAgent",
"options": {
"humanMessage": "=TOOLS\n------\nAssistant can ask the user to use tools to look up information that may be helpful in answering the users original question. The tools the human can use are:\n\n{tools}\n\n{format_instructions}\n\nAnswer questions using only the following context: {{ $json.data }}.\n\n\nUSER'S INPUT\n--------------------\nHere is the user's input (remember to respond with a markdown code snippet of a json blob with a single action, and NOTHING else):\n\n{{input}} "
},
"promptType": "define"
},
"typeVersion": 1.6
},
{
"id": "117af37c-7dda-4bba-a008-d67c876efa9d",
"name": "Summarize Opportunities",
"type": "@n8n/n8n-nodes-langchain.chainSummarization",
"position": [
1020,
60
],
"parameters": {
"options": {
"summarizationMethodAndPrompts": {
"values": {
"prompt": "=Write a summary of the following:\n\n\n{{ JSON.stringify($json.data) }}\n\nInclude important information such as won status and expected revenue for each opportunity. Also include a short description of each oppotunity and keep opportunities separate.\n\nCONCISE SUMMARY: ",
"combineMapPrompt": "=Write a summary of the following:\n\n{{ JSON.stringify($json.data) }}\n\nInclude important information such as won status and expected revenue for each opportunity. Also include a short description of each oppotunity and keep opportunities separate.\n\nCONCISE SUMMARY: "
}
}
}
},
"typeVersion": 2
},
{
"id": "e6ae17c7-15db-4c9d-9ce9-4748eaf84359",
"name": "OpenAI Summarization Model",
"type": "@n8n/n8n-nodes-langchain.lmOpenAi",
"position": [
1000,
220
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4-turbo",
"cachedResultName": "gpt-4-turbo"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "8F3dAS1qjFM6mYbD",
"name": "OpenAi account"
}
},
"typeVersion": 1
},
{
"id": "0e3a0b55-62d0-43d0-a744-a7b7ab05c087",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
-160
],
"parameters": {
"width": 446.44549763033154,
"height": 261.8821936357484,
"content": "# ERP chatbot for Odoo sales module\n\nSet up steps:\n* Configure the Odoo credentials\n* Configure OpenAI credentials\n* Toggle \"Make Chat Publicly Available\" from the Chat Trigger node."
},
"typeVersion": 1
},
{
"id": "b9169b8d-7ff6-403f-b354-511c23d5da1c",
"name": "Chat Trigger",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
220,
540
],
"webhookId": "09eea368-b78f-4209-9750-f28b706363c2",
"parameters": {
"public": true,
"options": {}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {
"Get All Opportunities from Odoo": [
{
"json": {
"id": 6,
"email_from": "contact@mihai.ltd",
"won_status": "won",
"description": "<p data-last-history-steps=\"1224754175503363,660472183033793\">\nAlex Mason, Procurement Manager at Innovative Solutions Inc., initially expressed strong interest in CloudConnect Pro for upcoming projects. They were impressed with its capabilities in cloud integration, data management, and flexibility. After successful discussions and negotiations, NovaTech Enterprises signed a contract for $19,000 to implement CloudConnect Pro for their enterprise-level needs. Project onboarding and deployment were completed successfully.\n\n<br></p>",
"contact_name": false,
"expected_revenue": 19000
}
},
{
"json": {
"id": 5,
"email_from": "contact@mihai.ltd",
"won_status": "pending",
"description": "<p>Mihai Farcas, Procurement Manager at Innovative Solutions Inc, is interested in incorporating CloudConnect Pro platform into their upcoming projects. They are impressed by its capabilities in cloud integration, data management, and flexibility. They request detailed information on pricing, implementation options, support services, and case studies for enterprise-level deployments. They are eager to learn more and hope for a mutually beneficial partnership. </p>",
"contact_name": false,
"expected_revenue": 17000
}
}
]
},
"settings": {
"executionOrder": "v1"
},
"versionId": "315972c0-e19d-4978-88ea-9fe721de3631",
"connections": {
"Calculator": {
"ai_tool": [
[
{
"node": "AI Conversational Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Chat Trigger": {
"main": [
[
{
"node": "Read Summary From File",
"type": "main",
"index": 0
}
]
]
},
"Convert to File": {
"main": [
[
{
"node": "Save Summary to File",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Get All Opportunities from Odoo",
"type": "main",
"index": 0
}
]
]
},
"If Summary Exists": {
"main": [
[
{
"node": "Extract Text From File",
"type": "main",
"index": 0
}
],
[
{
"node": "Get All Opportunities from Odoo",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Conversational Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Merge Opportunities": {
"main": [
[
{
"node": "Summarize Opportunities",
"type": "main",
"index": 0
}
]
]
},
"Save Summary to File": {
"main": [
[
{
"node": "Read Summary From File",
"type": "main",
"index": 0
}
]
]
},
"Window Buffer Memory": {
"ai_memory": [
[
{
"node": "AI Conversational Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Extract Text From File": {
"main": [
[
{
"node": "AI Conversational Agent",
"type": "main",
"index": 0
}
]
]
},
"Read Summary From File": {
"main": [
[
{
"node": "If Summary Exists",
"type": "main",
"index": 0
}
]
]
},
"Summarize Opportunities": {
"main": [
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Summarization Model": {
"ai_languageModel": [
[
{
"node": "Summarize Opportunities",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Get All Opportunities from Odoo": {
"main": [
[
{
"node": "Merge Opportunities",
"type": "main",
"index": 0
}
]
]
}
}
}