Advertisement
Guest User

VEO_3_Video_Generator_Agent.json

a guest
Jun 12th, 2025
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.00 KB | None | 0 0
  1. {
  2. "name": "VEO 3 Video Generator Agent",
  3. "nodes": [
  4. {
  5. "parameters": {
  6. "workflowInputs": {
  7. "values": [
  8. {
  9. "name": "name"
  10. },
  11. {
  12. "name": "prompt"
  13. }
  14. ]
  15. }
  16. },
  17. "type": "n8n-nodes-base.executeWorkflowTrigger",
  18. "typeVersion": 1.1,
  19. "position": [
  20. -20,
  21. 0
  22. ],
  23. "id": "6ce7f190-0ed1-4a53-a3e6-22ae53ecbf4a",
  24. "name": "When Executed by Another Workflow"
  25. },
  26. {
  27. "parameters": {
  28. "method": "POST",
  29. "url": "https://api.replicate.com/v1/models/google/veo-3/predictions",
  30. "authentication": "genericCredentialType",
  31. "genericAuthType": "httpHeaderAuth",
  32. "sendHeaders": true,
  33. "headerParameters": {
  34. "parameters": [
  35. {
  36. "name": "Prefer",
  37. "value": "wait"
  38. }
  39. ]
  40. },
  41. "sendBody": true,
  42. "specifyBody": "json",
  43. "jsonBody": "={\n \"input\": {\n \"prompt\": \"{{ $json.prompt }}\"\n }\n}",
  44. "options": {}
  45. },
  46. "type": "n8n-nodes-base.httpRequest",
  47. "typeVersion": 4.2,
  48. "position": [
  49. 180,
  50. 0
  51. ],
  52. "id": "6bd026f3-6389-4136-9254-ec8985866e80",
  53. "name": "Generate Video",
  54. "credentials": {
  55. "httpHeaderAuth": {
  56. "id": "xlhyRcOYSjjkmrtL",
  57. "name": "Replicate"
  58. }
  59. }
  60. },
  61. {
  62. "parameters": {
  63. "amount": 3,
  64. "unit": "minutes"
  65. },
  66. "type": "n8n-nodes-base.wait",
  67. "typeVersion": 1.1,
  68. "position": [
  69. 340,
  70. 0
  71. ],
  72. "id": "c87c0421-3198-4023-9734-7bba87728c3a",
  73. "name": "Wait",
  74. "webhookId": "968ce256-bd84-4f80-bb09-35a2cf68e656"
  75. },
  76. {
  77. "parameters": {
  78. "url": "={{ $json.urls.get }}",
  79. "authentication": "genericCredentialType",
  80. "genericAuthType": "httpHeaderAuth",
  81. "sendHeaders": true,
  82. "headerParameters": {
  83. "parameters": [
  84. {
  85. "name": "Prefer",
  86. "value": "wait"
  87. }
  88. ]
  89. },
  90. "options": {}
  91. },
  92. "type": "n8n-nodes-base.httpRequest",
  93. "typeVersion": 4.2,
  94. "position": [
  95. 520,
  96. 0
  97. ],
  98. "id": "5276c7a9-a486-42d7-85b8-f5bd02075d52",
  99. "name": "Get Video",
  100. "credentials": {
  101. "httpHeaderAuth": {
  102. "id": "xlhyRcOYSjjkmrtL",
  103. "name": "Replicate"
  104. }
  105. }
  106. },
  107. {
  108. "parameters": {
  109. "url": "={{ $json.output }}",
  110. "options": {}
  111. },
  112. "type": "n8n-nodes-base.httpRequest",
  113. "typeVersion": 4.2,
  114. "position": [
  115. 700,
  116. 0
  117. ],
  118. "id": "bbb19ab6-8916-4793-84e3-8accb568f5ef",
  119. "name": "Download Video"
  120. },
  121. {
  122. "parameters": {
  123. "operation": "create",
  124. "base": {
  125. "__rl": true,
  126. "value": "appJt0NXgy4Qdiwme",
  127. "mode": "list",
  128. "cachedResultName": "VEO 3 Videos",
  129. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme"
  130. },
  131. "table": {
  132. "__rl": true,
  133. "value": "tblH2A94diY7VjjH7",
  134. "mode": "list",
  135. "cachedResultName": "Videos",
  136. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme/tblH2A94diY7VjjH7"
  137. },
  138. "columns": {
  139. "mappingMode": "defineBelow",
  140. "value": {
  141. "Name": "={{ $json.name }}",
  142. "Prompt": "={{ $('When Executed by Another Workflow').item.json.prompt }}",
  143. "Video Link": "={{ $json.webViewLink }}",
  144. "Status": "Generated"
  145. },
  146. "matchingColumns": [],
  147. "schema": [
  148. {
  149. "id": "Name",
  150. "displayName": "Name",
  151. "required": false,
  152. "defaultMatch": false,
  153. "canBeUsedToMatch": true,
  154. "display": true,
  155. "type": "string",
  156. "readOnly": false,
  157. "removed": false
  158. },
  159. {
  160. "id": "Prompt",
  161. "displayName": "Prompt",
  162. "required": false,
  163. "defaultMatch": false,
  164. "canBeUsedToMatch": true,
  165. "display": true,
  166. "type": "string",
  167. "readOnly": false,
  168. "removed": false
  169. },
  170. {
  171. "id": "Video Link",
  172. "displayName": "Video Link",
  173. "required": false,
  174. "defaultMatch": false,
  175. "canBeUsedToMatch": true,
  176. "display": true,
  177. "type": "string",
  178. "readOnly": false,
  179. "removed": false
  180. },
  181. {
  182. "id": "Status",
  183. "displayName": "Status",
  184. "required": false,
  185. "defaultMatch": false,
  186. "canBeUsedToMatch": true,
  187. "display": true,
  188. "type": "options",
  189. "options": [
  190. {
  191. "name": "Generated",
  192. "value": "Generated"
  193. },
  194. {
  195. "name": "Ready To Post",
  196. "value": "Ready To Post"
  197. },
  198. {
  199. "name": "Completed",
  200. "value": "Completed"
  201. }
  202. ],
  203. "readOnly": false,
  204. "removed": false
  205. },
  206. {
  207. "id": "Tiktok",
  208. "displayName": "Tiktok",
  209. "required": false,
  210. "defaultMatch": false,
  211. "canBeUsedToMatch": true,
  212. "display": true,
  213. "type": "options",
  214. "options": [
  215. {
  216. "name": "Uploaded",
  217. "value": "Uploaded"
  218. }
  219. ],
  220. "readOnly": false,
  221. "removed": true
  222. },
  223. {
  224. "id": "Instagram",
  225. "displayName": "Instagram",
  226. "required": false,
  227. "defaultMatch": false,
  228. "canBeUsedToMatch": true,
  229. "display": true,
  230. "type": "options",
  231. "options": [
  232. {
  233. "name": "Uploaded",
  234. "value": "Uploaded"
  235. }
  236. ],
  237. "readOnly": false,
  238. "removed": true
  239. },
  240. {
  241. "id": "Youtube",
  242. "displayName": "Youtube",
  243. "required": false,
  244. "defaultMatch": false,
  245. "canBeUsedToMatch": true,
  246. "display": true,
  247. "type": "options",
  248. "options": [
  249. {
  250. "name": "Uploaded",
  251. "value": "Uploaded"
  252. }
  253. ],
  254. "readOnly": false,
  255. "removed": true
  256. },
  257. {
  258. "id": "Last Modified Time",
  259. "displayName": "Last Modified Time",
  260. "required": false,
  261. "defaultMatch": false,
  262. "canBeUsedToMatch": true,
  263. "display": true,
  264. "type": "string",
  265. "readOnly": true,
  266. "removed": true
  267. },
  268. {
  269. "id": "Created TIme",
  270. "displayName": "Created TIme",
  271. "required": false,
  272. "defaultMatch": false,
  273. "canBeUsedToMatch": true,
  274. "display": true,
  275. "type": "string",
  276. "readOnly": true,
  277. "removed": true
  278. },
  279. {
  280. "id": "Record ID",
  281. "displayName": "Record ID",
  282. "required": false,
  283. "defaultMatch": false,
  284. "canBeUsedToMatch": true,
  285. "display": true,
  286. "type": "string",
  287. "readOnly": true,
  288. "removed": true
  289. }
  290. ],
  291. "attemptToConvertTypes": false,
  292. "convertFieldsToString": false
  293. },
  294. "options": {}
  295. },
  296. "type": "n8n-nodes-base.airtable",
  297. "typeVersion": 2.1,
  298. "position": [
  299. 1040,
  300. 0
  301. ],
  302. "id": "d95a8117-14f2-4762-957b-c7d650b11e0d",
  303. "name": "Create New Record",
  304. "credentials": {
  305. "airtableTokenApi": {
  306. "id": "HlCvwpeDhqxCdX9c",
  307. "name": "Airtable Access 1"
  308. }
  309. }
  310. },
  311. {
  312. "parameters": {
  313. "name": "={{ $('When Executed by Another Workflow').item.json.name }}",
  314. "driveId": {
  315. "__rl": true,
  316. "mode": "list",
  317. "value": "My Drive"
  318. },
  319. "folderId": {
  320. "__rl": true,
  321. "value": "1y070Pr3NZUdcLMILbDxwhmQdd1MyK8vk",
  322. "mode": "list",
  323. "cachedResultName": "VEO 3 Videos",
  324. "cachedResultUrl": "https://drive.google.com/drive/folders/1y070Pr3NZUdcLMILbDxwhmQdd1MyK8vk"
  325. },
  326. "options": {}
  327. },
  328. "type": "n8n-nodes-base.googleDrive",
  329. "typeVersion": 3,
  330. "position": [
  331. 880,
  332. 0
  333. ],
  334. "id": "95c41b26-eb60-40e2-974a-2e9c46e9ad24",
  335. "name": "Upload Video",
  336. "credentials": {
  337. "googleDriveOAuth2Api": {
  338. "id": "9WRrz2c8ZemVzlPL",
  339. "name": "Google Drive account 2"
  340. }
  341. }
  342. },
  343. {
  344. "parameters": {
  345. "operation": "download",
  346. "fileId": {
  347. "__rl": true,
  348. "value": "={{ $json.fields['Video Link'] }}",
  349. "mode": "url"
  350. },
  351. "options": {}
  352. },
  353. "type": "n8n-nodes-base.googleDrive",
  354. "typeVersion": 3,
  355. "position": [
  356. 1220,
  357. 0
  358. ],
  359. "id": "07daaafb-e10d-416a-bf06-9113e7f18326",
  360. "name": "Get Video For Reply",
  361. "credentials": {
  362. "googleDriveOAuth2Api": {
  363. "id": "9WRrz2c8ZemVzlPL",
  364. "name": "Google Drive account 2"
  365. }
  366. }
  367. },
  368. {
  369. "parameters": {
  370. "operation": "sendVideo",
  371. "chatId": "{insert chat id}",
  372. "binaryData": true,
  373. "additionalFields": {
  374. "caption": "=Your video: {{ $json.fields.Name }} , has been generated! Check it out and let me know what you think!"
  375. }
  376. },
  377. "type": "n8n-nodes-base.telegram",
  378. "typeVersion": 1.2,
  379. "position": [
  380. 1400,
  381. 0
  382. ],
  383. "id": "cabaadf0-7765-4396-938f-d438f7feba16",
  384. "name": "Reply Telegram (update chat id)",
  385. "webhookId": "6fe64948-a4c0-404e-b723-b7f367de336b",
  386. "credentials": {
  387. "telegramApi": {
  388. "id": "rajpDvuc5KDPLJEx",
  389. "name": "Veo Video Agent"
  390. }
  391. }
  392. }
  393. ],
  394. "pinData": {},
  395. "connections": {
  396. "When Executed by Another Workflow": {
  397. "main": [
  398. [
  399. {
  400. "node": "Generate Video",
  401. "type": "main",
  402. "index": 0
  403. }
  404. ]
  405. ]
  406. },
  407. "Generate Video": {
  408. "main": [
  409. [
  410. {
  411. "node": "Wait",
  412. "type": "main",
  413. "index": 0
  414. }
  415. ]
  416. ]
  417. },
  418. "Wait": {
  419. "main": [
  420. [
  421. {
  422. "node": "Get Video",
  423. "type": "main",
  424. "index": 0
  425. }
  426. ]
  427. ]
  428. },
  429. "Get Video": {
  430. "main": [
  431. [
  432. {
  433. "node": "Download Video",
  434. "type": "main",
  435. "index": 0
  436. }
  437. ]
  438. ]
  439. },
  440. "Download Video": {
  441. "main": [
  442. [
  443. {
  444. "node": "Upload Video",
  445. "type": "main",
  446. "index": 0
  447. }
  448. ]
  449. ]
  450. },
  451. "Upload Video": {
  452. "main": [
  453. [
  454. {
  455. "node": "Create New Record",
  456. "type": "main",
  457. "index": 0
  458. }
  459. ]
  460. ]
  461. },
  462. "Create New Record": {
  463. "main": [
  464. [
  465. {
  466. "node": "Get Video For Reply",
  467. "type": "main",
  468. "index": 0
  469. }
  470. ]
  471. ]
  472. },
  473. "Get Video For Reply": {
  474. "main": [
  475. [
  476. {
  477. "node": "Reply Telegram (update chat id)",
  478. "type": "main",
  479. "index": 0
  480. }
  481. ]
  482. ]
  483. }
  484. },
  485. "active": false,
  486. "settings": {
  487. "executionOrder": "v1"
  488. },
  489. "versionId": "843e3776-cb7c-4eb3-b30d-f29a1248ff32",
  490. "meta": {
  491. "templateCredsSetupCompleted": true,
  492. "instanceId": "d8c459f4ebcadd20c3258ade09582fe0f02de933363f6184259e0c9a36784090"
  493. },
  494. "id": "qATpZdA7ehVojeHy",
  495. "tags": [
  496. {
  497. "createdAt": "2025-06-09T07:35:33.006Z",
  498. "updatedAt": "2025-06-09T07:35:33.006Z",
  499. "id": "OozOX9dMuHatAFQJ",
  500. "name": "W18: VEO 3 Video"
  501. }
  502. ]
  503. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement