forked from enescingoz/awesome-n8n-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathAutomate Screenshots with URLbox & Analyze them with AI.json
More file actions
233 lines (233 loc) · 4.26 KB
/
Copy pathAutomate Screenshots with URLbox & Analyze them with AI.json
File metadata and controls
233 lines (233 loc) · 4.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
{
"id": "wDD4XugmHIvx3KMT",
"meta": {
"instanceId": "149cdf730f0c143663259ddc6124c9c26e824d8d2d059973b871074cf4bda531"
},
"name": "Analyze Screenshots with AI",
"tags": [],
"nodes": [
{
"id": "6d7f34b8-6203-4512-a428-7b5a18c63db6",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
1100
],
"parameters": {
"width": 373.2796418305297,
"height": 381.1230421279239,
"content": "## Setup \n**For Testing use the Setup node to put in test name & url.**\n\nIf you want to use this workflow in production, you can expand it to load data from other sources like a DB or Google Sheet"
},
"typeVersion": 1
},
{
"id": "ae568c65-e8f6-45bb-9c96-a870da1fc7d6",
"name": "Setup",
"type": "n8n-nodes-base.set",
"position": [
360,
1320
],
"parameters": {
"values": {
"string": [
{
"name": "website_name",
"value": "=n8n"
},
{
"name": "url",
"value": "https://n8n.io/"
}
]
},
"options": {}
},
"typeVersion": 2
},
{
"id": "ca9f0357-a596-4453-b351-fdd8d47c81ad",
"name": "URLbox API Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
780,
1120
],
"parameters": {
"url": "https://api.urlbox.io/v1/render/sync",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "url",
"value": "={{ $json.url }}"
},
{
"name": "full_page",
"value": true
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "YOUR_API_KEY"
}
]
}
},
"retryOnFail": true,
"typeVersion": 4.1
},
{
"id": "3caffa3c-657a-4f74-a3cb-daf7beb67890",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
640,
920
],
"parameters": {
"width": 373.2796418305297,
"height": 381.1230421279239,
"content": "## URLbox API call \n[URLbox](https://urlbox.com/) is a Screenshot API. With this API you can automate making screenshots based on website url's.\n\nYou have to replace the Placeholder with your API Key"
},
"typeVersion": 1
},
{
"id": "d2b81b41-1497-4733-8130-67f8de0acff4",
"name": "Analyze the Screenshot",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1220,
1120
],
"parameters": {
"text": "=Your Input is a Screenshot of a Website.\nDescribe the content of the Website in one sentence.",
"options": {},
"resource": "image",
"imageUrls": "renderURL",
"operation": "analyze"
},
"typeVersion": 1.1
},
{
"id": "68d86931-69bb-4b78-a7fe-44969172672f",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1080,
920
],
"parameters": {
"width": 373.2796418305297,
"height": 381.1230421279239,
"content": "## Analyze the Screenshot \nAnalyze the screenshot using OpenAI.\n\nAdd your OpenAI Credentials on the top of the node.\n\nThe prompt is an example. Change it based on what you want to extract from the screenshot."
},
"typeVersion": 1
},
{
"id": "8a22fca5-7f06-45fb-a03f-585a7eb35b40",
"name": "Merge Name & Description",
"type": "n8n-nodes-base.merge",
"position": [
1620,
1300
],
"parameters": {
"mode": "combine",
"options": {},
"combinationMode": "mergeByPosition"
},
"typeVersion": 2.1
},
{
"id": "4f902a0a-ee93-4190-9b1e-ab3fa15eb4aa",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1480,
1200
],
"parameters": {
"width": 371.85912137154685,
"height": 300.15337596590155,
"content": "## Merge\nMerge the description with the name of the website & the url."
},
"typeVersion": 1
},
{
"id": "8b3eb3f4-b31a-48f0-94bb-35379d07a81f",
"name": "Manual Execution",
"type": "n8n-nodes-base.manualTrigger",
"position": [
20,
1320
],
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "ff37faa1-c61c-44be-89f0-62f8e1b8317c",
"connections": {
"Setup": {
"main": [
[
{
"node": "URLbox API Request",
"type": "main",
"index": 0
},
{
"node": "Merge Name & Description",
"type": "main",
"index": 1
}
]
]
},
"Manual Execution": {
"main": [
[
{
"node": "Setup",
"type": "main",
"index": 0
}
]
]
},
"URLbox API Request": {
"main": [
[
{
"node": "Analyze the Screenshot",
"type": "main",
"index": 0
}
]
]
},
"Analyze the Screenshot": {
"main": [
[
{
"node": "Merge Name & Description",
"type": "main",
"index": 0
}
]
]
}
}
}