Describe the problem/error/question
Workflow wont activate. Testing runs fine…
What is the error message (if any)?
Could not get parameter
Please share your workflow
{
"meta": {
"instanceId": "3c9d086e1b4432a233e23fc2b00e124c83669c674f37f53977c91cfbc2caa542"
},
"nodes": [
{
"parameters": {
"jsonMode": "expressionData",
"jsonData": "={{ $json.data }}",
"options": {
"metadata": {
"metadataValues": [
{
"name": "=file_id",
"value": "={{ $('Set File ID').item.json.file_id }}"
}
]
}
}
},
"id": "d11bb5a1-bfe1-4191-9702-01ed1e8dc5fb",
"name": "Default Data Loader",
"type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
"typeVersion": 1,
"position": [
20,
1060
]
},
{
"parameters": {
"model": "text-embedding-3-small",
"options": {}
},
"id": "bfeb4632-0023-4893-b85a-aef7a087cb1f",
"name": "Embeddings OpenAI1",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"typeVersion": 1,
"position": [
-140,
1100
],
"credentials": {
"openAiApi": {
"id": "P3yMbAyxzA1kXqHK",
"name": "OpenAi account"
}
}
},
{
"parameters": {
"operation": "download",
"fileId": {
"__rl": true,
"value": "={{ $('Set File ID').item.json.file_id }}",
"mode": "id"
},
"options": {
"googleFileConversion": {
"conversion": {
"docsToFormat": "text/plain"
}
}
}
},
"id": "8c0752b2-03b7-4c04-9202-08488ab7036b",
"name": "Download File",
"type": "n8n-nodes-base.googleDrive",
"typeVersion": 3,
"position": [
-540,
860
],
"executeOnce": true,
"credentials": {
"googleDriveOAuth2Api": {
"id": "G2SLe01yLx29VwOL",
"name": "Google Drive account"
}
}
},
{
"parameters": {
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"value": "1dyhYZOnFqAW-_JuHbe8RibzunTvqMPJy",
"mode": "id"
},
"event": "fileCreated",
"options": {
"fileType": "all"
}
},
"id": "235e03e9-b362-4291-9926-efb62d0cb66f",
"name": "File Created",
"type": "n8n-nodes-base.googleDriveTrigger",
"typeVersion": 1,
"position": [
-1060,
920
],
"credentials": {
"googleDriveOAuth2Api": {
"id": "G2SLe01yLx29VwOL",
"name": "Google Drive account"
}
}
},
{
"parameters": {
"operation": "text",
"options": {}
},
"id": "6cac5d8d-88e4-4bf5-a776-9c0f7a14762f",
"name": "Extract Document Text",
"type": "n8n-nodes-base.extractFromFile",
"typeVersion": 1,
"position": [
-360,
960
],
"alwaysOutputData": true
},
{
"parameters": {
"operation": "delete",
"tableId": "documents",
"filterType": "string",
"filterString": "=metadata->>file_id=like.*{{ $json.file_id }}*"
},
"id": "4df481b2-6a3c-4e8d-9d93-6705a7a2e8ac",
"name": "Delete Old Doc Rows",
"type": "n8n-nodes-base.supabase",
"typeVersion": 1,
"position": [
-720,
900
],
"alwaysOutputData": true,
"credentials": {
"supabaseApi": {
"id": "ieqPeDqiyX6Jzbkn",
"name": "SUPABASE Vector Store Demo FAQ Bots"
}
}
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "10646eae-ae46-4327-a4dc-9987c2d76173",
"name": "file_id",
"value": "={{ $json.id }}",
"type": "string"
}
]
},
"options": {}
},
"id": "fcb750c6-b5d7-410c-ad17-03d5db953356",
"name": "Set File ID",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-880,
740
]
},
{
"parameters": {
"options": {}
},
"id": "0256266d-70df-43a9-81a4-3d5cbb3812b2",
"name": "Recursive Character Text Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
"typeVersion": 1,
"position": [
20,
1260
]
},
{
"parameters": {
"mode": "insert",
"tableName": {
"__rl": true,
"value": "documents",
"mode": "list",
"cachedResultName": "documents"
},
"options": {
"queryName": ""
}
},
"id": "ec26d6e3-5cfc-4490-b2cb-022b9116b2b3",
"name": "Insert into Supabase Vectorstore",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"typeVersion": 1,
"position": [
-140,
900
],
"credentials": {
"supabaseApi": {
"id": "B3ZDQ74zStWIg25d",
"name": "Supabase Vector Store"
}
}
}
],
"connections": {
"Default Data Loader": {
"ai_document": [
[
{
"node": "Insert into Supabase Vectorstore",
"type": "ai_document",
"index": 0
}
]
]
},
"Embeddings OpenAI1": {
"ai_embedding": [
[
{
"node": "Insert into Supabase Vectorstore",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Download File": {
"main": [
[
{
"node": "Extract Document Text",
"type": "main",
"index": 0
}
]
]
},
"File Created": {
"main": [
[
{
"node": "Set File ID",
"type": "main",
"index": 0
}
]
]
},
"Extract Document Text": {
"main": [
[
{
"node": "Insert into Supabase Vectorstore",
"type": "main",
"index": 0
}
]
]
},
"Delete Old Doc Rows": {
"main": [
[
{
"node": "Download File",
"type": "main",
"index": 0
}
]
]
},
"Set File ID": {
"main": [
[
{
"node": "Delete Old Doc Rows",
"type": "main",
"index": 0
}
]
]
},
"Recursive Character Text Splitter": {
"ai_textSplitter": [
[
{
"node": "Default Data Loader",
"type": "ai_textSplitter",
"index": 0
}
]
]
}
},
"pinData": {}
}
## Share the output returned by the last node
![screenshot-n8n-nzv5_onrender_com-2024_09_30-20_54_29|690x310](upload://pplmyfjsSKLEvTVNHFy3Qz6nXIq.png)
## Information on your n8n setup
- **n8n version:**
1.57.0
- **Database (default: SQLite):**
- **n8n EXECUTIONS_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
cloud hosted on render
- **Operating system:**
Ubuntu22