mirror of
https://github.com/wassupjay/n8n-free-templates.git
synced 2025-12-29 16:14:46 +00:00
main_commit
This commit is contained in:
355
Misc/starred_slack_to_notion.json
Normal file
355
Misc/starred_slack_to_notion.json
Normal file
@@ -0,0 +1,355 @@
|
||||
{
|
||||
"name": "Starred Slack to Notion",
|
||||
"nodes": [
|
||||
{
|
||||
"parameters": {
|
||||
"content": "Automated workflow: Starred Slack to Notion",
|
||||
"height": 530,
|
||||
"width": 1100,
|
||||
"color": 5
|
||||
},
|
||||
"id": "3394fb98-3259-414f-bc1e-a478f9bb48ce",
|
||||
"name": "Sticky Note",
|
||||
"type": "n8n-nodes-base.stickyNote",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-480,
|
||||
-240
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"httpMethod": "POST",
|
||||
"path": "starred-slack-to-notion"
|
||||
},
|
||||
"id": "634c2549-c8a7-4ed6-9f8f-286ac52e728e",
|
||||
"name": "Webhook Trigger",
|
||||
"type": "n8n-nodes-base.webhook",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-300,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"chunkSize": 400,
|
||||
"chunkOverlap": 40
|
||||
},
|
||||
"id": "496b5b4a-59fb-48d9-834c-8e43123d4f40",
|
||||
"name": "Text Splitter",
|
||||
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
-130,
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"model": "embed-english-v3.0",
|
||||
"options": {}
|
||||
},
|
||||
"id": "86d40b9f-1b53-4751-a02f-6fc7cda4543c",
|
||||
"name": "Embeddings",
|
||||
"type": "@n8n/n8n-nodes-langchain.embeddingsCohere",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
70,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"cohereApi": {
|
||||
"id": "COHERE_API",
|
||||
"name": "Cohere"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"mode": "insert",
|
||||
"options": {},
|
||||
"indexName": "starred_slack_to_notion"
|
||||
},
|
||||
"id": "d83c9acd-dd15-4965-b024-51acdea5d1be",
|
||||
"name": "Weaviate Insert",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
0
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"indexName": "starred_slack_to_notion"
|
||||
},
|
||||
"id": "41eed679-dece-4a2c-96ea-8a97076c3429",
|
||||
"name": "Weaviate Query",
|
||||
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
270,
|
||||
-180
|
||||
],
|
||||
"credentials": {
|
||||
"weaviateApi": {
|
||||
"id": "WEAVIATE_API",
|
||||
"name": "Weaviate account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"name": "Weaviate",
|
||||
"description": "Vector context"
|
||||
},
|
||||
"id": "efc47245-60b6-4692-84aa-1a2a0c0c1324",
|
||||
"name": "Vector Tool",
|
||||
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-180
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {},
|
||||
"id": "1c9592de-238c-492a-9a0c-87390d366956",
|
||||
"name": "Window Memory",
|
||||
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
|
||||
"typeVersion": 1.3,
|
||||
"position": [
|
||||
450,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"options": {}
|
||||
},
|
||||
"id": "eab396da-9252-4a29-964c-0aa3abac4044",
|
||||
"name": "Chat Model",
|
||||
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
450,
|
||||
-340
|
||||
],
|
||||
"credentials": {
|
||||
"openAiApi": {
|
||||
"id": "OPENAI_API",
|
||||
"name": "OpenAI"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"promptType": "define",
|
||||
"text": "Process the following data for task 'Starred Slack to Notion':\n\n{{ $json }}",
|
||||
"options": {
|
||||
"systemMessage": "You are an assistant for Starred Slack to Notion"
|
||||
}
|
||||
},
|
||||
"id": "103d9ff8-a291-46fc-aa5b-fbdef7f6c61d",
|
||||
"name": "RAG Agent",
|
||||
"type": "@n8n/n8n-nodes-langchain.agent",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
720,
|
||||
-40
|
||||
]
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"operation": "append",
|
||||
"documentId": {
|
||||
"__rl": true,
|
||||
"value": "SHEET_ID",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Starred Slack to Notion"
|
||||
},
|
||||
"sheetName": {
|
||||
"__rl": true,
|
||||
"value": "Log",
|
||||
"mode": "list",
|
||||
"cachedResultName": "Log"
|
||||
},
|
||||
"columns": {
|
||||
"mappingMode": "defineBelow",
|
||||
"value": {
|
||||
"Status": "={{$json[\"RAG Agent\"].text}}"
|
||||
},
|
||||
"schema": []
|
||||
}
|
||||
},
|
||||
"id": "0af20245-042c-4192-beb1-915218f01f11",
|
||||
"name": "Append Sheet",
|
||||
"type": "n8n-nodes-base.googleSheets",
|
||||
"typeVersion": 4,
|
||||
"position": [
|
||||
930,
|
||||
-40
|
||||
],
|
||||
"credentials": {
|
||||
"googleSheetsOAuth2Api": {
|
||||
"id": "SHEETS_API",
|
||||
"name": "Google Sheets account"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"channel": "#alerts",
|
||||
"text": "Starred Slack to Notion error: {$json.error.message}"
|
||||
},
|
||||
"id": "a765761c-52d0-4e72-a26f-9fd514a9a2b1",
|
||||
"name": "Slack Alert",
|
||||
"type": "n8n-nodes-base.slack",
|
||||
"typeVersion": 1,
|
||||
"position": [
|
||||
930,
|
||||
120
|
||||
],
|
||||
"credentials": {
|
||||
"slackApi": {
|
||||
"id": "SLACK_API",
|
||||
"name": "Slack"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"Webhook Trigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Text Splitter",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Window Memory",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Text Splitter": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Embeddings",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
],
|
||||
"ai_textSplitter": [
|
||||
[
|
||||
{
|
||||
"node": "Weaviate Insert",
|
||||
"type": "ai_textSplitter",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Embeddings": {
|
||||
"ai_embedding": [
|
||||
[
|
||||
{
|
||||
"node": "Weaviate Insert",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"node": "Weaviate Query",
|
||||
"type": "ai_embedding",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Weaviate Insert": {
|
||||
"ai_document": [
|
||||
[]
|
||||
]
|
||||
},
|
||||
"Weaviate Query": {
|
||||
"ai_vectorStore": [
|
||||
[
|
||||
{
|
||||
"node": "Vector Tool",
|
||||
"type": "ai_vectorStore",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Vector Tool": {
|
||||
"ai_tool": [
|
||||
[
|
||||
{
|
||||
"node": "RAG Agent",
|
||||
"type": "ai_tool",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Window Memory": {
|
||||
"ai_memory": [
|
||||
[
|
||||
{
|
||||
"node": "RAG Agent",
|
||||
"type": "ai_memory",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"Chat Model": {
|
||||
"ai_languageModel": [
|
||||
[
|
||||
{
|
||||
"node": "RAG Agent",
|
||||
"type": "ai_languageModel",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"RAG Agent": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "Append Sheet",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
],
|
||||
"onError": [
|
||||
[
|
||||
{
|
||||
"node": "Slack Alert",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"executionOrder": "v1"
|
||||
},
|
||||
"triggerCount": 1
|
||||
}
|
||||
Reference in New Issue
Block a user