feat: add folder support for workflows (fixes #70)
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"name": "Create a QuickBooks invoice on a new Onfleet Task creation",
|
||||
"nodes": [
|
||||
{
|
||||
"name": "Onfleet Trigger",
|
||||
"type": "n8n-nodes-base.onfleetTrigger",
|
||||
"position": [
|
||||
460,
|
||||
300
|
||||
],
|
||||
"webhookId": "6d6a2bee-f83e-4ebd-a1d5-8708c34393dc",
|
||||
"parameters": {
|
||||
"triggerOn": "taskCreated",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "QuickBooks Online",
|
||||
"type": "n8n-nodes-base.quickbooks",
|
||||
"position": [
|
||||
680,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"Line": [],
|
||||
"resource": "invoice",
|
||||
"operation": "create",
|
||||
"additionalFields": {
|
||||
"Balance": 0,
|
||||
"TxnDate": "",
|
||||
"ShipAddr": "",
|
||||
"BillEmail": ""
|
||||
}
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"active": false,
|
||||
"settings": {},
|
||||
"connections": {
|
||||
"Onfleet Trigger": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "QuickBooks Online",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
91
workflows/Quickbooks/1208_Quickbooks_Automate.json
Normal file
91
workflows/Quickbooks/1208_Quickbooks_Automate.json
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
"name": "QuickBooks2",
|
||||
"type": "n8n-nodes-base.quickbooks",
|
||||
"position": [
|
||||
870,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"email": "",
|
||||
"resource": "invoice",
|
||||
"invoiceId": "={{$json[\"Id\"]}}",
|
||||
"operation": "send"
|
||||
},
|
||||
"credentials": {
|
||||
"quickBooksOAuth2Api": "QuickBooks OAuth Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "QuickBooks1",
|
||||
"type": "n8n-nodes-base.quickbooks",
|
||||
"position": [
|
||||
670,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"Line": [
|
||||
{
|
||||
"Amount": 100,
|
||||
"itemId": "1",
|
||||
"DetailType": "SalesItemLineDetail",
|
||||
"Description": "Consulting service"
|
||||
}
|
||||
],
|
||||
"resource": "invoice",
|
||||
"operation": "create",
|
||||
"CustomerRef": "={{$json[\"Id\"]}}",
|
||||
"additionalFields": {}
|
||||
},
|
||||
"credentials": {
|
||||
"quickBooksOAuth2Api": "QuickBooks OAuth Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
},
|
||||
{
|
||||
"name": "QuickBooks",
|
||||
"type": "n8n-nodes-base.quickbooks",
|
||||
"position": [
|
||||
470,
|
||||
300
|
||||
],
|
||||
"parameters": {
|
||||
"operation": "create",
|
||||
"displayName": "Jack Ryan",
|
||||
"additionalFields": {
|
||||
"PrimaryEmailAddr": "jack@ryan.com"
|
||||
}
|
||||
},
|
||||
"credentials": {
|
||||
"quickBooksOAuth2Api": "QuickBooks OAuth Credentials"
|
||||
},
|
||||
"typeVersion": 1
|
||||
}
|
||||
],
|
||||
"connections": {
|
||||
"QuickBooks": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "QuickBooks1",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"QuickBooks1": {
|
||||
"main": [
|
||||
[
|
||||
{
|
||||
"node": "QuickBooks2",
|
||||
"type": "main",
|
||||
"index": 0
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user