n8n-free-templates/Finance_Accounting/paypal_to_airtable.json
2025-05-19 00:56:45 -05:00

353 lines
7.3 KiB
JSON

{
"name": "PayPal to Airtable",
"nodes": [
{
"parameters": {
"content": "Placeholder for PayPal to Airtable",
"height": 530,
"width": 1100,
"color": 5
},
"id": "4dc16bed-a5fc-41a8-879d-887e7cd668f2",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-480,
-240
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "paypal-to-airtable"
},
"id": "e98d9b01-45dc-42d5-96bb-f33ad31c2a4c",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
-300,
0
]
},
{
"parameters": {
"chunkSize": 400,
"chunkOverlap": 40
},
"id": "9e156c78-d969-43b0-8c47-29be47d9e374",
"name": "Text Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"typeVersion": 1,
"position": [
-130,
0
]
},
{
"parameters": {
"model": "text-embedding-3-small",
"options": {}
},
"id": "67173cd7-c563-4e20-894f-4a3bb2a3154d",
"name": "Embeddings",
"type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
"typeVersion": 1,
"position": [
70,
0
],
"credentials": {
"openAiApi": {
"id": "OPENAI_API",
"name": "OpenAI"
}
}
},
{
"parameters": {
"mode": "insert",
"options": {},
"indexName": "paypal_to_airtable"
},
"id": "3273daeb-1fef-4975-bf30-11fe790b7a93",
"name": "Weaviate Insert",
"type": "@n8n/n8n-nodes-langchain.vectorStoreWeaviate",
"typeVersion": 1,
"position": [
270,
0
],
"credentials": {
"weaviateApi": {
"id": "WEAVIATE_API",
"name": "Weaviate account"
}
}
},
{
"parameters": {
"indexName": "paypal_to_airtable"
},
"id": "8319e3d9-ee3c-40d5-9afa-4718d3c475e3",
"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": "16b3f51c-6036-4e62-a49b-d83ce62bc770",
"name": "Vector Tool",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"typeVersion": 1,
"position": [
450,
-180
]
},
{
"parameters": {},
"id": "f3e97b45-2c73-47a2-b969-37fe5cbce0e2",
"name": "Window Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
450,
-40
]
},
{
"parameters": {
"options": {}
},
"id": "141626f4-bf31-4c63-ab83-bde6d05dc0eb",
"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": "Handle data",
"options": {
"systemMessage": "You are an assistant for PayPal to Airtable"
}
},
"id": "ae1ef58d-8ed5-4ffe-bfe4-804a2fd16095",
"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": "PayPal to Airtable"
},
"sheetName": {
"__rl": true,
"value": "Log",
"mode": "list",
"cachedResultName": "Log"
},
"columns": {
"mappingMode": "defineBelow",
"value": "Status",
"schema": []
}
},
"id": "c68be0fc-19fe-4e45-8c3d-3ce101e1634f",
"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": "PayPal to Airtable error: {$json.error.message}"
},
"id": "3e058106-dd19-44a8-91a3-3aef71622480",
"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
}