Task: LinkedIn carousel - Growth Elite

n8n workflow JSON:
{"meta":{"instanceId":"f0a68da631efd4ed052a324b63ff90f7a844426af0398a68338f44245d1dd9e5"},"nodes":[{"id":"05cc8694-0088-4945-a881-b7b13abcea2e","name":"When clicking \"Execute Workflow\"","type":"n8n-nodes-base.manualTrigger","position":[300,1220],"parameters":{},"typeVersion":1},{"id":"100e6302-328d-4598-9d66-b9dde2d03364","name":"Google Sheets","type":"n8n-nodes-base.googleSheets","position":[480,1220],"parameters":{"options":{},"sheetName":{"__rl":true,"mode":"list","value":102114863,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=102114863","cachedResultName":"Final_prompt"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"}},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"e462affc-23e4-4990-b5eb-b886bb9ae4f4","name":"OpenAI","type":"n8n-nodes-base.openAi","position":[640,1220],"parameters":{"model":"=text-davinci-003","prompt":"={{ $json[\"Final_prompt_to_use\"] }}","options":{"maxTokens":600}},"credentials":{"openAiApi":{"id":"67","name":"Lucas Open AI"}},"typeVersion":1},{"id":"3725069c-605c-40b8-ad4a-58ff8db9dc2a","name":"Content 1","type":"n8n-nodes-base.googleSheets","position":[1340,740],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_1\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"1","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"322b17bb-b2fb-4966-8df9-40208eb6e302","name":"Content 3","type":"n8n-nodes-base.googleSheets","position":[1340,1060],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_3\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"3","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"201a1b20-530d-41a0-b10e-f4a0f46ef89c","name":"Content 4","type":"n8n-nodes-base.googleSheets","position":[1340,1220],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_4\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"4","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"fef55072-6bcb-439c-86c4-01a1b977e532","name":"Content 5","type":"n8n-nodes-base.googleSheets","position":[1340,1380],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_5\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"5","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"642816a6-882d-46f7-a00a-be838f67fbfc","name":"Content 2","type":"n8n-nodes-base.googleSheets","position":[1340,900],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_2\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"2","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"14b77e22-b139-4c20-82e3-1c9fc598a59a","name":"IF 4","type":"n8n-nodes-base.if","position":[1120,1240],"parameters":{"conditions":{"string":[{"value1":"={{ $json[\"text\"] }}","value2":"content_4","operation":"contains"}]}},"typeVersion":1},{"id":"90d5bae3-f0e0-496c-a271-f6625b35619f","name":"IF 5","type":"n8n-nodes-base.if","position":[1120,1400],"parameters":{"conditions":{"string":[{"value1":"={{ $json[\"text\"] }}","value2":"content_5","operation":"contains"}]}},"typeVersion":1},{"id":"289de967-278c-438a-8008-f47cb8cf7088","name":"IF 6","type":"n8n-nodes-base.if","position":[1120,1560],"parameters":{"conditions":{"string":[{"value1":"={{ $json[\"text\"] }}","value2":"content_6","operation":"contains"}]}},"typeVersion":1},{"id":"5a1ae1ab-ac4b-4d80-afed-59b14b6e79a6","name":"IF 7","type":"n8n-nodes-base.if","position":[1120,1720],"parameters":{"conditions":{"string":[{"value1":"={{ $json[\"text\"] }}","value2":"content_7","operation":"contains"}]}},"typeVersion":1},{"id":"54d38741-c14d-469b-b228-919b5b51bc1e","name":"IF 8","type":"n8n-nodes-base.if","position":[1120,1880],"parameters":{"conditions":{"string":[{"value1":"={{ $json[\"text\"] }}","value2":"content_8","operation":"contains"}]}},"typeVersion":1},{"id":"dbb38b47-3497-44fa-81ef-4ecb5fd8746e","name":"IF 9","type":"n8n-nodes-base.if","position":[1120,2040],"parameters":{"conditions":{"string":[{"value1":"={{ $json[\"text\"] }}","value2":"content_9","operation":"contains"}]}},"typeVersion":1},{"id":"e99cfc82-ad86-47a0-9922-f75ce46e1580","name":"IF 10","type":"n8n-nodes-base.if","position":[1120,2200],"parameters":{"conditions":{"string":[{"value1":"={{ $json[\"text\"] }}","value2":"content_9","operation":"contains"}]}},"typeVersion":1},{"id":"829076fc-a916-449f-939c-43f1bbedc8be","name":"Content 6","type":"n8n-nodes-base.googleSheets","position":[1340,1540],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_6\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"6","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"2616c156-c639-4364-bc1d-45a58a8b6ff2","name":"Content 7","type":"n8n-nodes-base.googleSheets","position":[1340,1700],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_5\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"5","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"8b52aca6-e912-4bf3-96a2-0a2b5e51b028","name":"Content 8","type":"n8n-nodes-base.googleSheets","position":[1340,1860],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_8\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"8","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"59d7199c-8e14-46f9-b2db-6c2696a48cea","name":"Content 9","type":"n8n-nodes-base.googleSheets","position":[1340,2020],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_9\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"9","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"ba2c13c6-c000-4a7a-bc88-eb9ad5575778","name":"Content 10","type":"n8n-nodes-base.googleSheets","position":[1340,2180],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"content_10\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"10","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"7c331cf9-d159-43f7-9384-5820c5646ecd","name":"Content title","type":"n8n-nodes-base.googleSheets","position":[1340,580],"parameters":{"options":{},"fieldsUi":{"values":[{"column":"#description","fieldValue":"={{ $json[\"title\"] }}"}]},"operation":"update","sheetName":{"__rl":true,"mode":"list","value":668487545,"cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit#gid=668487545","cachedResultName":"Content"},"documentId":{"__rl":true,"mode":"list","value":"1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc","cachedResultUrl":"https://docs.google.com/spreadsheets/d/1Y9ANGbg9GJfiIk9o1kGdYdViBGJ9pO2FFlVg2lynXRc/edit?usp=drivesdk","cachedResultName":"Linkedin carousel"},"valueToMatchOn":"title","columnToMatchOn":"#number"},"credentials":{"googleSheetsOAuth2Api":{"id":"108","name":"Google Sheets account Lucille"}},"typeVersion":3},{"id":"4573f9ee-fd96-4781-a303-276fa9bc6243","name":"Code","type":"n8n-nodes-base.code","position":[800,1220],"parameters":{"mode":"runOnceForEachItem","jsCode":"$input.item.json.title=JSON.parse($input.item.json.text).title\n\n$input.item.json.content_1=JSON.parse($input.item.json.text).content_1\n\n$input.item.json.content_2=JSON.parse($input.item.json.text).content_2\n\n$input.item.json.content_3=JSON.parse($input.item.json.text).content_3\n\nif(JSON.parse($input.item.json.text).content_4){\n\n  $input.item.json.content_4=JSON.parse($input.item.json.text).content_4\n\n  if(JSON.parse($input.item.json.text).content_5){\n  \n    $input.item.json.content_5=JSON.parse($input.item.json.text).content_5\n\n    if(JSON.parse($input.item.json.text).content_6){\n  \n      $input.item.json.content_6=JSON.parse($input.item.json.text).content_6\n  \n      if(JSON.parse($input.item.json.text).content_7){\n    \n        $input.item.json.content_7=JSON.parse($input.item.json.text).content_7\n  \n        if(JSON.parse($input.item.json.text).content_8){\n    \n          $input.item.json.content_8=JSON.parse($input.item.json.text).content_8\n  \n          if(JSON.parse($input.item.json.text).content_9){\n    \n            $input.item.json.content_9=JSON.parse($input.item.json.text).content_9\n  \n            if(JSON.parse($input.item.json.text).content_10){\n    \n                $input.item.json.content_10=JSON.parse($input.item.json.text).content_10\n            }\n          }\n        }\n      }\n    }\n  }  \n}\n\n\nreturn $input.item;"},"typeVersion":1}],"connections":{"Code":{"main":[[{"node":"Content 1","type":"main","index":0},{"node":"Content 2","type":"main","index":0},{"node":"Content 3","type":"main","index":0},{"node":"IF 4","type":"main","index":0},{"node":"IF 5","type":"main","index":0},{"node":"IF 6","type":"main","index":0},{"node":"IF 7","type":"main","index":0},{"node":"IF 8","type":"main","index":0},{"node":"IF 9","type":"main","index":0},{"node":"IF 10","type":"main","index":0},{"node":"Content title","type":"main","index":0}]]},"IF 4":{"main":[[{"node":"Content 4","type":"main","index":0}]]},"IF 5":{"main":[[{"node":"Content 5","type":"main","index":0}]]},"IF 6":{"main":[[{"node":"Content 6","type":"main","index":0}]]},"IF 7":{"main":[[{"node":"Content 7","type":"main","index":0}]]},"IF 8":{"main":[[{"node":"Content 8","type":"main","index":0}]]},"IF 9":{"main":[[{"node":"Content 9","type":"main","index":0}]]},"IF 10":{"main":[[{"node":"Content 10","type":"main","index":0}]]},"OpenAI":{"main":[[{"node":"Code","type":"main","index":0}]]},"Google Sheets":{"main":[[{"node":"OpenAI","type":"main","index":0}]]},"When clicking \"Execute Workflow\"":{"main":[[{"node":"Google Sheets","type":"main","index":0}]]}}}