Advertisement
Guest User

VEO_3_Posting_Agent.json

a guest
Jun 12th, 2025
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.03 KB | None | 0 0
  1. {
  2. "name": "VEO 3 Posting Agent",
  3. "nodes": [
  4. {
  5. "parameters": {
  6. "httpRequestMethod": "POST",
  7. "graphApiVersion": "v22.0",
  8. "node": "17841459721592041",
  9. "edge": "media",
  10. "options": {
  11. "queryParameters": {
  12. "parameter": [
  13. {
  14. "name": "caption",
  15. "value": "={{ $('Publishing Agent').item.json.output.instagram.description }}"
  16. },
  17. {
  18. "name": "media_type",
  19. "value": "REELS"
  20. },
  21. {
  22. "name": "video_url",
  23. "value": "={{ $json.url }}"
  24. }
  25. ]
  26. }
  27. }
  28. },
  29. "type": "n8n-nodes-base.facebookGraphApi",
  30. "typeVersion": 1,
  31. "position": [
  32. 920,
  33. 540
  34. ],
  35. "id": "a69bf3c1-b892-4759-bd21-c52ea5b50a9f",
  36. "name": "Create Container",
  37. "credentials": {
  38. "facebookGraphApi": {
  39. "id": "SDZ83wepVRZLIeAk",
  40. "name": "New Meta 2"
  41. }
  42. }
  43. },
  44. {
  45. "parameters": {
  46. "httpRequestMethod": "POST",
  47. "graphApiVersion": "v22.0",
  48. "node": "=17841459721592041",
  49. "edge": "media_publish",
  50. "options": {
  51. "queryParameters": {
  52. "parameter": [
  53. {
  54. "name": "creation_id",
  55. "value": "={{ $json.id }}"
  56. }
  57. ]
  58. }
  59. }
  60. },
  61. "type": "n8n-nodes-base.facebookGraphApi",
  62. "typeVersion": 1,
  63. "position": [
  64. 1220,
  65. 540
  66. ],
  67. "id": "c7a17b66-72a3-4e68-860d-b199a150c290",
  68. "name": "Instagram POST",
  69. "credentials": {
  70. "facebookGraphApi": {
  71. "id": "SDZ83wepVRZLIeAk",
  72. "name": "New Meta 2"
  73. }
  74. }
  75. },
  76. {
  77. "parameters": {
  78. "promptType": "define",
  79. "text": "=- **Input Text Field**: \nName of video: {{ $json.Name }}\nPrompt: {{ $json.Prompt }}",
  80. "hasOutputParser": true,
  81. "messages": {
  82. "messageValues": [
  83. {
  84. "type": "=SystemMessagePromptTemplate",
  85. "message": "=You are an AI specialized in crafting high-impact, viral titles and descriptions optimized for TikTok Shorts, Instagram Reels, YouTube Shorts, and Facebook Reels. \n\nYou will receive a input containing informational fields which may be variably named (e.g., \"caption\", \"description\", etc.).\n\nYour task is to dynamically detect and use the first available text field from the input to generate platform-specific content tailored to each platform’s unique style and audience engagement.\n\nThe **tone and style** of the output should be customizable based on a user-defined variable called `style_tone`. This variable specifies the persona or voice you should adopt when generating content (e.g., \"bossbaby\", \"motivational coach\", \"comedy sketch\", etc.).\n\n---\n\n### Input variables:\n\n- **Input Text Field**: The text to base your content on (captions, description, name etc). \n- **style_tone**: A string indicating the desired voice/persona for the content.\n\n---\n\n### Platform-specific output requirements:\n\n1. **Instagram Reels**: \n - Description: Brief, visually descriptive, up to 5 hashtags, strong call-to-action.\n\n2. **YouTube Shorts**: \n - Title (max 50 chars): Direct, suspenseful, clickbait style. \n - Description: Concise, keyword-rich, with engagement prompts.\n\n3. **Facebook Reels**: \n - Description: Short, emotional hook encouraging reactions.\n\n4. **TikTok**: \n - Description: Creative, catchy, platform-appropriate.\n\n---\n\n### Output format:\n\nReturn strictly this JSON structure, adapting content tone according to `style_tone`:\n{\n \"instagram\": {\n \"description\": \"...\"\n },\n \"youtube\": {\n \"title\": \"...\",\n \"description\": \"...\"\n },\n \"facebook\": {\n \"description\": \"...\"\n },\n \"tiktok\": {\n \"description\": \"...\"\n }\n}\n\n#Note \n- Return only the EXACT JSON Output and nothing else."
  86. }
  87. ]
  88. }
  89. },
  90. "type": "@n8n/n8n-nodes-langchain.chainLlm",
  91. "typeVersion": 1.5,
  92. "position": [
  93. 260,
  94. 280
  95. ],
  96. "id": "98835deb-3296-4e7d-9e03-e1b99e4fcd7b",
  97. "name": "Publishing Agent"
  98. },
  99. {
  100. "parameters": {
  101. "conditions": {
  102. "options": {
  103. "caseSensitive": true,
  104. "leftValue": "",
  105. "typeValidation": "strict",
  106. "version": 2
  107. },
  108. "conditions": [
  109. {
  110. "id": "c087ebbf-22a5-45f4-82d5-ddabfd921889",
  111. "leftValue": "={{ $json.fields.Youtube }}",
  112. "rightValue": "Uploaded",
  113. "operator": {
  114. "type": "string",
  115. "operation": "equals",
  116. "name": "filter.operator.equals"
  117. }
  118. },
  119. {
  120. "id": "301baec8-c772-4042-bdc1-7d2d99f07043",
  121. "leftValue": "={{ $json.fields.Instagram }}",
  122. "rightValue": "Uploaded",
  123. "operator": {
  124. "type": "string",
  125. "operation": "equals",
  126. "name": "filter.operator.equals"
  127. }
  128. },
  129. {
  130. "id": "a216f3c7-76f0-4bdb-89c6-e9e0dd389ce5",
  131. "leftValue": "={{ $json.fields.Tiktok }}",
  132. "rightValue": "Uploaded",
  133. "operator": {
  134. "type": "string",
  135. "operation": "equals",
  136. "name": "filter.operator.equals"
  137. }
  138. }
  139. ],
  140. "combinator": "and"
  141. },
  142. "options": {}
  143. },
  144. "type": "n8n-nodes-base.if",
  145. "typeVersion": 2.2,
  146. "position": [
  147. 1680,
  148. 280
  149. ],
  150. "id": "b0c25f60-7efb-429b-a182-a9b0c322e822",
  151. "name": "If"
  152. },
  153. {
  154. "parameters": {
  155. "operation": "update",
  156. "base": {
  157. "__rl": true,
  158. "value": "appJt0NXgy4Qdiwme",
  159. "mode": "list",
  160. "cachedResultName": "VEO 3 Videos",
  161. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme"
  162. },
  163. "table": {
  164. "__rl": true,
  165. "value": "tblH2A94diY7VjjH7",
  166. "mode": "list",
  167. "cachedResultName": "Videos",
  168. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme/tblH2A94diY7VjjH7"
  169. },
  170. "columns": {
  171. "mappingMode": "defineBelow",
  172. "value": {
  173. "id": "={{ $('Search Record').item.json.id }}",
  174. "Youtube": "Uploaded"
  175. },
  176. "matchingColumns": [
  177. "id"
  178. ],
  179. "schema": [
  180. {
  181. "id": "id",
  182. "displayName": "id",
  183. "required": false,
  184. "defaultMatch": true,
  185. "display": true,
  186. "type": "string",
  187. "readOnly": true,
  188. "removed": false
  189. },
  190. {
  191. "id": "Name",
  192. "displayName": "Name",
  193. "required": false,
  194. "defaultMatch": false,
  195. "canBeUsedToMatch": true,
  196. "display": true,
  197. "type": "string",
  198. "readOnly": false,
  199. "removed": true
  200. },
  201. {
  202. "id": "Prompt",
  203. "displayName": "Prompt",
  204. "required": false,
  205. "defaultMatch": false,
  206. "canBeUsedToMatch": true,
  207. "display": true,
  208. "type": "string",
  209. "readOnly": false,
  210. "removed": true
  211. },
  212. {
  213. "id": "Video Link",
  214. "displayName": "Video Link",
  215. "required": false,
  216. "defaultMatch": false,
  217. "canBeUsedToMatch": true,
  218. "display": true,
  219. "type": "string",
  220. "readOnly": false,
  221. "removed": true
  222. },
  223. {
  224. "id": "Status",
  225. "displayName": "Status",
  226. "required": false,
  227. "defaultMatch": false,
  228. "canBeUsedToMatch": true,
  229. "display": true,
  230. "type": "options",
  231. "options": [
  232. {
  233. "name": "Generated",
  234. "value": "Generated"
  235. },
  236. {
  237. "name": "Ready To Post",
  238. "value": "Ready To Post"
  239. },
  240. {
  241. "name": "Completed",
  242. "value": "Completed"
  243. }
  244. ],
  245. "readOnly": false,
  246. "removed": true
  247. },
  248. {
  249. "id": "Tiktok",
  250. "displayName": "Tiktok",
  251. "required": false,
  252. "defaultMatch": false,
  253. "canBeUsedToMatch": true,
  254. "display": true,
  255. "type": "options",
  256. "options": [
  257. {
  258. "name": "Uploaded",
  259. "value": "Uploaded"
  260. }
  261. ],
  262. "readOnly": false,
  263. "removed": true
  264. },
  265. {
  266. "id": "Instagram",
  267. "displayName": "Instagram",
  268. "required": false,
  269. "defaultMatch": false,
  270. "canBeUsedToMatch": true,
  271. "display": true,
  272. "type": "options",
  273. "options": [
  274. {
  275. "name": "Uploaded",
  276. "value": "Uploaded"
  277. }
  278. ],
  279. "readOnly": false,
  280. "removed": true
  281. },
  282. {
  283. "id": "Youtube",
  284. "displayName": "Youtube",
  285. "required": false,
  286. "defaultMatch": false,
  287. "canBeUsedToMatch": true,
  288. "display": true,
  289. "type": "options",
  290. "options": [
  291. {
  292. "name": "Uploaded",
  293. "value": "Uploaded"
  294. }
  295. ],
  296. "readOnly": false,
  297. "removed": false
  298. },
  299. {
  300. "id": "Last Modified Time",
  301. "displayName": "Last Modified Time",
  302. "required": false,
  303. "defaultMatch": false,
  304. "canBeUsedToMatch": true,
  305. "display": true,
  306. "type": "string",
  307. "readOnly": true,
  308. "removed": false
  309. },
  310. {
  311. "id": "Created TIme",
  312. "displayName": "Created TIme",
  313. "required": false,
  314. "defaultMatch": false,
  315. "canBeUsedToMatch": true,
  316. "display": true,
  317. "type": "string",
  318. "readOnly": true,
  319. "removed": false
  320. },
  321. {
  322. "id": "Record ID",
  323. "displayName": "Record ID",
  324. "required": false,
  325. "defaultMatch": false,
  326. "canBeUsedToMatch": true,
  327. "display": true,
  328. "type": "string",
  329. "readOnly": true,
  330. "removed": false
  331. }
  332. ],
  333. "attemptToConvertTypes": false,
  334. "convertFieldsToString": false
  335. },
  336. "options": {}
  337. },
  338. "type": "n8n-nodes-base.airtable",
  339. "typeVersion": 2.1,
  340. "position": [
  341. 1100,
  342. 40
  343. ],
  344. "id": "5bf4c845-f9a3-4d52-aa4d-d0f06883a286",
  345. "name": "Youtube Posted",
  346. "credentials": {
  347. "airtableTokenApi": {
  348. "id": "HlCvwpeDhqxCdX9c",
  349. "name": "Airtable Access 1"
  350. }
  351. }
  352. },
  353. {
  354. "parameters": {
  355. "operation": "update",
  356. "base": {
  357. "__rl": true,
  358. "value": "appJt0NXgy4Qdiwme",
  359. "mode": "list",
  360. "cachedResultName": "VEO 3 Videos",
  361. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme"
  362. },
  363. "table": {
  364. "__rl": true,
  365. "value": "tblH2A94diY7VjjH7",
  366. "mode": "list",
  367. "cachedResultName": "Videos",
  368. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme/tblH2A94diY7VjjH7"
  369. },
  370. "columns": {
  371. "mappingMode": "defineBelow",
  372. "value": {
  373. "id": "={{ $('Search Record').item.json.id }}",
  374. "Instagram": "Uploaded"
  375. },
  376. "matchingColumns": [
  377. "id"
  378. ],
  379. "schema": [
  380. {
  381. "id": "id",
  382. "displayName": "id",
  383. "required": false,
  384. "defaultMatch": true,
  385. "display": true,
  386. "type": "string",
  387. "readOnly": true
  388. },
  389. {
  390. "id": "Name",
  391. "displayName": "Name",
  392. "required": false,
  393. "defaultMatch": false,
  394. "canBeUsedToMatch": true,
  395. "display": true,
  396. "type": "string",
  397. "readOnly": false,
  398. "removed": true
  399. },
  400. {
  401. "id": "Prompt",
  402. "displayName": "Prompt",
  403. "required": false,
  404. "defaultMatch": false,
  405. "canBeUsedToMatch": true,
  406. "display": true,
  407. "type": "string",
  408. "readOnly": false,
  409. "removed": true
  410. },
  411. {
  412. "id": "Video Link",
  413. "displayName": "Video Link",
  414. "required": false,
  415. "defaultMatch": false,
  416. "canBeUsedToMatch": true,
  417. "display": true,
  418. "type": "string",
  419. "readOnly": false,
  420. "removed": true
  421. },
  422. {
  423. "id": "Status",
  424. "displayName": "Status",
  425. "required": false,
  426. "defaultMatch": false,
  427. "canBeUsedToMatch": true,
  428. "display": true,
  429. "type": "options",
  430. "options": [
  431. {
  432. "name": "Generated",
  433. "value": "Generated"
  434. },
  435. {
  436. "name": "Ready To Post",
  437. "value": "Ready To Post"
  438. },
  439. {
  440. "name": "Completed",
  441. "value": "Completed"
  442. }
  443. ],
  444. "readOnly": false,
  445. "removed": true
  446. },
  447. {
  448. "id": "Tiktok",
  449. "displayName": "Tiktok",
  450. "required": false,
  451. "defaultMatch": false,
  452. "canBeUsedToMatch": true,
  453. "display": true,
  454. "type": "options",
  455. "options": [
  456. {
  457. "name": "Uploaded",
  458. "value": "Uploaded"
  459. }
  460. ],
  461. "readOnly": false,
  462. "removed": true
  463. },
  464. {
  465. "id": "Instagram",
  466. "displayName": "Instagram",
  467. "required": false,
  468. "defaultMatch": false,
  469. "canBeUsedToMatch": true,
  470. "display": true,
  471. "type": "options",
  472. "options": [
  473. {
  474. "name": "Uploaded",
  475. "value": "Uploaded"
  476. }
  477. ],
  478. "readOnly": false,
  479. "removed": false
  480. },
  481. {
  482. "id": "Youtube",
  483. "displayName": "Youtube",
  484. "required": false,
  485. "defaultMatch": false,
  486. "canBeUsedToMatch": true,
  487. "display": true,
  488. "type": "options",
  489. "options": [
  490. {
  491. "name": "Uploaded",
  492. "value": "Uploaded"
  493. }
  494. ],
  495. "readOnly": false,
  496. "removed": true
  497. },
  498. {
  499. "id": "Last Modified Time",
  500. "displayName": "Last Modified Time",
  501. "required": false,
  502. "defaultMatch": false,
  503. "canBeUsedToMatch": true,
  504. "display": true,
  505. "type": "string",
  506. "readOnly": true,
  507. "removed": false
  508. },
  509. {
  510. "id": "Created TIme",
  511. "displayName": "Created TIme",
  512. "required": false,
  513. "defaultMatch": false,
  514. "canBeUsedToMatch": true,
  515. "display": true,
  516. "type": "string",
  517. "readOnly": true,
  518. "removed": false
  519. },
  520. {
  521. "id": "Record ID",
  522. "displayName": "Record ID",
  523. "required": false,
  524. "defaultMatch": false,
  525. "canBeUsedToMatch": true,
  526. "display": true,
  527. "type": "string",
  528. "readOnly": true,
  529. "removed": false
  530. }
  531. ],
  532. "attemptToConvertTypes": false,
  533. "convertFieldsToString": false
  534. },
  535. "options": {}
  536. },
  537. "type": "n8n-nodes-base.airtable",
  538. "typeVersion": 2.1,
  539. "position": [
  540. 1380,
  541. 540
  542. ],
  543. "id": "1fd135b0-eff5-4cab-87ca-9b6a13e0f91a",
  544. "name": "Instagram Posted",
  545. "credentials": {
  546. "airtableTokenApi": {
  547. "id": "HlCvwpeDhqxCdX9c",
  548. "name": "Airtable Access 1"
  549. }
  550. }
  551. },
  552. {
  553. "parameters": {
  554. "operation": "search",
  555. "base": {
  556. "__rl": true,
  557. "value": "appJt0NXgy4Qdiwme",
  558. "mode": "list",
  559. "cachedResultName": "VEO 3 Videos",
  560. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme"
  561. },
  562. "table": {
  563. "__rl": true,
  564. "value": "tblH2A94diY7VjjH7",
  565. "mode": "list",
  566. "cachedResultName": "Videos",
  567. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme/tblH2A94diY7VjjH7"
  568. },
  569. "filterByFormula": "{Status} = \"Ready To Post\"",
  570. "returnAll": false,
  571. "limit": 1,
  572. "options": {},
  573. "sort": {
  574. "property": [
  575. {
  576. "field": "Status"
  577. }
  578. ]
  579. }
  580. },
  581. "type": "n8n-nodes-base.airtable",
  582. "typeVersion": 2.1,
  583. "position": [
  584. 100,
  585. 280
  586. ],
  587. "id": "51d212cb-d86e-4bb0-be17-30983f21d522",
  588. "name": "Search Record",
  589. "credentials": {
  590. "airtableTokenApi": {
  591. "id": "HlCvwpeDhqxCdX9c",
  592. "name": "Airtable Access 1"
  593. }
  594. }
  595. },
  596. {
  597. "parameters": {
  598. "resource": "video",
  599. "operation": "upload",
  600. "title": "={{ $('Publishing Agent').item.json.output.youtube.title }}",
  601. "regionCode": "SG",
  602. "categoryId": "1",
  603. "options": {
  604. "description": "={{ $('Publishing Agent').item.json.output.youtube.description }}"
  605. }
  606. },
  607. "type": "n8n-nodes-base.youTube",
  608. "typeVersion": 1,
  609. "position": [
  610. 920,
  611. 40
  612. ],
  613. "id": "b2a1c507-b87d-4823-b923-13c7689a4439",
  614. "name": "Youtube Post",
  615. "credentials": {
  616. "youTubeOAuth2Api": {
  617. "id": "INhltBeDLkn5aZ0Z",
  618. "name": "YouTube account"
  619. }
  620. }
  621. },
  622. {
  623. "parameters": {
  624. "operation": "update",
  625. "base": {
  626. "__rl": true,
  627. "value": "appJt0NXgy4Qdiwme",
  628. "mode": "list",
  629. "cachedResultName": "VEO 3 Videos",
  630. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme"
  631. },
  632. "table": {
  633. "__rl": true,
  634. "value": "tblH2A94diY7VjjH7",
  635. "mode": "list",
  636. "cachedResultName": "Videos",
  637. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme/tblH2A94diY7VjjH7"
  638. },
  639. "columns": {
  640. "mappingMode": "defineBelow",
  641. "value": {
  642. "id": "={{ $json.id }}",
  643. "Status": "Completed"
  644. },
  645. "matchingColumns": [
  646. "id"
  647. ],
  648. "schema": [
  649. {
  650. "id": "id",
  651. "displayName": "id",
  652. "required": false,
  653. "defaultMatch": true,
  654. "display": true,
  655. "type": "string",
  656. "readOnly": true,
  657. "removed": false
  658. },
  659. {
  660. "id": "Name",
  661. "displayName": "Name",
  662. "required": false,
  663. "defaultMatch": false,
  664. "canBeUsedToMatch": true,
  665. "display": true,
  666. "type": "string",
  667. "readOnly": false,
  668. "removed": true
  669. },
  670. {
  671. "id": "Prompt",
  672. "displayName": "Prompt",
  673. "required": false,
  674. "defaultMatch": false,
  675. "canBeUsedToMatch": true,
  676. "display": true,
  677. "type": "string",
  678. "readOnly": false,
  679. "removed": true
  680. },
  681. {
  682. "id": "Video Link",
  683. "displayName": "Video Link",
  684. "required": false,
  685. "defaultMatch": false,
  686. "canBeUsedToMatch": true,
  687. "display": true,
  688. "type": "string",
  689. "readOnly": false,
  690. "removed": true
  691. },
  692. {
  693. "id": "Status",
  694. "displayName": "Status",
  695. "required": false,
  696. "defaultMatch": false,
  697. "canBeUsedToMatch": true,
  698. "display": true,
  699. "type": "options",
  700. "options": [
  701. {
  702. "name": "Generated",
  703. "value": "Generated"
  704. },
  705. {
  706. "name": "Ready To Post",
  707. "value": "Ready To Post"
  708. },
  709. {
  710. "name": "Completed",
  711. "value": "Completed"
  712. }
  713. ],
  714. "readOnly": false,
  715. "removed": false
  716. },
  717. {
  718. "id": "Tiktok",
  719. "displayName": "Tiktok",
  720. "required": false,
  721. "defaultMatch": false,
  722. "canBeUsedToMatch": true,
  723. "display": true,
  724. "type": "options",
  725. "options": [
  726. {
  727. "name": "Uploaded",
  728. "value": "Uploaded"
  729. }
  730. ],
  731. "readOnly": false,
  732. "removed": true
  733. },
  734. {
  735. "id": "Instagram",
  736. "displayName": "Instagram",
  737. "required": false,
  738. "defaultMatch": false,
  739. "canBeUsedToMatch": true,
  740. "display": true,
  741. "type": "options",
  742. "options": [
  743. {
  744. "name": "Uploaded",
  745. "value": "Uploaded"
  746. }
  747. ],
  748. "readOnly": false,
  749. "removed": true
  750. },
  751. {
  752. "id": "Youtube",
  753. "displayName": "Youtube",
  754. "required": false,
  755. "defaultMatch": false,
  756. "canBeUsedToMatch": true,
  757. "display": true,
  758. "type": "options",
  759. "options": [
  760. {
  761. "name": "Uploaded",
  762. "value": "Uploaded"
  763. }
  764. ],
  765. "readOnly": false,
  766. "removed": true
  767. },
  768. {
  769. "id": "Last Modified Time",
  770. "displayName": "Last Modified Time",
  771. "required": false,
  772. "defaultMatch": false,
  773. "canBeUsedToMatch": true,
  774. "display": true,
  775. "type": "string",
  776. "readOnly": true,
  777. "removed": false
  778. },
  779. {
  780. "id": "Created TIme",
  781. "displayName": "Created TIme",
  782. "required": false,
  783. "defaultMatch": false,
  784. "canBeUsedToMatch": true,
  785. "display": true,
  786. "type": "string",
  787. "readOnly": true,
  788. "removed": false
  789. },
  790. {
  791. "id": "Record ID",
  792. "displayName": "Record ID",
  793. "required": false,
  794. "defaultMatch": false,
  795. "canBeUsedToMatch": true,
  796. "display": true,
  797. "type": "string",
  798. "readOnly": true,
  799. "removed": false
  800. }
  801. ],
  802. "attemptToConvertTypes": false,
  803. "convertFieldsToString": false
  804. },
  805. "options": {}
  806. },
  807. "type": "n8n-nodes-base.airtable",
  808. "typeVersion": 2.1,
  809. "position": [
  810. 1920,
  811. 280
  812. ],
  813. "id": "6bb5db42-3443-4be2-87ab-d25af8242c94",
  814. "name": "Video Published",
  815. "credentials": {
  816. "airtableTokenApi": {
  817. "id": "HlCvwpeDhqxCdX9c",
  818. "name": "Airtable Access 1"
  819. }
  820. }
  821. },
  822. {
  823. "parameters": {
  824. "method": "POST",
  825. "url": "https://api.upload-post.com/api/upload",
  826. "authentication": "genericCredentialType",
  827. "genericAuthType": "httpHeaderAuth",
  828. "sendBody": true,
  829. "contentType": "multipart-form-data",
  830. "bodyParameters": {
  831. "parameters": [
  832. {
  833. "name": "title",
  834. "value": "={{ $json.output.tiktok.description }}"
  835. },
  836. {
  837. "name": "user",
  838. "value": "tester123"
  839. },
  840. {
  841. "name": "platform[]",
  842. "value": "tiktok"
  843. },
  844. {
  845. "parameterType": "formBinaryData",
  846. "name": "video",
  847. "inputDataFieldName": "data"
  848. }
  849. ]
  850. },
  851. "options": {}
  852. },
  853. "type": "n8n-nodes-base.httpRequest",
  854. "typeVersion": 4.2,
  855. "position": [
  856. 920,
  857. 280
  858. ],
  859. "id": "f53befcd-02c9-401b-aa9a-09e8fa07049e",
  860. "name": "TikTok Post (NEW)",
  861. "retryOnFail": true,
  862. "waitBetweenTries": 5000,
  863. "credentials": {
  864. "httpHeaderAuth": {
  865. "id": "6OabG0dCCFNtUtzQ",
  866. "name": "Upload Post"
  867. }
  868. }
  869. },
  870. {
  871. "parameters": {
  872. "jsonSchemaExample": "{\n \"instagram\": {\n \"description\": \"...\"\n },\n \"youtube\": {\n \"title\": \"...\",\n \"description\": \"...\"\n },\n \"facebook\": {\n \"description\": \"...\"\n },\n \"tiktok\": {\n \"description\": \"...\"\n }\n}\n\n"
  873. },
  874. "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
  875. "typeVersion": 1.2,
  876. "position": [
  877. 420,
  878. 540
  879. ],
  880. "id": "655662fd-5c42-42a7-9f69-07d7dad326ea",
  881. "name": "Structured Output Parser1"
  882. },
  883. {
  884. "parameters": {
  885. "content": "## Youtube Agent\n",
  886. "height": 220,
  887. "width": 420,
  888. "color": 3
  889. },
  890. "type": "n8n-nodes-base.stickyNote",
  891. "typeVersion": 1,
  892. "position": [
  893. 880,
  894. -20
  895. ],
  896. "id": "a664a7c1-14d2-43d7-852c-23ca51a9a87a",
  897. "name": "Sticky Note5"
  898. },
  899. {
  900. "parameters": {
  901. "content": "## Instagram Agent\n- Make sure to update Instagram Page ID",
  902. "height": 220,
  903. "width": 680,
  904. "color": 4
  905. },
  906. "type": "n8n-nodes-base.stickyNote",
  907. "typeVersion": 1,
  908. "position": [
  909. 880,
  910. 460
  911. ],
  912. "id": "d1308adf-b91b-4efe-aea4-42c0c41b83fd",
  913. "name": "Sticky Note6"
  914. },
  915. {
  916. "parameters": {
  917. "amount": 60
  918. },
  919. "type": "n8n-nodes-base.wait",
  920. "typeVersion": 1.1,
  921. "position": [
  922. 1060,
  923. 540
  924. ],
  925. "id": "2a669752-bffe-45b3-8bbe-1bd0ba7010f0",
  926. "name": "Wait1",
  927. "webhookId": "d3016a86-f0c3-4edc-bd14-ebb7d987d62f"
  928. },
  929. {
  930. "parameters": {
  931. "content": "## TikTok Post",
  932. "height": 220,
  933. "width": 420
  934. },
  935. "type": "n8n-nodes-base.stickyNote",
  936. "typeVersion": 1,
  937. "position": [
  938. 880,
  939. 220
  940. ],
  941. "id": "efee70e1-02cf-4dcc-b560-b65fba81e1a7",
  942. "name": "Sticky Note9"
  943. },
  944. {
  945. "parameters": {
  946. "operation": "update",
  947. "base": {
  948. "__rl": true,
  949. "value": "appJt0NXgy4Qdiwme",
  950. "mode": "list",
  951. "cachedResultName": "VEO 3 Videos",
  952. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme"
  953. },
  954. "table": {
  955. "__rl": true,
  956. "value": "tblH2A94diY7VjjH7",
  957. "mode": "list",
  958. "cachedResultName": "Videos",
  959. "cachedResultUrl": "https://airtable.com/appJt0NXgy4Qdiwme/tblH2A94diY7VjjH7"
  960. },
  961. "columns": {
  962. "mappingMode": "defineBelow",
  963. "value": {
  964. "id": "={{ $('Search Record').item.json.id }}",
  965. "Tiktok": "Uploaded"
  966. },
  967. "matchingColumns": [
  968. "id"
  969. ],
  970. "schema": [
  971. {
  972. "id": "id",
  973. "displayName": "id",
  974. "required": false,
  975. "defaultMatch": true,
  976. "display": true,
  977. "type": "string",
  978. "readOnly": true
  979. },
  980. {
  981. "id": "Name",
  982. "displayName": "Name",
  983. "required": false,
  984. "defaultMatch": false,
  985. "canBeUsedToMatch": true,
  986. "display": true,
  987. "type": "string",
  988. "readOnly": false,
  989. "removed": true
  990. },
  991. {
  992. "id": "Prompt",
  993. "displayName": "Prompt",
  994. "required": false,
  995. "defaultMatch": false,
  996. "canBeUsedToMatch": true,
  997. "display": true,
  998. "type": "string",
  999. "readOnly": false,
  1000. "removed": true
  1001. },
  1002. {
  1003. "id": "Video Link",
  1004. "displayName": "Video Link",
  1005. "required": false,
  1006. "defaultMatch": false,
  1007. "canBeUsedToMatch": true,
  1008. "display": true,
  1009. "type": "string",
  1010. "readOnly": false,
  1011. "removed": true
  1012. },
  1013. {
  1014. "id": "Status",
  1015. "displayName": "Status",
  1016. "required": false,
  1017. "defaultMatch": false,
  1018. "canBeUsedToMatch": true,
  1019. "display": true,
  1020. "type": "options",
  1021. "options": [
  1022. {
  1023. "name": "Generated",
  1024. "value": "Generated"
  1025. },
  1026. {
  1027. "name": "Ready To Post",
  1028. "value": "Ready To Post"
  1029. },
  1030. {
  1031. "name": "Completed",
  1032. "value": "Completed"
  1033. }
  1034. ],
  1035. "readOnly": false,
  1036. "removed": true
  1037. },
  1038. {
  1039. "id": "Tiktok",
  1040. "displayName": "Tiktok",
  1041. "required": false,
  1042. "defaultMatch": false,
  1043. "canBeUsedToMatch": true,
  1044. "display": true,
  1045. "type": "options",
  1046. "options": [
  1047. {
  1048. "name": "Uploaded",
  1049. "value": "Uploaded"
  1050. }
  1051. ],
  1052. "readOnly": false,
  1053. "removed": false
  1054. },
  1055. {
  1056. "id": "Instagram",
  1057. "displayName": "Instagram",
  1058. "required": false,
  1059. "defaultMatch": false,
  1060. "canBeUsedToMatch": true,
  1061. "display": true,
  1062. "type": "options",
  1063. "options": [
  1064. {
  1065. "name": "Uploaded",
  1066. "value": "Uploaded"
  1067. }
  1068. ],
  1069. "readOnly": false,
  1070. "removed": true
  1071. },
  1072. {
  1073. "id": "Youtube",
  1074. "displayName": "Youtube",
  1075. "required": false,
  1076. "defaultMatch": false,
  1077. "canBeUsedToMatch": true,
  1078. "display": true,
  1079. "type": "options",
  1080. "options": [
  1081. {
  1082. "name": "Uploaded",
  1083. "value": "Uploaded"
  1084. }
  1085. ],
  1086. "readOnly": false,
  1087. "removed": true
  1088. },
  1089. {
  1090. "id": "Last Modified Time",
  1091. "displayName": "Last Modified Time",
  1092. "required": false,
  1093. "defaultMatch": false,
  1094. "canBeUsedToMatch": true,
  1095. "display": true,
  1096. "type": "string",
  1097. "readOnly": true,
  1098. "removed": false
  1099. },
  1100. {
  1101. "id": "Created TIme",
  1102. "displayName": "Created TIme",
  1103. "required": false,
  1104. "defaultMatch": false,
  1105. "canBeUsedToMatch": true,
  1106. "display": true,
  1107. "type": "string",
  1108. "readOnly": true,
  1109. "removed": false
  1110. },
  1111. {
  1112. "id": "Record ID",
  1113. "displayName": "Record ID",
  1114. "required": false,
  1115. "defaultMatch": false,
  1116. "canBeUsedToMatch": true,
  1117. "display": true,
  1118. "type": "string",
  1119. "readOnly": true,
  1120. "removed": false
  1121. }
  1122. ],
  1123. "attemptToConvertTypes": false,
  1124. "convertFieldsToString": false
  1125. },
  1126. "options": {}
  1127. },
  1128. "type": "n8n-nodes-base.airtable",
  1129. "typeVersion": 2.1,
  1130. "position": [
  1131. 1080,
  1132. 280
  1133. ],
  1134. "id": "73f05c6b-2857-4c3c-8528-72fbdaf4b5a7",
  1135. "name": "TikTok Posted",
  1136. "credentials": {
  1137. "airtableTokenApi": {
  1138. "id": "HlCvwpeDhqxCdX9c",
  1139. "name": "Airtable Access 1"
  1140. }
  1141. }
  1142. },
  1143. {
  1144. "parameters": {
  1145. "operation": "download",
  1146. "fileId": {
  1147. "__rl": true,
  1148. "value": "={{ $('Search Record').item.json['Video Link'] }}",
  1149. "mode": "url"
  1150. },
  1151. "options": {}
  1152. },
  1153. "type": "n8n-nodes-base.googleDrive",
  1154. "typeVersion": 3,
  1155. "position": [
  1156. 600,
  1157. 260
  1158. ],
  1159. "id": "b9668e06-451c-4c53-8d71-56b29f61e60f",
  1160. "name": "Download Final Vid",
  1161. "credentials": {
  1162. "googleDriveOAuth2Api": {
  1163. "id": "9WRrz2c8ZemVzlPL",
  1164. "name": "Google Drive account 2"
  1165. }
  1166. }
  1167. },
  1168. {
  1169. "parameters": {
  1170. "options": {}
  1171. },
  1172. "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
  1173. "typeVersion": 1,
  1174. "position": [
  1175. 240,
  1176. 540
  1177. ],
  1178. "id": "49078360-0821-48e9-bba6-6f7e921335c3",
  1179. "name": "gpt4o mini",
  1180. "credentials": {
  1181. "openRouterApi": {
  1182. "id": "y1vjMptfuqUZLu87",
  1183. "name": "Openrouter Key 1"
  1184. }
  1185. }
  1186. },
  1187. {
  1188. "parameters": {
  1189. "mode": "combine",
  1190. "combineBy": "combineByPosition",
  1191. "numberInputs": 3,
  1192. "options": {}
  1193. },
  1194. "type": "n8n-nodes-base.merge",
  1195. "typeVersion": 3.1,
  1196. "position": [
  1197. 1480,
  1198. 280
  1199. ],
  1200. "id": "24c340fd-c4f3-4b26-a7cf-8246c102478a",
  1201. "name": "Merge"
  1202. },
  1203. {
  1204. "parameters": {
  1205. "content": "## Publishing Agent Team\n- Watch this video to set up API: https://www.youtube.com/watch?v=BWEKvAPPUYk ",
  1206. "height": 800,
  1207. "width": 2820,
  1208. "color": 7
  1209. },
  1210. "type": "n8n-nodes-base.stickyNote",
  1211. "typeVersion": 1,
  1212. "position": [
  1213. -400,
  1214. -60
  1215. ],
  1216. "id": "2d85f255-01a2-451b-b65a-89a5c4702ce0",
  1217. "name": "Sticky Note3"
  1218. },
  1219. {
  1220. "parameters": {
  1221. "method": "POST",
  1222. "url": "https://api.cloudinary.com/v1_1/dhwdlspyq/upload",
  1223. "authentication": "genericCredentialType",
  1224. "genericAuthType": "httpBasicAuth",
  1225. "sendBody": true,
  1226. "contentType": "multipart-form-data",
  1227. "bodyParameters": {
  1228. "parameters": [
  1229. {
  1230. "parameterType": "formBinaryData",
  1231. "name": "file",
  1232. "inputDataFieldName": "=data"
  1233. },
  1234. {
  1235. "name": "upload_preset",
  1236. "value": "n8n_upload"
  1237. }
  1238. ]
  1239. },
  1240. "options": {}
  1241. },
  1242. "type": "n8n-nodes-base.httpRequest",
  1243. "typeVersion": 4.2,
  1244. "position": [
  1245. 680,
  1246. 520
  1247. ],
  1248. "id": "07d4be28-f5a3-42f3-92cd-e2013ed3eb8e",
  1249. "name": "Upload To Cloudinary (Update URL with key)",
  1250. "credentials": {
  1251. "httpHeaderAuth": {
  1252. "id": "jRDusgPWYlKZodhd",
  1253. "name": "Runway"
  1254. },
  1255. "httpBasicAuth": {
  1256. "id": "ZGYLJUR6PAnlFnLj",
  1257. "name": "Cloudinary"
  1258. }
  1259. }
  1260. },
  1261. {
  1262. "parameters": {
  1263. "workflowInputs": {
  1264. "values": [
  1265. {
  1266. "name": "Post"
  1267. }
  1268. ]
  1269. }
  1270. },
  1271. "type": "n8n-nodes-base.executeWorkflowTrigger",
  1272. "typeVersion": 1.1,
  1273. "position": [
  1274. -320,
  1275. 300
  1276. ],
  1277. "id": "7e933be5-b5fb-40ed-9334-2927ab7acb09",
  1278. "name": "When Executed by Another Workflow"
  1279. },
  1280. {
  1281. "parameters": {
  1282. "conditions": {
  1283. "options": {
  1284. "caseSensitive": true,
  1285. "leftValue": "",
  1286. "typeValidation": "strict",
  1287. "version": 2
  1288. },
  1289. "conditions": [
  1290. {
  1291. "id": "94c686ec-b9a5-4467-872a-d17a27ee215c",
  1292. "leftValue": "={{ $json.Post }}",
  1293. "rightValue": "true",
  1294. "operator": {
  1295. "type": "string",
  1296. "operation": "equals",
  1297. "name": "filter.operator.equals"
  1298. }
  1299. }
  1300. ],
  1301. "combinator": "and"
  1302. },
  1303. "options": {}
  1304. },
  1305. "type": "n8n-nodes-base.if",
  1306. "typeVersion": 2.2,
  1307. "position": [
  1308. -120,
  1309. 300
  1310. ],
  1311. "id": "503480a5-0190-46ca-8697-a7dd50e9f79c",
  1312. "name": "If1"
  1313. },
  1314. {
  1315. "parameters": {
  1316. "operation": "download",
  1317. "fileId": {
  1318. "__rl": true,
  1319. "value": "={{ $json.fields['Video Link'] }}",
  1320. "mode": "url"
  1321. },
  1322. "options": {}
  1323. },
  1324. "type": "n8n-nodes-base.googleDrive",
  1325. "typeVersion": 3,
  1326. "position": [
  1327. 2100,
  1328. 280
  1329. ],
  1330. "id": "2c622687-cdc7-4c02-8e57-2adc87999b01",
  1331. "name": "Google Drive",
  1332. "credentials": {
  1333. "googleDriveOAuth2Api": {
  1334. "id": "9WRrz2c8ZemVzlPL",
  1335. "name": "Google Drive account 2"
  1336. }
  1337. }
  1338. },
  1339. {
  1340. "parameters": {
  1341. "operation": "sendVideo",
  1342. "chatId": "{insert chat id}",
  1343. "binaryData": true,
  1344. "additionalFields": {
  1345. "caption": "=Your Video: {{ $json.fields.Name }} has been posted onto TikTok, Instagram and Youtube!"
  1346. }
  1347. },
  1348. "type": "n8n-nodes-base.telegram",
  1349. "typeVersion": 1.2,
  1350. "position": [
  1351. 2280,
  1352. 280
  1353. ],
  1354. "id": "4b420927-b30d-4a18-ba30-527f764db71e",
  1355. "name": "Reply Telegram (update chat id)",
  1356. "webhookId": "1da1ccf6-ea34-4ffe-9f0d-76ffbd2a327a",
  1357. "credentials": {
  1358. "telegramApi": {
  1359. "id": "rajpDvuc5KDPLJEx",
  1360. "name": "Veo Video Agent"
  1361. }
  1362. }
  1363. }
  1364. ],
  1365. "pinData": {},
  1366. "connections": {
  1367. "Create Container": {
  1368. "main": [
  1369. [
  1370. {
  1371. "node": "Wait1",
  1372. "type": "main",
  1373. "index": 0
  1374. }
  1375. ]
  1376. ]
  1377. },
  1378. "Instagram POST": {
  1379. "main": [
  1380. [
  1381. {
  1382. "node": "Instagram Posted",
  1383. "type": "main",
  1384. "index": 0
  1385. }
  1386. ]
  1387. ]
  1388. },
  1389. "Publishing Agent": {
  1390. "main": [
  1391. [
  1392. {
  1393. "node": "Download Final Vid",
  1394. "type": "main",
  1395. "index": 0
  1396. }
  1397. ]
  1398. ]
  1399. },
  1400. "If": {
  1401. "main": [
  1402. [
  1403. {
  1404. "node": "Video Published",
  1405. "type": "main",
  1406. "index": 0
  1407. }
  1408. ]
  1409. ]
  1410. },
  1411. "Youtube Posted": {
  1412. "main": [
  1413. [
  1414. {
  1415. "node": "Merge",
  1416. "type": "main",
  1417. "index": 0
  1418. }
  1419. ]
  1420. ]
  1421. },
  1422. "Instagram Posted": {
  1423. "main": [
  1424. [
  1425. {
  1426. "node": "Merge",
  1427. "type": "main",
  1428. "index": 2
  1429. }
  1430. ]
  1431. ]
  1432. },
  1433. "Search Record": {
  1434. "main": [
  1435. [
  1436. {
  1437. "node": "Publishing Agent",
  1438. "type": "main",
  1439. "index": 0
  1440. }
  1441. ]
  1442. ]
  1443. },
  1444. "Youtube Post": {
  1445. "main": [
  1446. [
  1447. {
  1448. "node": "Youtube Posted",
  1449. "type": "main",
  1450. "index": 0
  1451. }
  1452. ]
  1453. ]
  1454. },
  1455. "TikTok Post (NEW)": {
  1456. "main": [
  1457. [
  1458. {
  1459. "node": "TikTok Posted",
  1460. "type": "main",
  1461. "index": 0
  1462. }
  1463. ]
  1464. ]
  1465. },
  1466. "Structured Output Parser1": {
  1467. "ai_outputParser": [
  1468. [
  1469. {
  1470. "node": "Publishing Agent",
  1471. "type": "ai_outputParser",
  1472. "index": 0
  1473. }
  1474. ]
  1475. ]
  1476. },
  1477. "Wait1": {
  1478. "main": [
  1479. [
  1480. {
  1481. "node": "Instagram POST",
  1482. "type": "main",
  1483. "index": 0
  1484. }
  1485. ]
  1486. ]
  1487. },
  1488. "TikTok Posted": {
  1489. "main": [
  1490. [
  1491. {
  1492. "node": "Merge",
  1493. "type": "main",
  1494. "index": 1
  1495. }
  1496. ]
  1497. ]
  1498. },
  1499. "Download Final Vid": {
  1500. "main": [
  1501. [
  1502. {
  1503. "node": "TikTok Post (NEW)",
  1504. "type": "main",
  1505. "index": 0
  1506. },
  1507. {
  1508. "node": "Upload To Cloudinary (Update URL with key)",
  1509. "type": "main",
  1510. "index": 0
  1511. },
  1512. {
  1513. "node": "Youtube Post",
  1514. "type": "main",
  1515. "index": 0
  1516. }
  1517. ]
  1518. ]
  1519. },
  1520. "gpt4o mini": {
  1521. "ai_languageModel": [
  1522. [
  1523. {
  1524. "node": "Publishing Agent",
  1525. "type": "ai_languageModel",
  1526. "index": 0
  1527. }
  1528. ]
  1529. ]
  1530. },
  1531. "Merge": {
  1532. "main": [
  1533. [
  1534. {
  1535. "node": "If",
  1536. "type": "main",
  1537. "index": 0
  1538. }
  1539. ]
  1540. ]
  1541. },
  1542. "Upload To Cloudinary (Update URL with key)": {
  1543. "main": [
  1544. [
  1545. {
  1546. "node": "Create Container",
  1547. "type": "main",
  1548. "index": 0
  1549. }
  1550. ]
  1551. ]
  1552. },
  1553. "When Executed by Another Workflow": {
  1554. "main": [
  1555. [
  1556. {
  1557. "node": "If1",
  1558. "type": "main",
  1559. "index": 0
  1560. }
  1561. ]
  1562. ]
  1563. },
  1564. "If1": {
  1565. "main": [
  1566. [
  1567. {
  1568. "node": "Search Record",
  1569. "type": "main",
  1570. "index": 0
  1571. }
  1572. ]
  1573. ]
  1574. },
  1575. "Video Published": {
  1576. "main": [
  1577. [
  1578. {
  1579. "node": "Google Drive",
  1580. "type": "main",
  1581. "index": 0
  1582. }
  1583. ]
  1584. ]
  1585. },
  1586. "Google Drive": {
  1587. "main": [
  1588. [
  1589. {
  1590. "node": "Reply Telegram (update chat id)",
  1591. "type": "main",
  1592. "index": 0
  1593. }
  1594. ]
  1595. ]
  1596. }
  1597. },
  1598. "active": false,
  1599. "settings": {
  1600. "executionOrder": "v1"
  1601. },
  1602. "versionId": "b9bb1bcd-b6fd-4e9d-9a59-837c4e86170d",
  1603. "meta": {
  1604. "templateCredsSetupCompleted": true,
  1605. "instanceId": "d8c459f4ebcadd20c3258ade09582fe0f02de933363f6184259e0c9a36784090"
  1606. },
  1607. "id": "H2seyBKPJZp9APpm",
  1608. "tags": [
  1609. {
  1610. "createdAt": "2025-06-09T07:35:33.006Z",
  1611. "updatedAt": "2025-06-09T07:35:33.006Z",
  1612. "id": "OozOX9dMuHatAFQJ",
  1613. "name": "W18: VEO 3 Video"
  1614. }
  1615. ]
  1616. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement