Skip to content

Add instructions for ClouldFlare API

David793a34672ce0
diff --git a/episode_24/n8n_cloudflare_flux_schnell.json b/episode_24/n8n_cloudflare_flux_schnell.json
index 70c940e..b27cee8 100644
--- a/episode_24/n8n_cloudflare_flux_schnell.json
+++ b/episode_24/n8n_cloudflare_flux_schnell.json
@@ -10,7 +10,7 @@
"type": "n8n-nodes-base.convertToFile",
"typeVersion": 1.1,
"position": [
- 192,
+ 272,
0
],
"id": "8ca149ce-c9ca-412b-a908-cf02e8df4b78",
@@ -33,8 +33,8 @@
"name": "Get accounts",
"credentials": {
"httpBearerAuth": {
- "id": "jMnxp4DM3Ed198G6",
- "name": "Cloudflare"
+ "id": "1C6qvGZvHbThu8T3",
+ "name": "c2"
}
}
},
@@ -64,8 +64,8 @@
"name": "Get Flux Schnell image",
"credentials": {
"httpBearerAuth": {
- "id": "jMnxp4DM3Ed198G6",
- "name": "Cloudflare"
+ "id": "1C6qvGZvHbThu8T3",
+ "name": "c2"
}
}
},
@@ -90,7 +90,7 @@
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1.1,
"position": [
- -864,
+ -1072,
0
],
"id": "60a7e3aa-996e-4da7-a94b-96fc1a8308ed",
@@ -103,8 +103,8 @@
"type": "n8n-nodes-base.stopAndError",
"typeVersion": 1,
"position": [
- -192,
- -224
+ -464,
+ -192
],
"id": "f0e7d7f9-1826-42d0-9986-a84723b5f1f6",
"name": "Image > 1 megapixel"
@@ -137,7 +137,7 @@
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
- -448,
+ -656,
-16
],
"id": "2a02b7c6-12bd-4e2a-b578-c63cc1a57ea3",
@@ -184,11 +184,26 @@
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
- -656,
+ -864,
0
],
"id": "8d13a67b-763b-468a-8f34-f1b5ed9e69bb",
"name": "Setup workflow"
+ },
+ {
+ "parameters": {
+ "content": "# 🚨Add the CloudFlare API token, read this carefully\n\n### Add the workers AI authentication template\n### Then edit the token, and add the `Accounts -> Account Settings (Read)` permission and save it",
+ "height": 416,
+ "width": 448
+ },
+ "type": "n8n-nodes-base.stickyNote",
+ "typeVersion": 1,
+ "position": [
+ -288,
+ -256
+ ],
+ "id": "4a6efd8f-c318-4245-ae6a-5b35804641e6",
+ "name": "Sticky Note"
}
],
"pinData": {
@@ -270,7 +285,7 @@
"settings": {
"executionOrder": "v1"
},
- "versionId": "989aca08-327f-4d9a-a1f2-c62d86f92c31",
+ "versionId": "b256a883-b23f-444a-8157-a8d909a3acb3",
"meta": {
"instanceId": "636db6b6ab21a21c6458e2137f340e33dc3e49f5a1c560c8d1e2372c227cf40e"
},