|
15683 | 15683 | ] |
15684 | 15684 | ] |
15685 | 15685 | }, |
| 15686 | + "Edit Fields13": { |
| 15687 | + "main": [ |
| 15688 | + [ |
| 15689 | + { |
| 15690 | + "index": 0, |
| 15691 | + "node": "Respond to Webhook", |
| 15692 | + "type": "main" |
| 15693 | + } |
| 15694 | + ] |
| 15695 | + ] |
| 15696 | + }, |
15686 | 15697 | "Edit Fields2": { |
15687 | 15698 | "main": [ |
15688 | 15699 | [ |
|
16517 | 16528 | "node": "Postgres27", |
16518 | 16529 | "type": "main" |
16519 | 16530 | } |
| 16531 | + ], |
| 16532 | + [ |
| 16533 | + { |
| 16534 | + "index": 0, |
| 16535 | + "node": "n8n", |
| 16536 | + "type": "main" |
| 16537 | + } |
16520 | 16538 | ] |
16521 | 16539 | ] |
16522 | 16540 | }, |
|
16574 | 16592 | } |
16575 | 16593 | ] |
16576 | 16594 | ] |
| 16595 | + }, |
| 16596 | + "n8n": { |
| 16597 | + "main": [ |
| 16598 | + [ |
| 16599 | + { |
| 16600 | + "index": 0, |
| 16601 | + "node": "Edit Fields13", |
| 16602 | + "type": "main" |
| 16603 | + } |
| 16604 | + ] |
| 16605 | + ] |
16577 | 16606 | } |
16578 | 16607 | }, |
16579 | 16608 | "createdAt": "2025-04-22T13:36:59.745Z", |
|
17184 | 17213 | }, |
17185 | 17214 | "outputKey": "removeSubscription", |
17186 | 17215 | "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 |
17187 | 17241 | } |
17188 | 17242 | ] |
17189 | 17243 | } |
|
20062 | 20116 | ], |
20063 | 20117 | "type": "n8n-nodes-base.postgres", |
20064 | 20118 | "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 |
20065 | 20175 | } |
20066 | 20176 | ], |
20067 | 20177 | "pinData": { |
|
20073 | 20183 | "tags": [ |
20074 | 20184 | ], |
20075 | 20185 | "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" |
20078 | 20188 | }, |
20079 | 20189 | { |
20080 | 20190 | "active": true, |
|
0 commit comments