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

353 lines
7.3 KiB
JSON

{
"name": "Stripe to QuickBooks",
"nodes": [
{
"parameters": {
"content": "Placeholder for Stripe to QuickBooks",
"height": 530,
"width": 1100,
"color": 5
},
"id": "516d2d75-bad5-47a2-9aae-441c2e47505a",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-480,
-240
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "stripe-to-quickbooks"
},
"id": "b336b0e9-75c9-476e-b708-eee49a79782a",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
-300,
0
]
},
{
"parameters": {
"chunkSize": 400,
"chunkOverlap": 40
},
"id": "aff09b5e-ab9c-4906-876c-be1cbd49bad3",
"name": "Text Splitter",
"type": "@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter",
"typeVersion": 1,
"position": [
-130,
0
]
},
{
"parameters": {
"model": "text-embedding-3-small",
"options": {}
},
"id": "28798bcc-42c3-405f-becd-dd9e2628fbec",
"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": "stripe_to_quickbooks"
},
"id": "ebb44e83-73d5-48b0-9458-cbb4dd5db829",
"name": "Supabase Insert",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"typeVersion": 1,
"position": [
270,
0
],
"credentials": {
"supabaseApi": {
"id": "SUPABASE_API",
"name": "Supabase account"
}
}
},
{
"parameters": {
"indexName": "stripe_to_quickbooks"
},
"id": "dda295d6-3267-468b-b6c9-4e0dae2d3953",
"name": "Supabase Query",
"type": "@n8n/n8n-nodes-langchain.vectorStoreSupabase",
"typeVersion": 1,
"position": [
270,
-180
],
"credentials": {
"supabaseApi": {
"id": "SUPABASE_API",
"name": "Supabase account"
}
}
},
{
"parameters": {
"name": "Supabase",
"description": "Vector context"
},
"id": "fad24949-758c-4879-8fe1-2965b81c835c",
"name": "Vector Tool",
"type": "@n8n/n8n-nodes-langchain.toolVectorStore",
"typeVersion": 1,
"position": [
450,
-180
]
},
{
"parameters": {},
"id": "36927cf2-4dc9-42c0-b427-2893e5982a85",
"name": "Window Memory",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
450,
-40
]
},
{
"parameters": {
"options": {}
},
"id": "87360d8c-11b2-4293-9213-83525a4ffc48",
"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 Stripe to QuickBooks"
}
},
"id": "6a6e8043-e4ba-4b17-8815-5d14adc8f33b",
"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": "Stripe to QuickBooks"
},
"sheetName": {
"__rl": true,
"value": "Log",
"mode": "list",
"cachedResultName": "Log"
},
"columns": {
"mappingMode": "defineBelow",
"value": "Status",
"schema": []
}
},
"id": "b6300c02-0a43-4cc4-8079-7739e8b51a37",
"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": "Stripe to QuickBooks error: {$json.error.message}"
},
"id": "4f848ea4-b5cd-4594-b598-cfff98863583",
"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": "Supabase Insert",
"type": "ai_textSplitter",
"index": 0
}
]
]
},
"Embeddings": {
"ai_embedding": [
[
{
"node": "Supabase Insert",
"type": "ai_embedding",
"index": 0
},
{
"node": "Supabase Query",
"type": "ai_embedding",
"index": 0
}
]
]
},
"Supabase Insert": {
"ai_document": [
[]
]
},
"Supabase 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
}