Agentrix212AI commited on
Commit
7bc11c1
·
verified ·
1 Parent(s): 223ec6c

Upload Google Reviews Automation.json

Browse files
Workflows/N8N_Workflows/GoogleReview_Automation/Google Reviews Automation.json ADDED
@@ -0,0 +1,718 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "Google Reviews Automation",
3
+ "nodes": [
4
+ {
5
+ "parameters": {
6
+ "pollTimes": {
7
+ "item": [
8
+ {
9
+ "mode": "everyMinute"
10
+ }
11
+ ]
12
+ },
13
+ "account": {
14
+ "__rl": true,
15
+ "value": "accounts/112359161525876857659",
16
+ "mode": "list",
17
+ "cachedResultName": "mouad Mouad"
18
+ },
19
+ "location": {
20
+ "__rl": true,
21
+ "value": "locations/8151693557096422588",
22
+ "mode": "list",
23
+ "cachedResultName": "locations/8151693557096422588"
24
+ }
25
+ },
26
+ "id": "e34a545e-1efc-4a22-be77-b31e5727beeb",
27
+ "name": "Monitor New Reviews",
28
+ "type": "n8n-nodes-base.googleBusinessProfileTrigger",
29
+ "position": [
30
+ -2480,
31
+ -112
32
+ ],
33
+ "typeVersion": 1,
34
+ "credentials": {
35
+ "googleBusinessProfileOAuth2Api": {
36
+ "id": "mHNIT5TeMvmdBkZH",
37
+ "name": "Google Business Profile account"
38
+ }
39
+ }
40
+ },
41
+ {
42
+ "parameters": {
43
+ "assignments": {
44
+ "assignments": [
45
+ {
46
+ "id": "1",
47
+ "name": "reviewText",
48
+ "type": "string",
49
+ "value": "={{ $json.comment }}"
50
+ },
51
+ {
52
+ "id": "2",
53
+ "name": "rating",
54
+ "type": "number",
55
+ "value": "={{ $json.starRating }}"
56
+ },
57
+ {
58
+ "id": "3",
59
+ "name": "reviewerName",
60
+ "type": "string",
61
+ "value": "={{ $json.reviewer.displayName }}"
62
+ },
63
+ {
64
+ "id": "4",
65
+ "name": "reviewId",
66
+ "type": "string",
67
+ "value": "={{ $json.reviewId }}"
68
+ },
69
+ {
70
+ "id": "5",
71
+ "name": "reviewDate",
72
+ "type": "string",
73
+ "value": "={{ $json.createTime }}"
74
+ }
75
+ ]
76
+ },
77
+ "options": {
78
+ "ignoreConversionErrors": true
79
+ }
80
+ },
81
+ "id": "de9b6122-09b9-4057-bdc3-dfa17c626fa8",
82
+ "name": "Extract Review Data",
83
+ "type": "n8n-nodes-base.set",
84
+ "position": [
85
+ -2256,
86
+ -112
87
+ ],
88
+ "typeVersion": 3.4
89
+ },
90
+ {
91
+ "parameters": {
92
+ "conditions": {
93
+ "options": {
94
+ "caseSensitive": true,
95
+ "leftValue": "",
96
+ "typeValidation": "strict",
97
+ "version": 2
98
+ },
99
+ "conditions": [
100
+ {
101
+ "id": "check_negative",
102
+ "operator": {
103
+ "type": "string",
104
+ "operation": "equals"
105
+ },
106
+ "leftValue": "={{ $json.output.sentiment }}",
107
+ "rightValue": "negative"
108
+ }
109
+ ],
110
+ "combinator": "and"
111
+ },
112
+ "options": {}
113
+ },
114
+ "id": "55463ed4-31c6-4275-be06-aae65e2f5ecf",
115
+ "name": "Is Negative Review?",
116
+ "type": "n8n-nodes-base.if",
117
+ "position": [
118
+ -1680,
119
+ -112
120
+ ],
121
+ "typeVersion": 2.2
122
+ },
123
+ {
124
+ "parameters": {
125
+ "authentication": "oAuth2",
126
+ "operation": "sendAndWait",
127
+ "select": "channel",
128
+ "channelId": {
129
+ "__rl": true,
130
+ "value": "C09GSTTLTNG",
131
+ "mode": "list",
132
+ "cachedResultName": "errors-handling-tickets"
133
+ },
134
+ "message": "=\n🚨 REVIEW APPROVAL NEEDED\n\nSummary : {{ $('Basic LLM Chain').item.json.output.summary }}\n\n⭐ Rating: {{ $('Monitor New Reviews').item.json.starRating }} ⭐\n👤 Customer: {{ $('Monitor New Reviews').item.json.reviewer.displayName }}\n\n📝 CUSTOMER REVIEW:\n{{ $('Monitor New Reviews').item.json.comment }}\n\n🤖 AI SUGGESTED REPLY:\n{{ $json.output.draftedReply }}\n---\nClick Approve to send this reply, or Decline to discard.\n\n",
135
+ "approvalOptions": {
136
+ "values": {
137
+ "approvalType": "double"
138
+ }
139
+ },
140
+ "options": {}
141
+ },
142
+ "id": "209f953a-7ee1-4d90-92b4-a301bcbd149a",
143
+ "name": "Slack - Request Approval",
144
+ "type": "n8n-nodes-base.slack",
145
+ "typeVersion": 2.3,
146
+ "position": [
147
+ -1456,
148
+ -208
149
+ ],
150
+ "webhookId": "7b495e67-7e9b-4603-940b-01f46f03a90c",
151
+ "credentials": {
152
+ "slackOAuth2Api": {
153
+ "id": "fVclEXygO5u0nPia",
154
+ "name": "Slack account"
155
+ }
156
+ }
157
+ },
158
+ {
159
+ "parameters": {
160
+ "operation": "append",
161
+ "documentId": {
162
+ "__rl": true,
163
+ "value": "1C0Jspcv2Xj9EiMOS3qCi5MUw-kugGLWZh8HDY3KtPDI",
164
+ "mode": "list",
165
+ "cachedResultName": "google_reviews_logging_template",
166
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1C0Jspcv2Xj9EiMOS3qCi5MUw-kugGLWZh8HDY3KtPDI/edit?usp=drivesdk"
167
+ },
168
+ "sheetName": {
169
+ "__rl": true,
170
+ "value": 544803624,
171
+ "mode": "list",
172
+ "cachedResultName": "google_reviews_logging_template.csv",
173
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1C0Jspcv2Xj9EiMOS3qCi5MUw-kugGLWZh8HDY3KtPDI/edit#gid=544803624"
174
+ },
175
+ "columns": {
176
+ "mappingMode": "defineBelow",
177
+ "value": {
178
+ "ReviewDate": "={{ $('Extract Review Data').item.json.reviewDate }}",
179
+ "ReviewID": "={{ $('Extract Review Data').item.json.reviewId }}",
180
+ "Reviewer": "={{ $('Extract Review Data').item.json.reviewerName }}",
181
+ "Rating": "={{ $('Extract Review Data').item.json.rating }}",
182
+ "ReviewText": "={{ $('Extract Review Data').item.json.reviewText }}",
183
+ "Sentiment": "={{ $('Basic LLM Chain').item.json.output.sentiment }}",
184
+ "SentimentScore": "={{ $('Basic LLM Chain').item.json.output.sentimentScore }}",
185
+ "AI-Reply": "={{ $('Basic LLM Chain').item.json.output.draftedReply }}",
186
+ "FinalReply": "={{ $data.comment }}",
187
+ "PostedToGoogle": "={{ $json.updateTime }}"
188
+ },
189
+ "matchingColumns": [],
190
+ "schema": [
191
+ {
192
+ "id": "ReviewDate",
193
+ "displayName": "ReviewDate",
194
+ "required": false,
195
+ "defaultMatch": false,
196
+ "display": true,
197
+ "type": "string",
198
+ "canBeUsedToMatch": true,
199
+ "removed": false
200
+ },
201
+ {
202
+ "id": "ReviewID",
203
+ "displayName": "ReviewID",
204
+ "required": false,
205
+ "defaultMatch": false,
206
+ "display": true,
207
+ "type": "string",
208
+ "canBeUsedToMatch": true,
209
+ "removed": false
210
+ },
211
+ {
212
+ "id": "Reviewer",
213
+ "displayName": "Reviewer",
214
+ "required": false,
215
+ "defaultMatch": false,
216
+ "display": true,
217
+ "type": "string",
218
+ "canBeUsedToMatch": true,
219
+ "removed": false
220
+ },
221
+ {
222
+ "id": "Rating",
223
+ "displayName": "Rating",
224
+ "required": false,
225
+ "defaultMatch": false,
226
+ "display": true,
227
+ "type": "string",
228
+ "canBeUsedToMatch": true,
229
+ "removed": false
230
+ },
231
+ {
232
+ "id": "ReviewText",
233
+ "displayName": "ReviewText",
234
+ "required": false,
235
+ "defaultMatch": false,
236
+ "display": true,
237
+ "type": "string",
238
+ "canBeUsedToMatch": true,
239
+ "removed": false
240
+ },
241
+ {
242
+ "id": "Sentiment",
243
+ "displayName": "Sentiment",
244
+ "required": false,
245
+ "defaultMatch": false,
246
+ "display": true,
247
+ "type": "string",
248
+ "canBeUsedToMatch": true,
249
+ "removed": false
250
+ },
251
+ {
252
+ "id": "SentimentScore",
253
+ "displayName": "SentimentScore",
254
+ "required": false,
255
+ "defaultMatch": false,
256
+ "display": true,
257
+ "type": "string",
258
+ "canBeUsedToMatch": true,
259
+ "removed": false
260
+ },
261
+ {
262
+ "id": "AI-Reply",
263
+ "displayName": "AI-Reply",
264
+ "required": false,
265
+ "defaultMatch": false,
266
+ "display": true,
267
+ "type": "string",
268
+ "canBeUsedToMatch": true,
269
+ "removed": false
270
+ },
271
+ {
272
+ "id": "FinalReply",
273
+ "displayName": "FinalReply",
274
+ "required": false,
275
+ "defaultMatch": false,
276
+ "display": true,
277
+ "type": "string",
278
+ "canBeUsedToMatch": true,
279
+ "removed": false
280
+ },
281
+ {
282
+ "id": "PostedToGoogle",
283
+ "displayName": "PostedToGoogle",
284
+ "required": false,
285
+ "defaultMatch": false,
286
+ "display": true,
287
+ "type": "string",
288
+ "canBeUsedToMatch": true,
289
+ "removed": false
290
+ }
291
+ ],
292
+ "attemptToConvertTypes": false,
293
+ "convertFieldsToString": false
294
+ },
295
+ "options": {}
296
+ },
297
+ "id": "9c820bfa-6cf2-4b7a-bd80-3baa6b357b52",
298
+ "name": "Log to Google Sheets",
299
+ "type": "n8n-nodes-base.googleSheets",
300
+ "position": [
301
+ -560,
302
+ -112
303
+ ],
304
+ "typeVersion": 4.6,
305
+ "credentials": {
306
+ "googleSheetsOAuth2Api": {
307
+ "id": "cqc0aG1cc1RyiagA",
308
+ "name": "Google Sheets account"
309
+ }
310
+ }
311
+ },
312
+ {
313
+ "parameters": {
314
+ "promptType": "define",
315
+ "text": "=Analyze this customer review and provide a response:\n\nCUSTOMER NAME: {{ $json.reviewerName }}\nRATING: {{ $json.rating }}/5\nREVIEW TEXT: {{ $json.reviewText }}\n\nProvide your response as JSON with these exact fields:\n- sentiment: (string) \"positive\" or \"negative\" or \"neutral\"\n- sentimentScore: (number) 0-100 confidence percentage\n- draftedReply: (string) your professional response to the customer\n- summary: (string, only if sentiment is negative) brief 1-sentence summary of their complaint\n\nRespond ONLY with the JSON object. No markdown, no code blocks, just the JSON.",
316
+ "hasOutputParser": true,
317
+ "messages": {
318
+ "messageValues": [
319
+ {
320
+ "message": "=You are a professional customer service AI assistant. \n\nYour job is to: 1. Analyze the sentiment of a customer review \n\n2. Draft an appropriate professional reply based on the sentiment \n\n3. If the review is negative, provide a brief summary of the complaint \n\nYou must respond ONLY with valid JSON. No additional text. \n\nFor positive/neutral reviews: Be warm, grateful, and genuine. For negative reviews: Be empathetic, professional, and solution-focused. \n\nAll replies must be under 100 words."
321
+ }
322
+ ]
323
+ },
324
+ "batching": {}
325
+ },
326
+ "type": "@n8n/n8n-nodes-langchain.chainLlm",
327
+ "typeVersion": 1.7,
328
+ "position": [
329
+ -2032,
330
+ -112
331
+ ],
332
+ "id": "e25cc4bd-2c5b-439d-ad24-982b6004fcda",
333
+ "name": "Basic LLM Chain"
334
+ },
335
+ {
336
+ "parameters": {
337
+ "options": {}
338
+ },
339
+ "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
340
+ "typeVersion": 1,
341
+ "position": [
342
+ -2048,
343
+ 112
344
+ ],
345
+ "id": "36a800f6-d19e-4106-a3ba-65e5ff637998",
346
+ "name": "OpenRouter Chat Model",
347
+ "credentials": {
348
+ "openRouterApi": {
349
+ "id": "Uh6EhUnlPGQ0AEYw",
350
+ "name": "OpenRouter account"
351
+ }
352
+ }
353
+ },
354
+ {
355
+ "parameters": {
356
+ "schemaType": "manual",
357
+ "inputSchema": "{\n \"type\": \"object\",\n \"properties\": {\n \"sentiment\": {\n \"type\": \"string\",\n \"description\": \"positive, negative\"\n },\n \"sentimentScore\": {\n \"type\": \"number\",\n \"description\": \"0-100 confidence\"\n },\n \"draftedReply\": {\n \"type\": \"string\",\n \"description\": \"The reply text\"\n },\n \"summary\": {\n \"type\": \"string\",\n \"description\": \"Summary if negative\"\n }\n }\n}"
358
+ },
359
+ "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
360
+ "typeVersion": 1.3,
361
+ "position": [
362
+ -1856,
363
+ 112
364
+ ],
365
+ "id": "610b9d70-6b0e-49a1-addb-f202f75235a7",
366
+ "name": "Structured Output Parser"
367
+ },
368
+ {
369
+ "parameters": {
370
+ "conditions": {
371
+ "options": {
372
+ "caseSensitive": true,
373
+ "leftValue": "",
374
+ "typeValidation": "strict",
375
+ "version": 2
376
+ },
377
+ "conditions": [
378
+ {
379
+ "id": "73178ad4-60f4-4591-8584-9be7903cbb9f",
380
+ "leftValue": "={{ $json.data.approved }}",
381
+ "rightValue": "",
382
+ "operator": {
383
+ "type": "boolean",
384
+ "operation": "true",
385
+ "singleValue": true
386
+ }
387
+ }
388
+ ],
389
+ "combinator": "and"
390
+ },
391
+ "options": {}
392
+ },
393
+ "type": "n8n-nodes-base.if",
394
+ "typeVersion": 2.2,
395
+ "position": [
396
+ -1232,
397
+ -208
398
+ ],
399
+ "id": "dde24943-f847-4957-af96-b8b6485e7321",
400
+ "name": "If"
401
+ },
402
+ {
403
+ "parameters": {
404
+ "authentication": "oAuth2",
405
+ "operation": "sendAndWait",
406
+ "select": "channel",
407
+ "channelId": {
408
+ "__rl": true,
409
+ "value": "C09GSTTLTNG",
410
+ "mode": "list",
411
+ "cachedResultName": "errors-handling-tickets"
412
+ },
413
+ "message": "=Draft your reply for this review \n\nClient Review : {{ $('Monitor New Reviews').item.json.comment }}\n\nwe'll post it to Google Maps immediately ",
414
+ "responseType": "freeText",
415
+ "options": {
416
+ "appendAttribution": false
417
+ }
418
+ },
419
+ "type": "n8n-nodes-base.slack",
420
+ "typeVersion": 2.3,
421
+ "position": [
422
+ -1008,
423
+ -112
424
+ ],
425
+ "id": "f3b9dc1f-18bc-406b-9aee-f65ed25f9f4c",
426
+ "name": "Send message and wait for response",
427
+ "webhookId": "298952f2-3717-4b05-9741-0432a94cd43d",
428
+ "credentials": {
429
+ "slackOAuth2Api": {
430
+ "id": "fVclEXygO5u0nPia",
431
+ "name": "Slack account"
432
+ }
433
+ }
434
+ },
435
+ {
436
+ "parameters": {
437
+ "resource": "review",
438
+ "operation": "reply",
439
+ "account": {
440
+ "__rl": true,
441
+ "value": "accounts/112359161525876857659",
442
+ "mode": "list",
443
+ "cachedResultName": "mouad Mouad"
444
+ },
445
+ "location": {
446
+ "__rl": true,
447
+ "value": "locations/8151693557096422588",
448
+ "mode": "list",
449
+ "cachedResultName": "locations/8151693557096422588"
450
+ },
451
+ "review": {
452
+ "__rl": true,
453
+ "value": "={{ $('Monitor New Reviews').item.json.reviewId }}",
454
+ "mode": "id"
455
+ },
456
+ "reply": "={{ $json.output.draftedReply }}",
457
+ "requestOptions": {}
458
+ },
459
+ "id": "e061b0b4-a312-4243-880d-9db887ad68a2",
460
+ "name": "PositiveReviewReply",
461
+ "type": "n8n-nodes-base.googleBusinessProfile",
462
+ "position": [
463
+ -784,
464
+ 80
465
+ ],
466
+ "typeVersion": 1,
467
+ "credentials": {
468
+ "googleBusinessProfileOAuth2Api": {
469
+ "id": "mHNIT5TeMvmdBkZH",
470
+ "name": "Google Business Profile account"
471
+ }
472
+ }
473
+ },
474
+ {
475
+ "parameters": {
476
+ "resource": "review",
477
+ "operation": "reply",
478
+ "account": {
479
+ "__rl": true,
480
+ "value": "accounts/112359161525876857659",
481
+ "mode": "list",
482
+ "cachedResultName": "mouad Mouad"
483
+ },
484
+ "location": {
485
+ "__rl": true,
486
+ "value": "locations/8151693557096422588",
487
+ "mode": "list",
488
+ "cachedResultName": "locations/8151693557096422588"
489
+ },
490
+ "review": {
491
+ "__rl": true,
492
+ "value": "={{ $('Extract Review Data').item.json.reviewId }}",
493
+ "mode": "id"
494
+ },
495
+ "reply": "={{ $('Basic LLM Chain').item.json.output.draftedReply }}",
496
+ "requestOptions": {}
497
+ },
498
+ "id": "fdd6dba8-17c8-4c78-81f1-f3cb9d6786b4",
499
+ "name": "NegativeReplyAI",
500
+ "type": "n8n-nodes-base.googleBusinessProfile",
501
+ "position": [
502
+ -784,
503
+ -304
504
+ ],
505
+ "typeVersion": 1,
506
+ "credentials": {
507
+ "googleBusinessProfileOAuth2Api": {
508
+ "id": "mHNIT5TeMvmdBkZH",
509
+ "name": "Google Business Profile account"
510
+ }
511
+ }
512
+ },
513
+ {
514
+ "parameters": {
515
+ "resource": "review",
516
+ "operation": "reply",
517
+ "account": {
518
+ "__rl": true,
519
+ "value": "accounts/112359161525876857659",
520
+ "mode": "list",
521
+ "cachedResultName": "mouad Mouad"
522
+ },
523
+ "location": {
524
+ "__rl": true,
525
+ "value": "locations/8151693557096422588",
526
+ "mode": "list",
527
+ "cachedResultName": "locations/8151693557096422588"
528
+ },
529
+ "review": {
530
+ "__rl": true,
531
+ "value": "={{ $('Extract Review Data').item.json.reviewId }}",
532
+ "mode": "id"
533
+ },
534
+ "reply": "={{ $json.data.text }}",
535
+ "requestOptions": {}
536
+ },
537
+ "id": "341bd98c-0e12-43bd-a270-88b094a448dd",
538
+ "name": "NegativeReplyHuman",
539
+ "type": "n8n-nodes-base.googleBusinessProfile",
540
+ "position": [
541
+ -784,
542
+ -112
543
+ ],
544
+ "typeVersion": 1,
545
+ "credentials": {
546
+ "googleBusinessProfileOAuth2Api": {
547
+ "id": "mHNIT5TeMvmdBkZH",
548
+ "name": "Google Business Profile account"
549
+ }
550
+ }
551
+ }
552
+ ],
553
+ "pinData": {},
554
+ "connections": {
555
+ "Monitor New Reviews": {
556
+ "main": [
557
+ [
558
+ {
559
+ "node": "Extract Review Data",
560
+ "type": "main",
561
+ "index": 0
562
+ }
563
+ ]
564
+ ]
565
+ },
566
+ "Extract Review Data": {
567
+ "main": [
568
+ [
569
+ {
570
+ "node": "Basic LLM Chain",
571
+ "type": "main",
572
+ "index": 0
573
+ }
574
+ ]
575
+ ]
576
+ },
577
+ "Slack - Request Approval": {
578
+ "main": [
579
+ [
580
+ {
581
+ "node": "If",
582
+ "type": "main",
583
+ "index": 0
584
+ }
585
+ ]
586
+ ]
587
+ },
588
+ "Log to Google Sheets": {
589
+ "main": [
590
+ []
591
+ ]
592
+ },
593
+ "Basic LLM Chain": {
594
+ "main": [
595
+ [
596
+ {
597
+ "node": "Is Negative Review?",
598
+ "type": "main",
599
+ "index": 0
600
+ }
601
+ ]
602
+ ]
603
+ },
604
+ "OpenRouter Chat Model": {
605
+ "ai_languageModel": [
606
+ [
607
+ {
608
+ "node": "Basic LLM Chain",
609
+ "type": "ai_languageModel",
610
+ "index": 0
611
+ }
612
+ ]
613
+ ]
614
+ },
615
+ "Structured Output Parser": {
616
+ "ai_outputParser": [
617
+ [
618
+ {
619
+ "node": "Basic LLM Chain",
620
+ "type": "ai_outputParser",
621
+ "index": 0
622
+ }
623
+ ]
624
+ ]
625
+ },
626
+ "Is Negative Review?": {
627
+ "main": [
628
+ [
629
+ {
630
+ "node": "Slack - Request Approval",
631
+ "type": "main",
632
+ "index": 0
633
+ }
634
+ ],
635
+ [
636
+ {
637
+ "node": "PositiveReviewReply",
638
+ "type": "main",
639
+ "index": 0
640
+ }
641
+ ]
642
+ ]
643
+ },
644
+ "If": {
645
+ "main": [
646
+ [
647
+ {
648
+ "node": "NegativeReplyAI",
649
+ "type": "main",
650
+ "index": 0
651
+ }
652
+ ],
653
+ [
654
+ {
655
+ "node": "Send message and wait for response",
656
+ "type": "main",
657
+ "index": 0
658
+ }
659
+ ]
660
+ ]
661
+ },
662
+ "Send message and wait for response": {
663
+ "main": [
664
+ [
665
+ {
666
+ "node": "NegativeReplyHuman",
667
+ "type": "main",
668
+ "index": 0
669
+ }
670
+ ]
671
+ ]
672
+ },
673
+ "PositiveReviewReply": {
674
+ "main": [
675
+ [
676
+ {
677
+ "node": "Log to Google Sheets",
678
+ "type": "main",
679
+ "index": 0
680
+ }
681
+ ]
682
+ ]
683
+ },
684
+ "NegativeReplyAI": {
685
+ "main": [
686
+ [
687
+ {
688
+ "node": "Log to Google Sheets",
689
+ "type": "main",
690
+ "index": 0
691
+ }
692
+ ]
693
+ ]
694
+ },
695
+ "NegativeReplyHuman": {
696
+ "main": [
697
+ [
698
+ {
699
+ "node": "Log to Google Sheets",
700
+ "type": "main",
701
+ "index": 0
702
+ }
703
+ ]
704
+ ]
705
+ }
706
+ },
707
+ "active": false,
708
+ "settings": {
709
+ "executionOrder": "v1"
710
+ },
711
+ "versionId": "85526ba1-eb9b-4b95-a762-10828f437757",
712
+ "meta": {
713
+ "templateCredsSetupCompleted": true,
714
+ "instanceId": "66c58b798d3adbdaf64a47b3041d335e10015ca13cec5104fbf9f568a82eba73"
715
+ },
716
+ "id": "dhJDjJR6j23OFurA",
717
+ "tags": []
718
+ }