{ "name": "LinkedIn Tuto", "nodes": [ { "parameters": { "postAs": "organization", "organization": "110611248", "text": "={{ $('Edit Fields2').item.json['post content'] }}", "shareMediaCategory": "IMAGE", "additionalFields": { "title": "={{ $('Edit Fields2').item.json['post title'] }}" } }, "type": "n8n-nodes-base.linkedIn", "typeVersion": 1, "position": [ 512, 1368 ], "id": "5cd5a6ed-3880-4dc8-97a3-b4906042165a", "name": "Create a post", "executeOnce": false, "retryOnFail": true, "credentials": { "linkedInOAuth2Api": { "id": "b4ryZAVzV7G440A4", "name": "LinkedIn account 2" } } }, { "parameters": { "resource": "image", "operation": "analyze", "modelId": { "__rl": true, "value": "chatgpt-4o-latest", "mode": "list", "cachedResultName": "CHATGPT-4O-LATEST" }, "text": "=describe the picture as you would to a customer", "inputType": "base64", "options": { "detail": "auto" } }, "type": "@n8n/n8n-nodes-langchain.openAi", "typeVersion": 2.1, "position": [ -864, 1368 ], "id": "d0ce001e-cce8-4332-bede-098e068290fb", "name": "Analyze image", "credentials": { "openAiApi": { "id": "k9LlgnkWoOMbNkRw", "name": "OpenAi account 5" } } }, { "parameters": { "jsonSchemaExample": "[{\n \"title\": \"AI as Your First Content Hire: Why Founders Shouldn't Wait to Outsource Creation\",\n \"rationale\": \"Most solopreneurs delay content scaling because they think hiring a ghostwriter is the next step — but AI can handle 80% with proper systems. This shifts content from a creative bottleneck to a scalable growth lever.\",\n \"hook\": \"Ghostwriters are outdated. Train GPT once, and it ships LinkedIn gold in your voice daily. Welcome to hands-free thought leadership.\"\n }]" }, "id": "1b61df73-666d-4336-8986-0606398abb92", "name": "Structured Output Parser", "type": "@n8n/n8n-nodes-langchain.outputParserStructured", "position": [ -504, 1488 ], "typeVersion": 1.2 }, { "parameters": { "model": { "__rl": true, "value": "gpt-3.5-turbo", "mode": "list", "cachedResultName": "gpt-3.5-turbo" }, "options": {} }, "id": "a8e4c112-162d-4e72-8f41-a49822cf0f96", "name": "OpenAI Chat Model3", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [ -632, 1488 ], "typeVersion": 1.2, "credentials": { "openAiApi": { "id": "k9LlgnkWoOMbNkRw", "name": "OpenAi account 5" } } }, { "parameters": { "model": { "__rl": true, "mode": "list", "value": "gpt-4o-mini" }, "options": {} }, "id": "b889443a-d739-4c1d-81c6-2ff94671962b", "name": "OpenAI Chat Model4", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [ -280, 1488 ], "typeVersion": 1.2, "credentials": { "openAiApi": { "id": "k9LlgnkWoOMbNkRw", "name": "OpenAi account 5" } } }, { "parameters": { "jsonSchemaExample": "{\n \"post title\": \"Exciting New Feature Launch 🚀\",\n \"post content\": \"After months of collaboration, testing, and fine-tuning, we're thrilled to introduce our latest product feature: Smart Insights. It helps users uncover meaningful patterns in their data with just a few clicks. This wouldn't have been possible without our incredible team and supportive community. We're excited for what's next — and we'd love your feedback!\",\n \"image description\": \"A laptop screen showcasing the new Smart Insights dashboard with colorful charts and graphs, surrounded by a team clapping in the background.\"\n}" }, "id": "8c8da7d2-41f4-45fb-a517-cfd1f8f888a8", "name": "Structured Output Parser3", "type": "@n8n/n8n-nodes-langchain.outputParserStructured", "position": [ -152, 1488 ], "typeVersion": 1.2 }, { "parameters": { "path": "a8156809-15c0-4dd8-8cfc-1c50338e0c8f", "responseMode": "lastNode", "options": {} }, "type": "n8n-nodes-base.webhook", "typeVersion": 2.1, "position": [ -1296, 3568 ], "id": "8c20ee7e-4496-440e-8067-ac7591766206", "name": "Webhook", "webhookId": "a8156809-15c0-4dd8-8cfc-1c50338e0c8f", "disabled": true }, { "parameters": { "assignments": { "assignments": [ { "id": "30209955-be04-4f09-b95c-cb84541b6ac7", "name": "LinkedIn-ID", "value": "8635icza92ucav", "type": "string" }, { "id": "6cb74dcb-814e-4684-86d5-71410236deda", "name": "LinkedIn-Client_secret", "value": "WPL_AP1.OZTIKuG1hX34ZBL4.0WsyLA==", "type": "string" }, { "id": "218e07dd-c442-4e25-9e7f-58e405004025", "name": "LinkedIn-Redirect_URL", "value": "https://dealhunter.app.n8n.cloud/webhook/a8156809-15c0-4dd8-8cfc-1c50338e0c8f", "type": "string" }, { "id": "ff0fb045-f31d-4a82-a58a-60faf1a2a156", "name": "Post-comentary", "value": "test", "type": "string" }, { "id": "fea380b0-3970-4a84-9d04-36f6a5489c9d", "name": "=Image-Binary_Property", "value": "image", "type": "string" } ] }, "options": {} }, "type": "n8n-nodes-base.set", "typeVersion": 3.4, "position": [ -1072, 3568 ], "id": "1e2280ca-02ed-498c-9764-6cd0f7385d17", "name": "Edit Fields1", "disabled": true }, { "parameters": { "url": "=https://api.linkedin.com/v2/userinfo", "authentication": "predefinedCredentialType", "nodeCredentialType": "linkedInOAuth2Api", "sendHeaders": true, "headerParameters": { "parameters": [ { "name": "Authorization", "value": "Bearer AQXP8_8PtQnGWBXt01MBzVDMp3QQyV9JbvMSpblsQTcWpuqNGD-xdubtG1eq9gI4Zhn2gPU82NlW_kp76ryQEGmapzn4dLvpV6HuH5BLKhLMXGRKc3zqi1jj6YLcFtQPww8ensOgrV3DNEf8U2Wh3dwLSSTcLYWB50LdLtgH9QgefEHkz-pdA_hUo0AWK3PpLMfqe1tZGKMCivIYB9kJ2K5RL7SnXAq6s6eSt58sLaddT3SFb4xWs4Fmrj7bNhAlIkQiDILjXCx4Wxs_Hk3pVK3LEOjWbGlsePBPIPaeAws1BYIb8QHQm4Bosvf2vAvaR9P8i5vueRRWW2gCOzkrTQ6fpVLtMQ" } ] }, "options": { "response": { "response": {} } } }, "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.3, "position": [ -624, 3568 ], "id": "06709c87-5d2a-4e48-83cb-dee72f9ad5ab", "name": "HTTP Request1", "credentials": { "httpBearerAuth": { "id": "aR24yp3YR0PKFjGv", "name": "Bearer Auth account 2" }, "linkedInOAuth2Api": { "id": "b4ryZAVzV7G440A4", "name": "LinkedIn account 2" } }, "disabled": true }, { "parameters": { "url": "https://www.linkedin.com/oauth/v2/accessToken", "authentication": "predefinedCredentialType", "nodeCredentialType": "linkedInOAuth2Api", "sendBody": true, "contentType": "form-urlencoded", "bodyParameters": { "parameters": [ { "name": "grant_type", "value": "authorization_code" }, { "name": "code", "value": "={{ $('Webhook').item.json.query.code }}" }, { "name": "client_id", "value": "={{ $json['LinkedIn-ID'] }}" }, { "name": "client_secret", "value": "={{ $json['LinkedIn-Client_secret'] }}" }, { "name": "redirect_uri", "value": "={{ $json['LinkedIn-Redirect_URL'] }}" } ] }, "options": {} }, "type": "n8n-nodes-base.httpRequest", "typeVersion": 4.3, "position": [ -848, 3568 ], "id": "cec7a88e-b4e8-4b1c-ace5-54d1d2ed4753", "name": "Get Access Token", "credentials": { "linkedInOAuth2Api": { "id": "b4ryZAVzV7G440A4", "name": "LinkedIn account 2" } }, "disabled": true }, { "parameters": { "pollTimes": { "item": [ { "mode": "everyMinute" } ] }, "triggerOn": "specificFolder", "folderToWatch": { "__rl": true, "value": "1GjsCDFUN-Od6e7z8oYIQ6aylEpxZDGaP", "mode": "list", "cachedResultName": "N8N", "cachedResultUrl": "https://drive.google.com/drive/folders/1GjsCDFUN-Od6e7z8oYIQ6aylEpxZDGaP" }, "event": "fileCreated", "options": {} }, "type": "n8n-nodes-base.googleDriveTrigger", "typeVersion": 1, "position": [ -1312, 1368 ], "id": "0c4eb87a-e838-45ad-a625-0845b4e58ac8", "name": "Google Drive Trigger", "credentials": { "googleDriveOAuth2Api": { "id": "js3ZdPwUaIaLYxkc", "name": "Google Drive account 3" } } }, { "parameters": { "assignments": { "assignments": [ { "id": "0a2afccd-f6bc-490c-a904-7257af2b80f1", "name": "post title", "value": "={{ $json.output[\"post title\"] }}", "type": "string" }, { "id": "e3ef496b-3163-44d1-a54b-86369969943d", "name": "post content", "value": "={{ $json.output[\"post content\"] }}", "type": "string" }, { "id": "debd6076-8894-472a-bdb6-be3ac4ca92e6", "name": "image description", "value": "={{ $json.output[\"image description\"] }}", "type": "string" }, { "id": "b5123763-9a38-4092-afca-da025ca42688", "name": "URL", "value": "={{ $('Google Drive Trigger').item.json.webContentLink }}", "type": "string" } ] }, "options": {} }, "type": "n8n-nodes-base.set", "typeVersion": 3.4, "position": [ 64, 1368 ], "id": "8565c206-5675-4b9a-8cb2-dffbb748f0cb", "name": "Edit Fields2" }, { "parameters": { "operation": "download", "fileId": { "__rl": true, "value": "={{ $('Google Drive Trigger').item.json.webViewLink }}", "mode": "url" }, "options": {} }, "type": "n8n-nodes-base.googleDrive", "typeVersion": 3, "position": [ 288, 1368 ], "id": "5f3f8f69-ef05-46d7-84e4-44d8f623e536", "name": "Download file", "credentials": { "googleDriveOAuth2Api": { "id": "js3ZdPwUaIaLYxkc", "name": "Google Drive account 3" } } }, { "parameters": { "promptType": "define", "text": "=AI Tools–Focused Content creator Assistant\n\nYou are a Content creator Assistant at Agentic Vibe, an AI-first automation agency helping solopreneurs, creators, and digital-first founders grow their online presence — especially on LinkedIn — through scalable, hands-free Automation Workflows in n8n.\n\nYour task is to generate high-value content from this Workflow description {{ $json['0'].content[0].text }} This content will later be expanded into full LinkedIn posts by another agent.\n\n\nYour Output :\n\nFor each post, generate:\n\nTopic Title or Core Idea (1 line)\n\nShort Rationale (1–2 sentences explaining why the features in the post matters now)\n\nSuggested Angle or Hook (1 LinkedIn-style framing, insight, or contrarian take)\n\n💡 Style Guide:\n\nInsightful, actionable, and tool-centric\n\nFounder-style energy: confident, sharp, and pragmatic\n\nSlightly contrarian when it adds clarity or cuts through noise\n\nAvoid hype, buzzwords, and vague \"AI will change everything\" takes\n\nFocus on utility, decision-making, and systems-level thinking, not tutorials", "hasOutputParser": true, "options": {} }, "id": "412f38cb-9a32-456b-9213-48c0dbe14878", "name": "Content generator", "type": "@n8n/n8n-nodes-langchain.agent", "position": [ -640, 1264 ], "typeVersion": 2 }, { "parameters": { "promptType": "define", "text": "=You are a linkedin content creator and copywriter. Given the title {{ $json.output[0].title }}, the rationale {{ $json.output[0].rationale }} suggested hook. Generate text content for a linkedin post. \noutput this link with the image description : {{ $('Google Drive Trigger').item.json.webViewLink }}", "hasOutputParser": true, "batching": {} }, "id": "0c7a524c-fc7e-4a1a-b4f4-0110f681349f", "name": "Content creator", "type": "@n8n/n8n-nodes-langchain.chainLlm", "position": [ -288, 1264 ], "typeVersion": 1.7 }, { "parameters": { "operation": "download", "fileId": { "__rl": true, "value": "={{ $json.webViewLink }}", "mode": "url" }, "options": {} }, "type": "n8n-nodes-base.googleDrive", "typeVersion": 3, "position": [ -1088, 1368 ], "id": "7c809eb3-ebd3-4643-9366-26f86208c8b4", "name": "Download file1", "credentials": { "googleDriveOAuth2Api": { "id": "js3ZdPwUaIaLYxkc", "name": "Google Drive account 3" } } } ], "pinData": { "Webhook": [ { "json": { "headers": { "host": "dealhunter.app.n8n.cloud", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36", "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", "accept-encoding": "gzip, br", "accept-language": "en,en-US;q=0.9,fr;q=0.8,ar;q=0.7,no;q=0.6,es;q=0.5", "cache-control": "max-age=0", "cdn-loop": "cloudflare; loops=1; subreqs=1", "cf-connecting-ip": "197.146.186.153", "cf-ew-via": "15", "cf-ipcountry": "MA", "cf-ray": "9bffbf04b33979d0-LHR", "cf-visitor": "{\"scheme\":\"https\"}", "cf-worker": "n8n.cloud", "cookie": "rl_page_init_referrer=RudderEncrypt%3AU2FsdGVkX19diFRHKrlpL%2FDFzyCZ1TkYvOu3t15we3g%3D; rl_page_init_referring_domain=RudderEncrypt%3AU2FsdGVkX1%2BnNAFdf12YkyyGg%2FBoGv17zCMZZw0kAyk%3D; _ga=GA1.1.458098406.1765285520; _fbp=fb.1.1765285520607.265682963330535683; _ga_0SC4FF2FH9=GS2.1.s1768512724$o15$g1$t1768512845$j60$l0$h0; rl_anonymous_id=RudderEncrypt%3AU2FsdGVkX1%2BxNhnDs9ftLOAFPHem9albJ2DT9nZ5pvua1KKweDxhEbPeP%2BjLu7bJ8zhfVSXYnRVNPTQvmiqRtA%3D%3D; rl_user_id=RudderEncrypt%3AU2FsdGVkX18vAd1dabqWjhQzUBh1YerL2QPH2Qw5Rh7wX2jwmahyHTErR%2Fcrn2UHWzYPU91QY%2FGEnM7oyAJUd5ZZTj7EVUFOxQRd9BBUFgVRgtn5C3fiLhlXCPfBrsjRRIvSZSK%2FU9xVZwNHdl%2F2880TANuhj0JoDRREnVwy1eo%3D; rl_trait=RudderEncrypt%3AU2FsdGVkX1%2B7j0zpqbADUnhfWO9GG43YMfANoMH5I6LwZ94wkj7nHu%2BU44JUfn1sYY1pCDYuPXbpKQ9qBs7oLFy8s2Pshe6l3%2F6ec8yH0p1I9w4IP0%2BhkZZSP3A3Xw09ms3nnoSsUqFGRGbC5K%2B1WcSrfQ8HcL4icvSv6aK2wA43NcKZnUsDktWT40duCInbBYlGWenCAIYTpCZnAdGORQ%3D%3D; n8n_anonymous_id=4012803b-d3ac-4be7-b091-6cc338e7407f; rl_session=RudderEncrypt%3AU2FsdGVkX19J%2FzsBxHHOYc0EE7YF6NhUO1uY%2Fweugln6mKbx9TkczUx2uUheirCtaCbdFjLnZcBZrVPlpyQ%2BRMh5HW7meVYG9PYluosY3he9KyU05BFF2ToRNBtSquWdqoTArOPKFXuQTyVRzkIJ5w%3D%3D; ph_phc_4URIAm1uYfJO7j8kWSe0J8lc8IqnstRLS7Jx8NcakHo_posthog=%7B%22%24device_id%22%3A%22019b0508-c2f0-7d20-819b-f07eb5e657a8%22%2C%22distinct_id%22%3A%2223830929e6c018b604abb710d12ca57ce411c63a552f9a21234ab1d153211b0b%23b809288b-7d4d-4a28-9189-e06ad14238b9%22%2C%22%24sesid%22%3A%5B1768756647257%2C%22019bd196-cf8c-7543-8868-c98acaa217b7%22%2C1768747880325%5D%2C%22%24epp%22%3Atrue%2C%22%24initial_person_info%22%3A%7B%22r%22%3A%22%24direct%22%2C%22u%22%3A%22https%3A%2F%2Fdealhunter.app.n8n.cloud%2F%22%7D%7D", "priority": "u=0, i", "referer": "https://www.linkedin.com/", "sec-ch-ua": "\"Not(A:Brand\";v=\"8\", \"Chromium\";v=\"144\", \"Google Chrome\";v=\"144\"", "sec-ch-ua-mobile": "?0", "sec-ch-ua-platform": "\"Windows\"", "sec-fetch-dest": "document", "sec-fetch-mode": "navigate", "sec-fetch-site": "cross-site", "sec-fetch-user": "?1", "upgrade-insecure-requests": "1", "x-forwarded-for": "197.146.186.153, 172.64.192.31", "x-forwarded-host": "dealhunter.app.n8n.cloud", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-forwarded-server": "traefik-prod-users-gwc-81-6b7d5f4f4f-6g9dm", "x-is-trusted": "yes", "x-real-ip": "197.146.186.153" }, "params": {}, "query": { "code": "AQTIaj0CJhxJJSE7BTnb_OG1dD1JXt9pTghr8aozaD9HhfGsQbeoZUUGlVfEjkxzY2pH1Mz4uKYQHcx6pOH0JAcXLThST3sS_wklgR5NodefnI34KfzEA7RYa4HTyBgLY0WHTjNGiJ2IQ2W2RpK3GI4dmsOEwlCPIIRML3_XZPohw3oL6fXVsokCJS9Pgz8NvtNEZ81HTtj5FOLAHl0", "state": "065h0a" }, "body": {}, "webhookUrl": "https://dealhunter.app.n8n.cloud/webhook/a8156809-15c0-4dd8-8cfc-1c50338e0c8f", "executionMode": "production" }, "pairedItem": { "item": 0 } } ] }, "connections": { "Analyze image": { "main": [ [ { "node": "Content generator", "type": "main", "index": 0 } ] ] }, "Structured Output Parser": { "ai_outputParser": [ [ { "node": "Content generator", "type": "ai_outputParser", "index": 0 } ] ] }, "OpenAI Chat Model3": { "ai_languageModel": [ [ { "node": "Content generator", "type": "ai_languageModel", "index": 0 } ] ] }, "OpenAI Chat Model4": { "ai_languageModel": [ [ { "node": "Content creator", "type": "ai_languageModel", "index": 0 } ] ] }, "Structured Output Parser3": { "ai_outputParser": [ [ { "node": "Content creator", "type": "ai_outputParser", "index": 0 } ] ] }, "Create a post": { "main": [ [] ] }, "Webhook": { "main": [ [ { "node": "Edit Fields1", "type": "main", "index": 0 } ] ] }, "Edit Fields1": { "main": [ [ { "node": "Get Access Token", "type": "main", "index": 0 } ] ] }, "Get Access Token": { "main": [ [ { "node": "HTTP Request1", "type": "main", "index": 0 } ] ] }, "Google Drive Trigger": { "main": [ [ { "node": "Download file1", "type": "main", "index": 0 } ] ] }, "Edit Fields2": { "main": [ [ { "node": "Download file", "type": "main", "index": 0 } ] ] }, "Download file": { "main": [ [ { "node": "Create a post", "type": "main", "index": 0 } ] ] }, "Content generator": { "main": [ [ { "node": "Content creator", "type": "main", "index": 0 } ] ] }, "Content creator": { "main": [ [ { "node": "Edit Fields2", "type": "main", "index": 0 } ] ] }, "Download file1": { "main": [ [ { "node": "Analyze image", "type": "main", "index": 0 } ] ] } }, "active": false, "settings": { "executionOrder": "v1", "availableInMCP": false }, "versionId": "fc01501c-d80a-443c-b069-cca9585aa5c7", "meta": { "templateCredsSetupCompleted": true, "instanceId": "23830929e6c018b604abb710d12ca57ce411c63a552f9a21234ab1d153211b0b" }, "id": "XrvsKGmM8c65oMTB", "tags": [] }