n8n-free-templates/Media/content_idea_brainstormer.json
2025-05-19 01:08:15 -05:00

299 lines
5.9 KiB
JSON

{
"name": "Content Idea Brainstormer",
"nodes": [
{
"parameters": {
"content": "## Content Idea Brainstormer",
"height": 520,
"width": 1100
},
"id": "bb42db96-13a5-44e7-af1b-e6e11b76cf74",
"name": "Sticky",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-500,
-250
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "content_idea_brainstormer"
},
"id": "e6c6bc62-818c-46b8-877f-ae4c812daa94",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
-300,
0
]
},
{
"parameters": {
"chunkSize": 400,
"chunkOverlap": 40
},
"id": "0b4c4b2a-b95e-4080-b908-5851357ed0e2",
"name": "Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"typeVersion": 1,
"position": [
-100,
0
]
},
{
"parameters": {
"model": "default"
},
"id": "14ad7f23-10af-41f6-ab29-37f382175fc3",
"name": "Embeddings",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"typeVersion": 1,
"position": [
100,
0
],
"credentials": {
"openAiApi": {
"id": "OPENAI_API",
"name": "OpenAI"
}
}
},
{
"parameters": {
"mode": "insert",
"indexName": "content_idea_brainstormer"
},
"id": "4b787c22-2dca-4c15-9572-0ff8991d2220",
"name": "Insert",
"type": "@n8n/n8n-nodes-langchain.vectorStoreRedis",
"typeVersion": 1,
"position": [
300,
0
],
"credentials": {
"redisApi": {
"id": "REDIS_API",
"name": "Redis account"
}
}
},
{
"parameters": {
"indexName": "content_idea_brainstormer"
},
"id": "10f96194-129a-4ce5-9657-23301c80bfe8",
"name": "Query",
"type": "@n8n/n8n-nodes-langchain.vectorStoreRedis",
"typeVersion": 1,
"position": [
300,
-180
],
"credentials": {
"redisApi": {
"id": "REDIS_API",
"name": "Redis account"
}
}
},
{
"parameters": {
"name": "Redis"
},
"id": "8ef28b27-506c-4ac2-b816-65ac3d702ddc",
"name": "Tool",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"typeVersion": 1,
"position": [
480,
-180
]
},
{
"parameters": {},
"id": "68b965ee-3149-4632-9f2e-0d918944d13e",
"name": "Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
480,
-40
]
},
{
"parameters": {},
"id": "9504e336-55bd-42b9-afd6-78b0fc0be206",
"name": "Chat",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"typeVersion": 1,
"position": [
480,
-340
],
"credentials": {
"anthropicApi": {
"id": "ANTHROPIC_API",
"name": "Anthropic"
}
}
},
{
"parameters": {
"promptType": "define",
"text": "={{ $json }}"
},
"id": "5b9c91e5-ccd0-447c-b14e-1409738a3a2c",
"name": "Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 1,
"position": [
760,
-40
]
},
{
"parameters": {
"operation": "append",
"documentId": "SHEET_ID",
"sheetName": "Log"
},
"id": "43f9428f-3874-436f-94c5-45e5a692d696",
"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"
}
}