Skip to content

Commit 55096f7

Browse files
committed
feat(n8n): implement JSON PRC method getLastScanOfSubscriptions
1 parent 6fdfe24 commit 55096f7

File tree

1 file changed

+112
-2
lines changed

1 file changed

+112
-2
lines changed

n8n/workflows.json

Lines changed: 112 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15683,6 +15683,17 @@
1568315683
]
1568415684
]
1568515685
},
15686+
"Edit Fields13": {
15687+
"main": [
15688+
[
15689+
{
15690+
"index": 0,
15691+
"node": "Respond to Webhook",
15692+
"type": "main"
15693+
}
15694+
]
15695+
]
15696+
},
1568615697
"Edit Fields2": {
1568715698
"main": [
1568815699
[
@@ -16517,6 +16528,13 @@
1651716528
"node": "Postgres27",
1651816529
"type": "main"
1651916530
}
16531+
],
16532+
[
16533+
{
16534+
"index": 0,
16535+
"node": "n8n",
16536+
"type": "main"
16537+
}
1652016538
]
1652116539
]
1652216540
},
@@ -16574,6 +16592,17 @@
1657416592
}
1657516593
]
1657616594
]
16595+
},
16596+
"n8n": {
16597+
"main": [
16598+
[
16599+
{
16600+
"index": 0,
16601+
"node": "Edit Fields13",
16602+
"type": "main"
16603+
}
16604+
]
16605+
]
1657716606
}
1657816607
},
1657916608
"createdAt": "2025-04-22T13:36:59.745Z",
@@ -17184,6 +17213,31 @@
1718417213
},
1718517214
"outputKey": "removeSubscription",
1718617215
"renameOutput": true
17216+
},
17217+
{
17218+
"conditions": {
17219+
"combinator": "and",
17220+
"conditions": [
17221+
{
17222+
"id": "47c34a91-0b8a-4905-988c-ee4a46a6f7e5",
17223+
"leftValue": "={{ $('Webhook').item.json.body.method }}",
17224+
"operator": {
17225+
"name": "filter.operator.equals",
17226+
"operation": "equals",
17227+
"type": "string"
17228+
},
17229+
"rightValue": "getLastScanOfSubscriptions"
17230+
}
17231+
],
17232+
"options": {
17233+
"caseSensitive": true,
17234+
"leftValue": "",
17235+
"typeValidation": "strict",
17236+
"version": 2
17237+
}
17238+
},
17239+
"outputKey": "getLastScanOfSubscriptions",
17240+
"renameOutput": true
1718717241
}
1718817242
]
1718917243
}
@@ -20062,6 +20116,62 @@
2006220116
],
2006320117
"type": "n8n-nodes-base.postgres",
2006420118
"typeVersion": 2.6
20119+
},
20120+
{
20121+
"credentials": {
20122+
"n8nApi": {
20123+
"id": "29pMkB66wmwgdc6w",
20124+
"name": "n8n account"
20125+
}
20126+
},
20127+
"id": "653774f7-c4a8-4094-ba2a-7f5c253b17b1",
20128+
"name": "n8n",
20129+
"parameters": {
20130+
"filters": {
20131+
"workflowId": {
20132+
"__rl": true,
20133+
"cachedResultName": "forecast-reddits (#hUnkG6eBZZZGN97V)",
20134+
"mode": "list",
20135+
"value": "hUnkG6eBZZZGN97V"
20136+
}
20137+
},
20138+
"limit": 1,
20139+
"options": {
20140+
},
20141+
"requestOptions": {
20142+
},
20143+
"resource": "execution"
20144+
},
20145+
"position": [
20146+
2300,
20147+
4720
20148+
],
20149+
"type": "n8n-nodes-base.n8n",
20150+
"typeVersion": 1
20151+
},
20152+
{
20153+
"id": "bf0503f4-eee5-4d5c-b40b-b06584d92692",
20154+
"name": "Edit Fields13",
20155+
"parameters": {
20156+
"assignments": {
20157+
"assignments": [
20158+
{
20159+
"id": "6d78cfe8-dbb5-4258-9539-dc98f8a7d691",
20160+
"name": "result.lastSyncAt",
20161+
"type": "string",
20162+
"value": "={{ $json.startedAt }}"
20163+
}
20164+
]
20165+
},
20166+
"options": {
20167+
}
20168+
},
20169+
"position": [
20170+
2520,
20171+
4720
20172+
],
20173+
"type": "n8n-nodes-base.set",
20174+
"typeVersion": 3.4
2006520175
}
2006620176
],
2006720177
"pinData": {
@@ -20073,8 +20183,8 @@
2007320183
"tags": [
2007420184
],
2007520185
"triggerCount": 1,
20076-
"updatedAt": "2025-05-06T13:40:55.000Z",
20077-
"versionId": "44cfc835-9c95-4019-af70-049b825a3c6c"
20186+
"updatedAt": "2025-05-06T14:37:21.000Z",
20187+
"versionId": "c5206e9b-864e-45b5-a593-f12a4d578b46"
2007820188
},
2007920189
{
2008020190
"active": true,

0 commit comments

Comments
 (0)